i am trying to install DBD for postgres

Problem 1

The README file stated to run Makefile, make, and make 
test as normal user and I guss make install as root ?? 
The downloaded file have an owner of 1000 

should i change all the files like "chown -r xxx.xxx" 
from the DBD-Pg-1.13 directory?? 

Problem 2

cpan downloaded the needed files but could not install

when i run perl Makefile.Pl i get the following message

please set environment variables POSTGRES_INCLUDE and 
POSTGRES_LIB which is the error message from the die 
function in the Makefile.PL

Not sure how to do this and what user enviroment

Added the following line in the /etc/profile file
POSTGRES_INCLUDE="/usr/include/"
POSTGRES_LIB="/usr/lib/"

Did not seem to help

all advise welcome 

thanks brian





 

Reply via email to