Compiling PHP with Postgres support problem

From: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
To: PostgreSQL-general <pgsql-general(at)postgreSQL(dot)org>
Subject: Compiling PHP with Postgres support problem
Date: 2003-01-21 09:28:25
Message-ID: 3E2D12B9.9010806@mega-bucks.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Schlegel 2003-01-21 09:41:40 TEXT / INTEGER problem in function
Previous Message Aurangzeb M. Agha 2003-01-21 09:21:25 Re: Writing apps for ORDBMS