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.