Date: 07/31/01
- Next message: Adam Lundrigan: "[PHP-DB] Random question selection in PHP w/ MySQL backend."
- Previous message: Matt Williams: "[PHP-DB] Problem compiling pgsql and php (Semi OT)"
- In reply to: Matt Williams: "[PHP-DB] Problem compiling pgsql and php (Semi OT)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>> wrote in message
news:BKEBLPOMMAKCLHIBKBOEOEHPEAAA.matt <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
> 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-----
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Adam Lundrigan: "[PHP-DB] Random question selection in PHP w/ MySQL backend."
- Previous message: Matt Williams: "[PHP-DB] Problem compiling pgsql and php (Semi OT)"
- In reply to: Matt Williams: "[PHP-DB] Problem compiling pgsql and php (Semi OT)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

