Home: Perl Programming Help: Beginner:
Help installing DBD::Pg module



fig
stranger

Apr 29, 2001, 9:23 PM


Views: 504
Help installing DBD::Pg module

I do

Code
perl Makefile.pl

and I get:

Code
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !

What do I need to set these to?



fig
stranger

Apr 29, 2001, 10:41 PM


Views: 503
Re: Help installing DBD::Pg module

Just in case anyone else is looking for this info, this is what I did under Red Hat 7.0:


Code
[user@domain]# env POSTGRES_LIB=/usr/lib/pgsql POSTGRES_INCLUDE=/usr/include/pgsql perl Makefile.PL 
<snip>
[user@domain]# make
<snip>
[user@domain]# make test
<snip>
[user@domain]# make install