php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15759 pgsql.c void value not ignored as it ought to be
Submitted: 2002-02-27 05:25 UTC Modified: 2002-04-13 12:36 UTC
From: pdon at uia dot ua dot ac dot be Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.1 OS: Solaris 2.8
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: pdon at uia dot ua dot ac dot be
New email:
PHP Version: OS:

 

 [2002-02-27 05:25 UTC] pdon at uia dot ua dot ac dot be
Downloaded Apache_1.3.23, PHP_4.1.1 (=matest versions)
Env. vars set:
INFORMDIR=/home/informix2000
PATH=/home/informix2000/bin:$PATH
LD_LIBRARY_PATH=/home/informix2000/lib/esql:$LD_LIBRARY_PATH
LIBRARY_PATH=/home/informix2000/lib/esql:$LIBRARY_PATH
SQLEXEC=
export INFORMIXDIR PATH LD_LIBRARY_PATH LIBRARY_PATH SQLEXEC

Unpacked apache-1.3.23, did a 
# ./configure --prefix=/usr/local/apache_1323

Unpacked php_4.1.1, did a
# ./configure --with-apache=/home/wins/cosslocal/src/other/apache_1.3.23 \
       --with=pgsql \
       --with-informix=/home/informix2000 \
       --enable-yp

(we have PGSQL in /usr/local/pgsql and INFORMIX2000
up and running)

then did a
# make
...
at the gcc compile of pgsql.c I get:
pgsql.c: In function 'zif_pg_put_line':
pgsql.c:849: void value not ignored as it ought to be
make[3]: *** [pgsql.lo] Error 1
...

I didn't have that error with our previous
apache_1.3.14 and PHP4.0.4pl1 compilation (with the
same PGSQL and INFORMIX2000)

At line 849 in pgsql.c I don't find zif_pg_put_line,
substring 'zif' is nowhere in pgsql.c ...

Pieter


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-28 03:28 UTC] yohgaki@php.net
You have something wrong in your libpq.

The line contains something like 
result = PQputline(.....);
and PQputline's prototype is 
int PQputline(PGconn *conn, const char *string);

What is your libpq version? (PostgreSQL version?)
 [2002-02-28 04:44 UTC] pdon at uia dot ua dot ac dot be
My PostgreSQL is indeed rather old (version 6.3.2)
but so far it always worked well.

A newer version (7.2 latest) will probably force me
to setup a new database of users etc...

Would there be another work arround ?

Pieter
 [2002-04-13 12:36 UTC] yohgaki@php.net
Pieter,

Sorry, it does not make sense to support PostgreSQL 6.3.x for PHP 4.1.x or later... Even 6.5.3 has critical bug, AFAIK. I strongly suggest you to upgrade to 7.0.3, at least.

If you send patch against CVS version, I might apply if it does not anything bad to newer releases.

--
Yasuo


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 07:00:02 2025 UTC