Re: Postgres and Perl: Which DBI module? - Mailing list pgsql-general

From Phil Dobbin
Subject Re: Postgres and Perl: Which DBI module?
Date
Msg-id 20020802144314.7232@mail.btinternet.com
Whole thread Raw
In response to Re: Postgres and Perl: Which DBI module?  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: Postgres and Perl: Which DBI module?
List pgsql-general
Around 15:36, +0100 Oleg Bartunov oleg@sai.msu.su wrote:

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

[snip]

>> > 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

That makes sense :-) I followed the example in the O'Reilly book (pp.25)
and it didn't look right. This does, however.

Many thanks,

Regards,

Phil.



pgsql-general by date:

Previous
From: "Ron Harter"
Date:
Subject: Temporal Database
Next
From: Tiberiu Stef
Date:
Subject: Aggregate with external sfunc