Re: Postgres and Perl: Which DBI module?

From: Phil Dobbin <phildobbin(at)pobox(dot)com>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Francois Suter <dba(at)paragraf(dot)ch>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres and Perl: Which DBI module?
Date: 2002-08-02 15:00:33
Message-ID: r01050300-1015-980C5670A62811D6B2790003930DCC6E@[10.0.0.2]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/8/02 at 17:36, oleg(at)sai(dot)msu(dot)su (Oleg Bartunov) wrote:

> On Fri, 2 Aug 2002, Phil Dobbin wrote:
>
> > On 29/7/02 at 14:48, dba(at)paragraf(dot)ch (Francois Suter) wrote:

> > > I succesfully used the module called Pg:
> >
> > I d/l'd DBD::Pg using CPAN but the Makefile.PL complained that the
> env vars `POSTGRES_INCLUDE' and `POSTGRES_LIB' couldn't be found so
> that `libq.so' couldn't be located.
> >
> > Are `POSTGRES_INCLUDE' and `POSTGRES_LIB' set in your $PATH?
> >
> > Any ideas appreciated :-)
>
> Define these variables :-)
>
> in bash:
> export POSTGRES_INCLUDE=/usr/local/pgsql/include
> export POSTGRES_LIB=/usr/local/pgsql/lib

Thanks for that. It worked fine. I had followed the instructions in the pgsql O'Reilly book (pp.25) and they didn't look right. That looked a lot better :-)

Regards,

Phil.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mario Weilguni 2002-08-02 15:07:30 Re:
Previous Message Phil Dobbin 2002-08-02 14:43:14 Re: Postgres and Perl: Which DBI module?