The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000372
======================================================================
Reporter: stephaneeybert
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 372
Category: Installation
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Operating System: Kubuntu 8.04
PHP Version: 4.3.11
Xdebug Version: 2.0.3
Resolution: fixed
======================================================================
Date Submitted: 2008-05-05 00:00 CEST
Last Modified: 2008-05-05 09:08 CEST
======================================================================
Summary: Cannot compile xdebug. make gives error 1.
Description:
Dear all,
I tried to install xdebug 2.0.3 from source on Kubuntu 8.04 with
php-4.3.11 sitting in /home/stephane/programs/install
I have the gcc
gcc --version
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
I ran the following command:
./configure --enable-xdebug --prefix=/home/stephane/programs/install
--with-php-config=/home/stephane/programs/install/bin/php-config
Then I did a make and got
/bin/bash /home/stephane/programs/xdebug-2.0.3/libtool --mode=compile gcc
-I. -I/home/stephane/programs/xdebug-2.0.3 -DPHP_ATOM_INC
-I/home/stephane/programs/xdebug-2.0.3/include
-I/home/stephane/programs/xdebug-2.0.3/main
-I/home/stephane/programs/xdebug-2.0.3
-I/home/stephane/programs/install/include/php
-I/home/stephane/programs/install/include/php/main
-I/home/stephane/programs/install/include/php/TSRM
-I/home/stephane/programs/install/include/php/Zend -DHAVE_CONFIG_H -g
-O0 -c /home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c -o
xdebug_code_coverage.lo
gcc -I. -I/home/stephane/programs/xdebug-2.0.3 -DPHP_ATOM_INC
-I/home/stephane/programs/xdebug-2.0.3/include
-I/home/stephane/programs/xdebug-2.0.3/main
-I/home/stephane/programs/xdebug-2.0.3
-I/home/stephane/programs/install/include/php
-I/home/stephane/programs/install/include/php/main
-I/home/stephane/programs/install/include/php/TSRM
-I/home/stephane/programs/install/include/php/Zend -DHAVE_CONFIG_H -g -O0
-c /home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c -fPIC
-DPIC -o xdebug_code_coverage.lo
/home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c: In function
'xdebug_find_jump':
/home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c:148: error:
'union <anonymous>' has no member named 'jmp_addr'
/home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c: In function
'prefill_from_oparray':
/home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c:233: warning:
assignment makes pointer from integer without a cast
/home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c: In function
'prefill_from_function_table':
/home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c:272: warning:
comparison between pointer and integer
/home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c: In function
'xdebug_prefill_code_coverage':
/home/stephane/programs/xdebug-2.0.3/xdebug_code_coverage.c:312: warning:
comparison between pointer and integer
make: *** [xdebug_code_coverage.lo] Error 1
======================================================================
----------------------------------------------------------------------
derick - 2008-05-05 09:08 CEST
----------------------------------------------------------------------
This is fixed in CVS already, but you should seriously consider upgrading
PHP. PHP 4.3.11 has both security issues and is just generally really old
(more than 3 years).
Bug History
Date Modified Username Field Change
======================================================================
2008-05-05 00:00stephaneeybert New Bug
2008-05-05 00:00stephaneeybert Bug Monitored: stephaneeybert
2008-05-05 09:08derick Bugnote Added: 0000850
2008-05-05 09:08derick Assigned To => derick
2008-05-05 09:08derick Resolution open => fixed
2008-05-05 09:08derick Status new => resolved
======================================================================
Received on Mon May 05 2008 - 09:08:07 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST