pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DBD::Pg
6+ messages / 5 participants
[nested] [flat]

* DBD::Pg
@ 2000-12-31 13:54 David Wright <dwright@mergetel.com>
  2001-01-03 18:17 ` Re: DBD::Pg Lamar Owen <lamar.owen@wgcr.org>
  0 siblings, 1 reply; 6+ messages in thread

From: David Wright @ 2000-12-31 13:54 UTC (permalink / raw)
  To: pgsql-interfaces

I have recently installed Mandrake 7.1 and am trying to install the
DBD::Pg module to interface with the distributions PostgreSQL which is
version 6.5.3

The Perl is version 5.6.0 and I downloaded the DBD-Pg-0.95 tar file from
CPAN.

As root, I cd to /tmp and untarred the DBD-Pg-0.95. From this directory
I now set the POSTGRES_HOME to /usr/lib/pgsql, POSTGRES_LIB to
/usr/lib/pgsql and POSTGRES_INCLUDE to /usr/include.

perl Makefile.PL runs Ok
make produces an error message saying "libpq-fe.h: No such file or
directory". I have found documentation around the Internet saying that
this file is required by programs using libpq.so but have not been able
to find where I can get this header file from!!

I am getting frustrated! Anyone able to assist please?

David






^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: DBD::Pg
  2000-12-31 13:54 DBD::Pg David Wright <dwright@mergetel.com>
@ 2001-01-03 18:17 ` Lamar Owen <lamar.owen@wgcr.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Lamar Owen @ 2001-01-03 18:17 UTC (permalink / raw)
  To: d.wright@mergetel.com; +Cc: pgsql-interfaces

David Wright wrote:
> As root, I cd to /tmp and untarred the DBD-Pg-0.95. From this directory
> I now set the POSTGRES_HOME to /usr/lib/pgsql, POSTGRES_LIB to
> /usr/lib/pgsql and POSTGRES_INCLUDE to /usr/include.
 
> perl Makefile.PL runs Ok
> make produces an error message saying "libpq-fe.h: No such file or
> directory". I have found documentation around the Internet saying that
> this file is required by programs using libpq.so but have not been able
> to find where I can get this header file from!!

Make sure you have the 'postgresql-devel' RPM installed, and set
POSTGRES_INCLUDE to /usr/include/pgsql.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* DBD::Pg
@ 2000-12-31 15:08 David Wright <dwright@mergetel.com>
  2001-01-02 22:53 ` Re: DBD::Pg Ingo Luetkebohle <ingo@blank.pages.de>
  2001-01-03 00:25 ` Re: DBD::Pg Luc Bouchard <luc@luker.on.ca>
  2001-01-10 08:05 ` Re: DBD::Pg Alexander Kulakov <alex@vci.ru>
  0 siblings, 3 replies; 6+ messages in thread

From: David Wright @ 2000-12-31 15:08 UTC (permalink / raw)
  To: pgsql-interfaces


I am resubmitting this message because the original had an incorrect
reply-to address.....
:-)

I have recently installed Mandrake 7.1 and am trying to install the
DBD::Pg module to interface with the distributions PostgreSQL which is
version 6.5.3

The Perl is version 5.6.0 and I downloaded the DBD-Pg-0.95 tar file from

CPAN.

As root, I cd to /tmp and untarred the DBD-Pg-0.95. From this directory
I now set the POSTGRES_HOME to /usr/lib/pgsql, POSTGRES_LIB to
/usr/lib/pgsql and POSTGRES_INCLUDE to /usr/include.

perl Makefile.PL runs Ok
make produces an error message saying "libpq-fe.h: No such file or
directory". I have found documentation around the Internet saying that
this file is required by programs using libpq.so but have not been able
to find where I can get this header file from!!

I am getting frustrated! Anyone able to assist please?

David








^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: DBD::Pg
  2000-12-31 15:08 DBD::Pg David Wright <dwright@mergetel.com>
@ 2001-01-02 22:53 ` Ingo Luetkebohle <ingo@blank.pages.de>
  2 siblings, 0 replies; 6+ messages in thread

