Where is libpq-fe.h?

From: Barry Jeapes <barry(dot)jeapes(at)swindon(dot)ericsson(dot)se>
To: pgsql-general(at)postgresql(dot)org
Subject: Where is libpq-fe.h?
Date: 2001-06-08 15:43:10
Message-ID: 3B20F28E.6462FBD6@swindon.ericsson.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Im trying to install DBD-Pg so that I can connect to pgsql databases
through Perl.

The README files say I should set some environment variables.. quoting
the readme file:

"...The Makefile checks the environment variables POSTGRES_INCLUDE and
POSTGRES_LIB, to find the library libpq.so and the proper include
files."

Not knowing what the 'proper' include files were I guessed at a
directory in the pgsql installation.

perl MakeFile.PL worked fine - No errors

however 'make' got so far and gave a fatal error saying it cant find
file libpq-fe.h
Looking for this manually and using " find . -name libpq-fe.h " I dont
come up with anything, either in the postgres installation or the perl5
installation. should the file exist? Without it I cant install these
perl modules and cant see a way of getting any further. Has anyone had
a similar problem theyve managed to get round? Any help would be
appreciated.

I also tried installing the Pg module (as apposed to the DBD-Pg module)
and found the same problem.

Any help would be very much appreciated.

Barry

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-06-08 16:20:18 Re: Re: why unsigned numbers don't exist ?
Previous Message Josh Berkus 2001-06-08 15:42:34 Re: maximum number of rows in table - what about oid limits?