i've had this problem and fixed it thus:
and it works, and has done for the last seven months.
rasmus bit my head off though when i suggested it though so ssssshhhhh.
"Matt Williams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> -----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
> 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: *** [pgsql.lo]Error 1
> make: Leaving current directory
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
> -----END PGP SIGNATURE-----
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]