PHP-4.0.4pl1 with --with-pgsql problem
| From: | Pieter.Donche | Date: | Fri, 26 Jan 2001 10:26:41 +0000 |
| Subject: | PHP-4.0.4pl1 with --with-pgsql problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1815@lists.php.net to get a copy of this message | ||
Hi,
I have a problem with PHP-4.0.4pl1 when building support for
PostgreSQL. In september I succeeded compiling in PostgresQL
support in PHP-4.0.2 and making an Apache_1.3.12.
Now with PHP-4.0.4pl1 I get an error when make'ing PHP with
PostgreSQL support
My configuration is:
./configure --with-apache=$SOURCETOPDIR/$APACHE_VER \
--without-mysql \
--with-pgsql
Our PostgreSQL is 6.3.2 and we are using it for a long time already
with previous Apache versions (also with 1.3.12). It's installed in
/usr/local/pgsql which is also the default place where PHP looks for it.
Make'ing PHP aborts with:
...
gcc -I. -I/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/pgsql
-I/home/wins/cosslocal/src/other/php-4.0.4pl1/main -I/home/wins/cosslocal/src/other/php-4.0.4pl1
-I/home/wins/cosslocal/src/other/apache_1.3.14/src/include
-I/home/wins/cosslocal/src/other/apache_1.3.14/src/os/unix
-I/home/wins/cosslocal/src/other/php-4.0.4pl1/Zend
-I/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/xml/expat/xmltok
-I/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/xml/expat/xmlparse
-I/home/wins/cosslocal/src/other/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include
-D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c pgsql.c && touch pgsql.lo
pgsql.c: In function `php_if_pg_put_line':
pgsql.c:750: void value not ignored as it ought to be
gmake[3]: *** [pgsql.lo] Error 1
gmake[3]: Leaving directory `/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/pgsql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/wins/cosslocal/src/other/php-4.0.4pl1/ext/pgsql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/wins/cosslocal/src/other/php-4.0.4pl1/ext'
gmake: *** [all-recursive] Error 1
Has anyone experienced the same error ?
Any idea what is going on?
Pieter
_______________
/ Pieter Donche \____________________________________________
| I.T. Manager e-mail Pieter.Donche@ua.ac.be \
| Dept. Mathem. & Computer Science tel +32(0)3/820.24.29 |
| University of Antwerp, room A2.23 fax +32(0)3/820.24.21 |
| (UIA) Universiteitsplein 1, B 2610 Wilrijk, BELGIUM (EU) |
|____________________________________________________________|