From: | snpe <snpe(at)snpe(dot)co(dot)yu> |
---|---|
To: | Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>, PostgreSQL-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Compiling PHP with Postgres support problem |
Date: | 2003-01-21 15:17:18 |
Message-ID: | 200301211517.18611.snpe@snpe.co.yu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
regards
Haris Peco
On Tuesday 21 January 2003 09:28, Jean-Christian Imbeault wrote:
> I am trying to compile PHP with the --with-pgsql flag but I get the
> following error:
>
> "configure: error: Cannot find libpq-fe.h. Please specify correct
> PostgreSQL installation path"
>
> I do not have Postgres installed on this machine. The DB is on another
> machine.
>
> What do I need to do in order to get PHP to compile with Postgres
> support? I am hoping I just need to copy some header file over and
> somehow point PHP ./configure script to it?
>
> I don't want to install Postgres on this machine at all if possible. I
> don't even want to install it and then remove it ... if possible :)
>
> Can anyone tell me:
>
> 1- Which files are needed
> 2- where to find the necessary files and where to put them
> 3- after PHP compilation can I remove the files or do they need to stay
> on the machine?
>
> Thanks,
>
> Jc
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2003-01-21 16:06:13 | Re: Help on query plan. (was: select like and indexes) |
Previous Message | George.T.Essig | 2003-01-21 15:09:12 | Re: Good (introductory) book |