Re: Compiling PHP with Postgres support problem - Mailing list pgsql-general

From Jean-Christian Imbeault
Subject Re: Compiling PHP with Postgres support problem
Date
Msg-id 3E34C2A4.9000301@mega-bucks.co.jp
Whole thread Raw
In response to Compiling PHP with Postgres support problem  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
Responses Re: Compiling PHP with Postgres support problem
List pgsql-general
snpe wrote:
> You need pgsql source in any directory and set --with-pgsql=<pgsql_source>
> You don't compile source, but when you execute php you need pgsql libraries, too

Sorry for the late reply but I only just got around to trying your
suggestion out. For future readers of the ML archives ...

Using --with-pgsql=<pgsql_source> doesn't work. I get the following error:

"Please specific correct PostgreSQL installation path". So I guess PHP
is assuming PostgreSQL to be installed.

One work around I was able to use was to copy these files into
/usr/local/ (the default installation path):

psql/include/libpq-fe.h

That got PHP to ./configure without any errors but I haven't been able
to get it to compile yet. Don't know if the compilation problem is
related to pgsql or not yet though ... need to investigate more.

I think some .so files are also needed ...

Jc

Jc


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: When to Vacuum
Next
From: will trillich
Date:
Subject: too many users for postgresql? :)