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

From snpe
Subject Re: Compiling PHP with Postgres support problem
Date
Msg-id 200301271420.04629.snpe@snpe.co.yu
Whole thread Raw
In response to Re: Compiling PHP with Postgres support problem  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
List pgsql-general
On Monday 27 January 2003 05:24, Jean-Christian Imbeault wrote:
> 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 ...
>

Correct.I'm sorry.
I had libraries in RH 8.0.

regards
Haris Peco


pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: getting weekly total based on daily...
Next
From: Lincoln Yeoh
Date:
Subject: Re: I was spoiled by the MySQL timestamp field