ID:               15759
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 2.8
 PHP Version:      4.1.1
 New Comment:

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?)


Previous Comments:
------------------------------------------------------------------------

[2002-02-27 05:25:22] [EMAIL PROTECTED]

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



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15759&edit=1

Reply via email to