#19066 [Opn->Fbk]: The make command fails consistently on the sapi/apache2filter

From: Date: Fri, 23 Aug 2002 11:12:53 +0000
Subject: #19066 [Opn->Fbk]: The make command fails consistently on the sapi/apache2filter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17629@lists.php.net to get a copy of this message
ID: 19066 Updated by: derick@php.net Reported By: stephaneeybert@hotmail.com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Linux Mandrake 8.2 PHP Version: 4.2.2 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-08-23 07:11:38] stephaneeybert@hotmail.com I'm installing PHP 4.2.2 on Linux Mandrake 8.2 running Apache 2.0.40. I unpacked the file php-4.2.2.tar.gz then untarred it. I ran the command: ./configure \ --with-apxs2=/usr/local/apache/bin/apxs \ --enable-track-vars \ --with-mysql=/usr/local/mysql-3.23.52-pc-linux-gnu-i686 \ --with-gd=/usr/local/gd-1.8.4 It went fine. I ran the commands: make clean make The make produced the following message: make[1]: Leaving directory `/usr/local/php-4.2.2/ext' Making all in sapi make[1]: Entering directory `/usr/local/php-4.2.2/sapi' Making all in apache2filter make[2]: Entering directory `/usr/local/php-4.2.2/sapi/apache2filter' make[3]: Entering directory `/usr/local/php-4.2.2/sapi/apache2filter' /bin/sh /usr/local/php-4.2.2/libtool --silent --mode=compile gcc -I. -I/usr/local/php-4.2.2/sapi/apache2filter -I/usr/local/php-4.2.2/main -I/usr/local/php-4.2.2 -I/usr/local/apache/include -I/usr/local/php-4.2.2/Zend -I/usr/local/gd-1.8.4/ -I/usr/local/mysql-3.23.52-pc-linux-gnu-i686/include -I/usr/local/php-4.2.2/ext/xml/expat -D_REENTRANT -I/usr/local/php-4.2.2/TSRM -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter' makes pointer from integer without a cast sapi_apache2.c:534: too few arguments to function `ap_register_output_filter' sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter' makes pointer from integer without a cast sapi_apache2.c:535: too few arguments to function `ap_register_input_filter' make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/usr/local/php-4.2.2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php-4.2.2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-4.2.2/sapi' make: *** [all-recursive] Error 1 It looks like a type casting error. Regards Stephane ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19066&edit=1

« previous php.bugs (#17629) next »