|
From: alta <al...@al...> - 2001-12-19 17:20:57
|
Nick ... Even though you installed the db, DBI, and DBD, you might want to verify that each really works. I say this because I have seen misleading msgs when the DBD was not working right. They had me on a wild goose chase for awhile. You can test the PostgreSQL database with psql (as you probably know), and write a short perl program to try to successfully connect to the db to test DBI and DBD. Come to think of it, it would be nice to have short test programs that come along with the installation SW. Or better yet, built-in tests that check connectivity and db before attempting to service the customer request... ... Reed On Wednesday 19 December 2001 06:35, you wrote: > At 2001-12-19 14:07:22+0000, Thomas Good writes: > > On Wed, 19 Dec 2001, Brian Cawthon wrote: > > > [Wed Dec 19 13:00:38 2001] [error] [client 206.2.228.130] > > > Premature end of script headers: > > > /usr/local/share/apache/htdocs/sql-ledger/admin.pl Can't locate > > > DBI.pm in @INC (@INC contains: > > > > Hi. > > > > You will need DBI, a perl module, and DBD-Pg a perl "driver". > > Go to your unix distribution cd and install the perl modules that > > complement your postgres installation or check out www.cpan.org > > On FreeBSD: > > cd /usr/ports/databases/p5-DBI && make install > cd /usr/ports/databases/p5-DBD-Pg && make install > > This part was easy, but I still don't have sql-ledger working. > > Nick B -- Reed White - ALTA RESEARCH - www.alta-research.com Phone: 877-360-2582 - Email: al...@al... |