Re: Problem compiling pgsql and php (Semi OT)

From: Date: Tue, 31 Jul 2001 15:52:03 +0000
Subject: Re: Problem compiling pgsql and php (Semi OT)
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10934@lists.php.net to get a copy of this message
ok . i've had this problem and fixed it thus: --with-pgsql=/path/to/unzipped/files e.g. --with-pgsql=/usr/src/postgresql7.1.1/ and it works, and has done for the last seven months. rasmus bit my head off though when i suggested it though so ssssshhhhh. Steve "Matt Williams" <matt@yewlands.com> wrote in message news:BKEBLPOMMAKCLHIBKBOEOEHPEAAA.matt@yewlands.com... > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all > > I'm trying to add support for pgsql to my current setup. > Everything (php 4.0.4, pgsql 7.1.1, apache 1.3.19) is compiled from > source. > Postgres is working fine on its own. > > Postgres is installed to /usr/local/pgsql > I've tried compiling with > - --with-pgsql > - --with-pgsql=/usr/local/pgsql > > but each time I get the same error when I run make. The error is > > php_pgsql.h:32 postgres.h No such file or directory > make[3]: *** [pgsql.lo]Error 1 > make[3]: Leaving current directory > '/usr/local/src/php-4.0.4pl1/ext/pgsql' > > > I seem to remember when I install postgres onto nother machine using > RPM I had to add pgsql_devel but I don't know to do this compiling > postgres from source. Trawling through the manual and archives has > sofar proved fruitless. > > Any help will be gratefully appreciated > > TIA > M@ > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 7.0.3 for non-commercial use > <http://www.pgp.com> > > iQA/AwUBO2bJ/qW0/zC+QxWwEQIkXACfXt7RAVI1JMkt5I3K01b+pur3cLkAoLZt > CacpMr4hD8IO+UpXwEYNamSf > =VZof > -----END PGP SIGNATURE----- >

« previous php.db (#10934) next »