[PHP-INST] php 4.1.2 & Apache 2
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:[EMAIL PROTECTED] Web: <http://www.heanet.ie> -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-INST] make error
Your using 64 bit libraries whilst LD_LIBRARY_PATH points to the 32 bit libraries? If so, you will need to build 64-bit versions of the necessary libraries. regards, Warren Warren Daly - Network Engineer HEAnet Ltd. Brooklawn House, Crampton Avenue, Shelbourne Rd, Dublin 4, Ireland. Tel:+353-1-660 9040 Fax:+353-1-660 3666 <mailto:[EMAIL PROTECTED]> Web: <<http://www.heanet.ie>> -Original Message- From: Eicke Felipe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 11:36 AM To: php-install Subject: [PHP-INST] make error Hi Folks The following error appear when I try to make php: ld: fatal: file /usr/local/db/install/Oracle.9i.rel2/lib/libclntsh.so: wrong ELF class: ELFCLASS64 ld: fatal: file /usr/local/db/install/Oracle.9i.rel2/lib/libclntsh.so: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to sapi/cli/php collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 My configure is: ./configure --with-apache=/usr/share/apache --with-oracle=/usr/share/oracle --with-oci8 Could anybody help me? smime.p7s Description: application/pkcs7-signature