Hello all,
Since the PHP mailinglists are currently down I thought maybe someone around here could solve this problem.
I'm trying to compile the latest stable PHP (4.0.5) with Postgress (also the latest, 7.1.2) support. Oh yeah, I'm running Linux 2.4.3 with glibc-2.1 and gcc 2.95.3
I configured using this cmdline:
./configure --with-pgsql --without-mysql --with-openssl --with-apxs2=[location of apxs here]
While compiling I get this error message:
make[3]: Entering directory /home/wilke/installme/php-4.0.5/ext/pgsql' /bin/sh /home/wilke/installme/php-4.0.5/libtool --silent --mode=compile gcc -I. -I/home/wilke/installme/php-4.0.5/ext/pgsql -I/home/wilke/installme/php-4.0.5/main -I/home/wilke/installme/php-4.0.5 -I/usr/local/httpd//include -I/home/wilke/installme/php-4.0.5/Zend -I/home/wilke/installme/php-4.0.5/ext/xml/expat/xmltok -I/home/wilke/installme/php-4.0.5/ext/xml/expat/xmlparse -I/home/wilke/installme/php-4.0.5/TSRM -I/usr/local/pgsql/include -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -I../TSRM -g -O2 -pthread -c pgsql.c pgsql.c: In functionnotice_handler': pgsql.c:158: warning: passing arg 1 of php_log_err' discards qualifiers from pointer target type pgsql.c: In functionrollback_transactions': pgsql.c:167: pgsql_globals' undeclared (first use in this function) pgsql.c:167: (Each undeclared identifier is reported only once pgsql.c:167: for each function it appears in.) make[3]: *** [pgsql.lo] Error 1 make[3]: Leaving directory/home/wilke/installme/php-4.0.5/ext/pgsql'
Does anyone understand why this happens and how it can be solved?