Is it possible, even if I have

export POSTGRES_INCLUDE=/usr/local/pgsql/include
export POSTGRES_LIB=/usr/local/pgsql/lib

for the environment to remember them while running

perl Makefile.PL

but forget it during

make
make test

?

-----Original Message-----
From: Jason A. Banico 
Sent: Monday, October 15, 2001 5:25 PM
To: [EMAIL PROTECTED]
Subject: installing DBI::Pg as root

Hi. Can anyone help me?
 
I have the latest version of DBI::Pg, but I can't get it to install
properly. I've read around that I should not run
 
     perl Makefile.PL
     make
     make install
 
as root, however I can't access CPAN without it. If I do run those lines
as root, I can get it to work by first creating user root for PostGres.
It works find, but I get an error with make test, and some warning with
make, because it can't find library for -lpq (though it was found while
running perl Makefile.PL).
 
Is there something wrong with my POSTGRES_INCLUDE or POSTGRES_LIB
environment variables? (There shouldn't be, since perl Makefile.PL ran
ok.)
 
Thanks.
 
Jason
 
 
 

Reply via email to