Bug #17903 Updated: problem with php_function.c

From: Date: Thu, 25 Jul 2002 16:56:13 +0000
Subject: Bug #17903 Updated: problem with php_function.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15210@lists.php.net to get a copy of this message
ID: 17903 Updated by: a.p.mcdermott@rl.ac.uk Reported By: ab@msedv.at Status: Closed Bug Type: *Compile Issues Operating System: linux PHP Version: 4.2.1 New Comment: Just discovered this bug myself today and fixed the file as per the instructions contained here. As with the original poster we used the configure option --with-apxs2. However (a) we are using Solaris 8 so it is not an OS specific bug and (b) we have downloaded php 4.2.2 (as the posting here predates the release I would have expected the fix mentioned here to have been merged into 4.2.2). Could you confirm that it really has been committed to CVS and that the change to php_function.c will be seen in future releases of php, please? Previous Comments: ------------------------------------------------------------------------ [2002-06-22 04:21:50] derick@php.net This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-06-21 18:42:56] kcarmich@ipapp.com line 93 of php-4.2.1/sapi/apache2filter/php_functions.c should read #if !AP_MODULE_MAGIC_AT_LEAST(20020506,0) the old definition of MODULE_MAGIC_AT_LEAST has been altered to force people to update their code to use the new proper macro. ------------------------------------------------------------------------ [2002-06-21 15:22:56] ab@msedv.at yea' i've read this in a report before, but the funny thing is, that there is no line like that, or send me to the doctor... ------------------------------------------------------------------------ [2002-06-21 15:16:17] kcarmich@ipapp.com #if !MODULE_MAGIC_AT_LEAST should be #if !AP_MODULE_MAGIC_AT_LEAST ------------------------------------------------------------------------ [2002-06-21 12:08:36] ab@msedv.at Hi, Yesterday I was on the way to install a new lamp system. BUT during the compilation of php 4.2.1 a problem came up. ich compiled php with the configure command: --with-apxs2.... and got this: /bin/sh /tmp/source/php-4.2.1/libtool --silent --mode=compile gcc -I. -I/tmp/source/php-4.2.1/sapi/apachefilter -I/tmp/source/php-4.2.1/main -I/tmp/source/php-4.2.1 -I/usr/local/apache/2.0.39/include -I/tmp/source/php-4.2.1/Zend -I/temp/source/php-4.2.1/ext/mysql/libmysql -I/temp-source/php-4.2.1/etc/xml/expat -D_REENTRANT -I/tmp/source/php-4.2.1/TSRM -DTHREAD=1 -g -02 -pthread -DZTS -prefer-pic -c php_functions.c php_functions.c:93:27: missing binary operator before '!' make[3]: *** [php_functions.lo] Error 1 make[3]: Leaving directory '/tmp/source/php-4.2.1/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/tmp/source/php-4.2.1/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/source/php-4.2.1/sapi' make: *** [all-recursive] Error 1 now: what's the matter? excuse me sir, but there is no line 93 in my php_functions.c file - i hope i can read error-msgs :-) - can you help me please ?!! mfg alex braumann. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17903&edit=1

« previous php.bugs (#15210) next »