Command failed for target
| From: | Warren Daly | Date: | Thu, 04 Apr 2002 10:45:59 +0000 |
| Subject: | Command failed for target | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91502@lists.php.net to get a copy of this message | ||
HI,
I am running a Sun Ultra 10 with Solaris 8 installed. I have installed
Apache V2.0.32. It works fine. (IPV6 is great :-)
Now I require PHP 4 support so I downloaded PHP 4.1.2 so I run
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql
it configures fine. but when I make I get the error below :( please help!!
thanks, Warren
Making all in apache2filter
/bin/sh /home/root/php-4.1.2/libtool --silent --mode=compile
/home/root/php-4.1.2/meta_ccld -I.
-I/home/root/php-4.1.2/sapi/apache2filter -I/home/root/php-4.1.2/main
-I/home/root/php-4.1.2 -I/usr/local/apache2/include
-I/home/root/php-4.1.2/Zend -I/usr/local/mysql/include
-I/home/root/php-4.1.2/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/home/root/php-4.1.2/TSRM -g -O2
-pthreads -DZTS -prefer-pic -c sapi_apache2.c
sapi_apache2.c: In function `php_apache_sapi_register_variables':
sapi_apache2.c:148: warning: initialization discards qualifiers from pointer
target type
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:247: incompatible type for argument 4 of `ap_get_brigade'
sapi_apache2.c:247: too few arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter'
from incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `sapi_apache2.lo'
Current working directory /home/root/php-4.1.2/sapi/apache2filter
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/root/php-4.1.2/sapi/apache2filter
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/root/php-4.1.2/sapi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Warren Daly HEAnet Ltd.
Network Engineer Brooklawn House,
Tel:+353-1-660 9040 Crampton Avenue,
Fax:+353-1-660 3666 Shelbourne Rd,Dublin 4.
mailto:warren.daly@heanet.ie
Web: <http://www.heanet.ie>