From: | snpe <snpe(at)snpe(dot)co(dot)yu> |
---|---|
To: | Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp> |
Cc: | PostgreSQL-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Compiling PHP with Postgres support problem |
Date: | 2003-01-27 14:20:04 |
Message-ID: | 200301271420.04629.snpe@snpe.co.yu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-01-27 14:24:30 | Re: required rights for PGDATA |
Previous Message | Tom Lane | 2003-01-27 14:04:00 | Re: pg_dump automatic |