|We don't bite newbies here... much|
PostgreSQL/Perlby Anonymous Monk
|on Nov 02, 2001 at 20:46 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Hello all, I hope someone can help me with this.
I tried to intsall DBD:Pg on my RedHat 7.0 but ran into problems. The DBI installed fine but I could not get the DBD to install. I read the read me file included in DBD-Pg-1.10.tar.gz. I've bolded what instructions were there and just plain text what occured.
Remember to actually read the README file!
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB! (I don't know where these variables are!)
make: ***No targets specified and no make file found. Stop.
make: ***No rule to make target 'test'. Stop.
make test.pl (I attempted this although it wasn't in the README file)
make: Nothing to be done for 'test.pl'. Stop.
make: No rule to make target 'install'. Stop.
All these commands were done as the postgres user, not root.
After I tried the script I looked at the Apache error log and saw the following error:
Can't locate auto/DBI/pgconnect.al in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /var/www/cgi-bin/test.cgi line 9
I assume this message is from the DBD not being in place.
Can someone tell me what's going on? Any help would be greatly appreciated.