[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] postgresql and ModPerl
- Subject: RE: [cobalt-users] postgresql and ModPerl
- From: "Jolley, Carl" <Carl.Jolley@xxxxxxx>
- Date: Mon Sep 16 14:25:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----Original Message-----
From: Pravit Lochan
Sent: Monday, September 16, 2002 9:54 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] postgresql and ModPerl
Hi all,
can someone please help me with this problem. it seems very simple but
believe me it isn't!
On my RaQ4 i have an installation of postgresql running. i can query the
database and retrieve records using perl scripts from the shell but as soon
as i try to try to interface via the web ie. cgi scripts, i get a error
message. when i look at the apache error log i get the ffg error :
install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .)
at (eval 7) line 3.
Perhaps the DBD::Pg perl module hasn't been fully installed,
or perhaps the capitalisation of 'Pg' isn't right.
Available drivers: ADO, ExampleP, Multiplex, Proxy, mysql
now this is usually solved by installing the correct DBD driver package for
postgresql. My question is WHERE THE HELL IS THAT PACKAGE ??
any help would be greatly appreciated....thanks
------------------
It's on CPAN but I had problems installing it.
Instead of use DBD::Pg; try use Pg; instead. At least
that's what a "man Pg" told me. And that is also what
Cobalt::Meta.pm does for its use of its PostGRES database.