Help with installation and config, Missing file...

Started by Al Vazquezabout 23 years ago2 messagesgeneral
Jump to latest
#1Al Vazquez
ajv3@geneseo.edu

hi,
I recently installed postgresql-7.2.2 onto a Linux RH 8 system via an
RPM. I am currently attempting to configure PHP4 with it and am running
into an error involving pg. Here is the command I am running:

./php4dir/configure --with-mysql --with-pgsql=/usr/bin
--with-unixODBC=/usr --with-httpd=/var/ww --enable-track-vars

the error I get is as follows:

configure: error: Cannot find libpq-fe.h. Please specify correct
PostgreSQL installation path

Everything else works fine. It seems to be configuring nicely with
everything else. But this file is not on my system. Doing a find from
/ shows me nothing. I don't know how to fix this problem.

Any help out there?

TIA,
A.V.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Al Vazquez (#1)
Re: Help with installation and config, Missing file...

Al Vazquez <ajv3@geneseo.edu> writes:

I recently installed postgresql-7.2.2 onto a Linux RH 8 system via an
RPM.

Did you install the -devel RPM? That's usually where .h files are.

regards, tom lane