From: Ingo Luetkebohle @ 2001-01-02 22:53 UTC (permalink / raw)
  To: David Wright <dwright@mergetel.com>; +Cc: pgsql-interfaces

On Sun, Dec 31, 2000 at 10:08:27AM -0500, David Wright wrote:
> make produces an error message saying "libpq-fe.h: No such file or
> directory". I have found documentation around the Internet saying that
> this file is required by programs using libpq.so but have not been able
> to find where I can get this header file from!!

In postgres 6.5.x, that file is part of the postgresql-devel rpm,
which is not installed by default but should be on your distribution
medium.
 
-- 
	Ingo Luetkebohle / ingo@blank.pages.de / 95428014
/
|SchemantiX Open Source contact; Computational Linguistics
|student; Fargonauten.DE sysadmin; Gimp Registry maintainer;



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: DBD::Pg
  2000-12-31 15:08 DBD::Pg David Wright <dwright@mergetel.com>
@ 2001-01-03 00:25 ` Luc Bouchard <luc@luker.on.ca>
  2 siblings, 0 replies; 6+ messages in thread

From: Luc Bouchard @ 2001-01-03 00:25 UTC (permalink / raw)
  To: David Wright <dwright@mergetel.com>; +Cc: pgsql-interfaces

Make sure you have the development RPM of Postgresql loaded before
compiling.

On Sun, 31 Dec 2000, David Wright wrote:

> 
> I am resubmitting this message because the original had an incorrect
> reply-to address.....
> :-)
> 
> I have recently installed Mandrake 7.1 and am trying to install the
> DBD::Pg module to interface with the distributions PostgreSQL which is
> version 6.5.3
> 
> The Perl is version 5.6.0 and I downloaded the DBD-Pg-0.95 tar file from
> 
> CPAN.
> 
> As root, I cd to /tmp and untarred the DBD-Pg-0.95. From this directory
> I now set the POSTGRES_HOME to /usr/lib/pgsql, POSTGRES_LIB to
> /usr/lib/pgsql and POSTGRES_INCLUDE to /usr/include.
> 
> perl Makefile.PL runs Ok
> make produces an error message saying "libpq-fe.h: No such file or
> directory". I have found documentation around the Internet saying that
> this file is required by programs using libpq.so but have not been able
> to find where I can get this header file from!!
> 
> I am getting frustrated! Anyone able to assist please?
> 
> David
> 
> 
> 
> 
> 

-- 
Luc Bouchard
luc@luker.on.ca
90 Sidekick 2dr Softop - Rubber Zuki
94 S-10 2wd Longbed
Nepean, ON, Canada




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: DBD::Pg
  2000-12-31 15:08 DBD::Pg David Wright <dwright@mergetel.com>
@ 2001-01-10 08:05 ` Alexander Kulakov <alex@vci.ru>
  2 siblings, 0 replies; 6+ messages in thread

From: Alexander Kulakov @ 2001-01-10 08:05 UTC (permalink / raw)
  To: pgsql-interfaces

David Wright wrote:
> perl Makefile.PL runs Ok
> make produces an error message saying "libpq-fe.h: No such file or
> directory". I have found documentation around the Internet saying that
> this file is required by programs using libpq.so but have not been able
> to find where I can get this header file from!!
> 

Have you ever install postgres development package?



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2001-01-10 08:05 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-12-31 13:54 DBD::Pg David Wright <dwright@mergetel.com>
2001-01-03 18:17 ` Lamar Owen <lamar.owen@wgcr.org>
2000-12-31 15:08 DBD::Pg David Wright <dwright@mergetel.com>
2001-01-02 22:53 ` Ingo Luetkebohle <ingo@blank.pages.de>
2001-01-03 00:25 ` Luc Bouchard <luc@luker.on.ca>
2001-01-10 08:05 ` Alexander Kulakov <alex@vci.ru>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox