View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000058XdebugInstallationpublic2004-04-06 22:342004-04-18 01:36
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000058: 1.3.1 won't compile on RH9
DescriptionThis may be "bogus" to you (sorry), but I first heard of your package today and am interested in trying it out. I have tried this on two different RH9 installations (one fairly stock, the other a very up-to-date workstation)without success. I could try to figure it out myself, but
until I get hooked on xdebug I'm lacking enough incentive to hack at it.

I followed the instructions in README. Note the errors from make. I performed (as a non-root user):
$ phpize
$ ./configure --enable-xconfig
$ make
/bin/sh /work/xdebug-1.3.1/libtool --mode=compile gcc -I.
-DPHP_ATOM_INC -I/work/xdebug-1.3.1/include -I/work/xdebug-1.3.1/main
-I/work/xdebug-1.3.1 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/Zend
-I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -prefer-pic -c
/work/xdebug-1.3.1/xdebug.c -o xdebug.lo
gcc -I. -I/work/xdebug-1.3.1 -DPHP_ATOM_INC -I/work/xdebug-1.3.1/include
-I/work/xdebug-1.3.1/main -I/work/xdebug-1.3.1 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/Zend
-I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c
/work/xdebug-1.3.1/xdebug.c -fPIC -DPIC -o xdebug.lo
In file included from /work/xdebug-1.3.1/xdebug_var.h:20,
                 from /work/xdebug-1.3.1/xdebug.c:55:
/work/xdebug-1.3.1/php_xdebug.h:66: warning: parameter names (without
types) in
function declaration
/work/xdebug-1.3.1/php_xdebug.h:66: warning: data definition has no type
or storage class
/work/xdebug-1.3.1/xdebug.c:125: `xdebug' undeclared here (not in a
/work/xdebug-1.3.1/xdebug.c:125: initializer element is not constant
/work/xdebug-1.3.1/xdebug.c:125: (near initialization for
make: *** [xdebug.lo] Error 1

Obviously I'm doing a clean install, here.
Additional Informationxdebug is 1.3.1 (not offered in dropdown list)
TagsNo tags attached.
Operating System
PHP Version5.0.0-dev
Attached Files

- Relationships

-  Notes
derick (administrator)
2004-04-06 22:46

You need to have a more recent version of PHP 5, preferrably the latest CVS version as this one has some API changes on which Xdebug depends. Please let me know if that fixes your problem.
derick (administrator)
2004-04-07 10:13

Reminder sent to elambart

Did the latest CVS version of PHP 5 help?
elambart (reporter)
2004-04-07 19:36

Nope, I got the PHP5-CVS version yesterday (and installed it). Just tried to re-make xdebug here, now. Exact same error. I even did it from scratch:
rm -rf'd the xdebug directory, re-untarred the .tgz, phpize, ./configure --enable-xdebug, make...

Do you require that PHP be configured with certain extensions/settings?

and yes, php-config is in the path.
derick (administrator)
2004-04-10 12:37

This error can only exist if you don't have the PHP 5 headers correctly installed (as the code it tries to use does only exist in recent PHP 5 sources). Are you sure you did to a "make install" after the make of PHP 5?

After that go to the xdebug source dir and do:

phpize && ./configure && make clean && make

that should compile just fine (as it does for me).
elambart (reporter)
2004-04-14 23:36

Thanks, Derick.
Tried that but no luck. Maybe my snapshot is too old. PHP headers are installed in /usr/local/include/php

[eric@Linux2 php5-200404062030]$ grep -ir ZEND_MODULE_EXEC_FINISHED_D *.[ch]
[eric@Linux2 php5-200404062030]$

I'll go get a new one.
elambart (reporter)
2004-04-14 23:53

Still no luck! claims to have the "Latest CVS" snapshots, but...

[eric@Linux2 xdebug-1.3.1]$ grep -ir ZEND_MODULE_EXEC_FINISHED_D *.[ch]

[eric@Linux2 php5-200404141230]$ grep -ir ZEND_MODULE_EXEC_FINISHED_D *.[ch]
derick (administrator)
2004-04-18 01:36


you were right indeed, I forgot to merge this from the HEAD branch in cvs to 1.3.x. It's now fixed in CVS ( [^]).


- Issue History
Date Modified Username Field Change
2004-04-06 22:34 elambart New Issue
2004-04-06 22:46 derick Note Added: 0000117
2004-04-06 22:46 derick Severity block => trivial
2004-04-06 22:46 derick Status new => feedback
2004-04-07 10:13 derick Note Added: 0000118
2004-04-07 19:36 elambart Note Added: 0000119
2004-04-10 12:37 derick Xdebug Version 1.3.0 => 1.3.1
2004-04-10 12:37 derick Note Added: 0000122
2004-04-14 23:36 elambart Note Added: 0000123
2004-04-14 23:53 elambart Note Added: 0000124
2004-04-18 01:36 derick Status feedback => closed
2004-04-18 01:36 derick Note Added: 0000125

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker