Thread: Cant find libpq-fe.h

Cant find libpq-fe.h

From
Thomas Henningsen
Date:
Dear Sirs,

When I am trying to install DBD-Pg-1.01 I receive an error. When I am
going to "make" the following messages appears on my screen:

In file included from Pg.xs:13:
Pg.h:17:22: libpq-fe.h: No such file or ....

Nor am I able to find the file on my computer.

I am using Red Hat 7.2

Looking forward to hear from you.

Thomas Henningsen



Re: Cant find libpq-fe.h

From
Bo Lorentsen
Date:
man, 2002-01-07 kl. 22:22 skrev Thomas Henningsen:
> When I am trying to install DBD-Pg-1.01 I receive an error. When I am
> going to "make" the following messages appears on my screen:
>
> In file included from Pg.xs:13:
> Pg.h:17:22: libpq-fe.h: No such file or ....
Do you have the "postgres*-dev.rpm" installed ?

/BL


Re: Cant find libpq-fe.h

From
John Burski
Date:
I've found that, on occasion, the pathnames given in a ".h" file that call
for the inclusion of another ".h" file can be wrong.

Here's what I do:

  1. Make sure that the file that can't be found is actually installed on
     your machine.  If not, determine where it may be located - package,
     rpm, Web, wherever - and install it.  Make note of its location on
     your machine.
  2. Take a look at the contents of the ".h" file that is calling for it -
     in your case it's the "Pg.h" file.  Find the "#include" line that
     corresponds to the file that it said it couldn't find.  Is it
     correct?  That is, does it give a correct path, either absolute or
     relative, to the file it couldn't find?  If the line is incorrect,
     edit the ".h" file so that the offending line represents the correct
     path.
  3. Run "make" again.

Hope this helps.

Thomas Henningsen wrote:

> Dear Sirs,
>
> When I am trying to install DBD-Pg-1.01 I receive an error. When I am
> going to "make" the following messages appears on my screen:
>
> In file included from Pg.xs:13:
> Pg.h:17:22: libpq-fe.h: No such file or ....
>
> Nor am I able to find the file on my computer.
>
> I am using Red Hat 7.2
>
> Looking forward to hear from you.
>
> Thomas Henningsen
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

--
John Burski
I.T. Manager and Systems Administration
911 Emergency Products, Inc.
25 Sixth Avenue North
Saint Cloud, MN  56303
John.Burski@911ep.com

800-863-6911, extension 221
FAX: 800-863-2991
www.911ep.com




Re: Cant find libpq-fe.h

From
BaRoN!
Date:
Hello Thomas,
Tuesday, January 08, 2002, 12:22:30 AM, you wrote:
TH> Dear Sirs,

TH> When I am trying to install DBD-Pg-1.01 I receive an error. When I am
TH> going to "make" the following messages appears on my screen:

TH> In file included from Pg.xs:13:
TH> Pg.h:17:22: libpq-fe.h: No such file or ....

TH> Nor am I able to find the file on my computer.

TH> I am using Red Hat 7.2

I looked through archives, and found no answer for your question. The
solution is to edit configure script. development headers for pgsql
are placed in /usr/include/pgsql in RedHat, Mandrake and other RH
clones.

TH> Looking forward to hear from you.

TH> Thomas Henningsen
--
Best regards,
 BaRoN!                            mailto:s_mage@land.ru