Re: postgresql perl connectivity
От | Scot L. Harris |
---|---|
Тема | Re: postgresql perl connectivity |
Дата | |
Msg-id | 1088386239.2147.33.camel@lathe обсуждение исходный текст |
Ответ на | Re: postgresql perl connectivity ("Scot L. Harris" <webid@cfl.rr.com>) |
Список | pgsql-general |
On Sun, 2004-06-27 at 21:19, Jay wrote: > i did a apt-get install on my machine .my mysql connectivity works fine > though . > Even so the error message is saying it can't locate DBD/pg.pm followed by the include list as well as hinting that the DBD::pg package, which provides the perl interface to postgresql, has not been fully installed. If I was in your place I would run the perl CPAN stuff and reinstall the DBD::pg package then verify that the pg.pm file is on the system and in one of the include directories. > "Scot L. Harris" <webid@cfl.rr.com> wrote: > > On Sun, 2004-06-27 at 21:05, Jay wrote: > >>> hi people > >> i am trying to connect to ppstgresql on a debian system using perl > >> . i am getting the following error .can any one please suggest what > >> has to be done > >> > >> > >> install_driver(pg) failed: Can't locate DBD/pg.pm in @INC (@INC > >> contains: /etc/perl /usr/local/lib/perl/5.8.3 > >> /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 > >> /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) > >> at (eval 1) line 3. Perhaps the DBD::pg perl module hasn't been > >> fully installed, or perhaps the capitalisation of 'pg' isn't right. > >> Available drivers: ExampleP, Pg, Proxy, Sponge, mysql. at > >> psqldb.pl line 10 > >> > >> > >> thanks jay > > > > have not done much perl programming but it looks like you need to > > nstall the CPAN DBD package. > > > > - Scot L. Harris <webid@cfl.rr.com> -- Scot L. Harris <webid@cfl.rr.com>
В списке pgsql-general по дате отправления: