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 ?


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to