Re: [PHP-DEV] PHP 4 PostgreSQL module From: Dominic J. Eidson (sauron <email protected>)
Date: 11/20/99

On Fri, 19 Nov 1999, Dominic J. Eidson wrote:

> On Sat, 20 Nov 1999, Andi Gutmans wrote:
>
> > Can someone who uses CVS and PostgreSQL regulary check that my latest
> > patches didn't break the UNIX compile.
>
> Just checked out approx. 30 minutes ago - compile went fine, and it's
> still running like a dream.

Umm - I realised after I had sent this message that there is indeed a
compiling problem with pgsql and the CVS versions of php 4.0... It does
not properly detect the presense of PQcmdtuples() - and so doesn't compile
in support for it... somehow it doesn't define HAVE_PQCMDTUPLES.

I've been fixing this the quick-and-dirty way - by removing the #ifdef ..
#else - stuff, but this is no the right way to do it.

PHP 4.0b4-latest cvs
PostgreSQL 6.4.2

./configure --with-pgsql --with-apache=../apache_1.3.9 --enable-track-vars
--with-gd=/home/sauron/mrtg/gd1.3 --with-zlib --enable-debug
--enable-debugger

-- 
Dominic J. Eidson
                                         "Baruk Khazad! Khazad ai-menu!" - Gimli
--------------------------------------------------------------------------------
http://www.the-infinite.org/               http://www.the-infinite.org/~dominic/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>