#19066 [NEW]: The make command fails consistently on the sapi/apache2filter
| From: | stephaneeybert at hotmail dot com | Date: | Fri, 23 Aug 2002 11:11:39 +0000 |
| Subject: | #19066 [NEW]: The make command fails consistently on the sapi/apache2filter | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-17628@lists.php.net to get a copy of this message | ||
From: stephaneeybert@hotmail.com
Operating system: Linux Mandrake 8.2
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: The make command fails consistently on the sapi/apache2filter
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 bug report at http://bugs.php.net/?id=19066&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19066&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19066&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19066&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19066&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19066&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19066&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19066&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19066&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19066&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19066&r=globals