postgresql and debian

From: Date: Fri, 20 Jul 2001 16:13:10 +0000
Subject: postgresql and debian
Groups: php.install 
Request: Send a blank email to php-install+get-3638@lists.php.net to get a copy of this message
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

« previous php.install (#3638) next »