Hello list
After digging unsuccessfully in the archives, I ask my question here..
I try to compile PHP 4.0.6 with PostgreSQL support.
I compiled Apache 1.3.14 without problem.
PostgreSQL (7.0.3) complained about C++ (cannot make executables), but it
was fixed with a ./configure --without-CXX
For PHP, the ./configure looks like being successful.
But when I make, I have this error:
Making all in pgsql
make[2]: Entering directory `/root/archives/php/php-4.0.6/ext/pgsql'
make[3]: Entering directory `/root/archives/php/php-4.0.6/ext/pgsql'
/bin/sh /root/archives/php/php-4.0.6/libtool --silent --mode=compile gcc
-I.
-I/root/archives/php/php-4.0.6/ext/pgsql -I/root/archives/php/php-4.0.6/main
-I/root/archives/php/php-4.0.6 -I/usr/local/apache/include
-I/root/archives/php/php-4.0.6/Zend
-I/root/archives/php/php-4.0.6/ext/mysql/libmysql
-I/root/archives/php/php-4.0.6/ext/xml/expat/xmltok
-I/root/archives/php/php-4.0.6/ext/xml/expat/xmlparse
-I/root/archives/php/php-4.0.6/TSRM -I/usr/local/pgsql//include -DLINUX=2
-DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c
pgsql.c
In file included from php_pgsql.h:32,
from pgsql.c:33:
libpq-fe.h:349: warning: `palloc' redefined
/usr/local/pgsql/include/utils/palloc.h:29: warning: this is the location of
the previous definition
libpq-fe.h:350: warning: `pfree' redefined
/usr/local/pgsql/include/utils/palloc.h:30: warning: this is the location of
the previous definition
pgsql.c: In function `php_if_pg_put_line':
pgsql.c:814: void value not ignored as it ought to be
make[3]: *** [pgsql.lo] Error 1
make[3]: Leaving directory `/root/archives/php/php-4.0.6/ext/pgsql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/archives/php/php-4.0.6/ext/pgsql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/archives/php/php-4.0.6/ext'
make: *** [all-recursive] Error 1
Well, any idea, clue, direction, will be appreciated !
Best regards
--
François THOMAS
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]