Bug #17864 Updated: Won't compile with Apache2

From: Date: Thu, 20 Jun 2002 05:43:32 +0000
Subject: Bug #17864 Updated: Won't compile with Apache2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11504@lists.php.net to get a copy of this message
ID: 17864 Updated by: sniper@php.net Reported By: davidd@datasphereweb.com -Status: Closed +Status: Bogus Bug Type: *Compile Issues Operating System: FreeBSD 4.6RC PHP Version: 4.2.1 New Comment: I guess reading the information given at the report page is not in fashion anymore.. Previous Comments: ------------------------------------------------------------------------ [2002-06-20 01:42:42] sniper@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-20 01:40:14] davidd@datasphereweb.com I recently upgraded my Apache2 to the newest 2.0.39 in order to fix the recent Apache security exploit. I installed this from the ports collection after CVSuping this afternoon. I then tried to restart Apache and got some weird error that I don't remember the exact text from. Something about a sapi something or other being out of date. It was something PHP related. Anyways, I tried to install the latest PHP from the ports, 4.2.1, using 'make -WITH_APACHE2=YES' and I get the following error: Making all in apache2filter /bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile cc -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/include -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xml/expat -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O -pipe -I/usr/local/include -pthread -DZTS -prefer-pic -c sapi_apache2.c /bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile cc -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/include -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xml/expat -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O -pipe -I/usr/local/include -pthread -DZTS -prefer-pic -c apache_config.c /bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile cc -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/include -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xml/expat -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O -pipe -I/usr/local/include -pthread -DZTS -prefer-pic -c php_functions.c php_functions.c:93: syntax error *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.2.1. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 I took out the 3 lines from php_functions.c that it was puking on and it seemed to compile and work fine. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17864&edit=1

« previous php.bugs (#11504) next »