php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8970 Cannot compile PHP 4.0.4pl1 w/ pgsql
Submitted: 2001-01-28 17:39 UTC Modified: 2001-06-03 23:41 UTC
From: erikb at netnation dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.4pl1 OS: Slackware Version 3.1.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: erikb at netnation dot com
New email:
PHP Version: OS:

 

 [2001-01-28 17:39 UTC] erikb at netnation dot com
Using the following commands:

./configure --with-gd=/usr/local/gd/ \
	--with-mysql \
	--with-pgsql \
	--with-xml \
	--with-zlib \
	--enable-memory-limit \
	--enable-force-cgi-redirect
make

the compile fails with the following output:

Making all in pgsql
make[2]: Entering directory `/g/src/php/php-4.0.4pl1/ext/pgsql'
make[3]: Entering directory `/g/src/php/php-4.0.4pl1/ext/pgsql'
gcc  -I. -I/g/src/php/php-4.0.4pl1/ext/pgsql -I/g/src/php/php-4.0.4pl1/main -I/g/src/php/php-4.0.4pl1 -I/g/src/php/php-4.0.4pl1/Zend -I/usr/local/gd/ -I/g/src/php/php-4.0.4pl1/ext/mysql/libmysql -I/g/src/php/php-4.0.4pl1/ext/xml/expat/xmltok -I/g/src/php/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/local/include -I/g/src/php/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include -DXML_BYTE_ORDER=12 -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
make[3]: *** [pgsql.lo] Error 1
make[3]: Leaving directory `/g/src/php/php-4.0.4pl1/ext/pgsql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/g/src/php/php-4.0.4pl1/ext/pgsql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/g/src/php/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-23 14:43 UTC] sniper@php.net
Does this happen with PHP 4.0.5 too?
And if it does, what is the version of Postgresql you have?

--Jani
 
 [2001-06-03 23:41 UTC] sniper@php.net
This should be fixed in PHP 4.0.6R. Please try the 
latest release candidate from:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 10:01:28 2025 UTC