php compile error
| From: | Jonas Geiregat | Date: | Sun, 29 Sep 2002 00:54:04 +0000 |
| Subject: | php compile error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8604@lists.php.net to get a copy of this message | ||
I'm trying to compile php as apache module
Code:
./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-path=/wwwroot/php --with-mysql
gives me no errors
then I run make
Code:
make[4]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml/expat'
make[3]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml/expat'
make[3]: Binnengaan van map `/usr/src/php-4.2.3/ext/xml'
make[3]: Niets te doen voor `all-p'.
make[3]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml'
make[2]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml'
make[1]: Weggaan uit map `/usr/src/php-4.2.3/ext'
Making all in sapi
make[1]: Binnengaan van map `/usr/src/php-4.2.3/sapi'
Making all in apache2filter
make[2]: Binnengaan van map `/usr/src/php-4.2.3/sapi/apache2filter'
make[3]: Binnengaan van map `/usr/src/php-4.2.3/sapi/apache2filter'
/bin/sh /usr/src/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/usr/src/php-4.2.3/sapi/apache2filter -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 -I/wwwroot/include -I/usr/src/php-4.2.3/Zend -I/usr/src/php-4.2.3/ext/mysql/libmysql -I/usr/src/php-4.2.3/ext/xml/expat -D_REENTRANT -I/usr/src/php-4.2.3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Fout 1
make[3]: Weggaan uit map `/usr/src/php-4.2.3/sapi/apache2filter'
make[2]: *** [all-recursive] Fout 1
make[2]: Weggaan uit map `/usr/src/php-4.2.3/sapi/apache2filter'
make[1]: *** [all-recursive] Fout 1
make[1]: Weggaan uit map `/usr/src/php-4.2.3/sapi'
make: *** [all-recursive] Fout 1
what could be my probleme ?