Re: postgresql perl connectivity

From: "Scot L(dot) Harris" <webid(at)cfl(dot)rr(dot)com>
To: Jay <jspothar(at)cs(dot)uccs(dot)edu>
Subject: Re: postgresql perl connectivity
Date: 2004-06-28 01:30:40
Message-ID: 1088386239.2147.33.camel@lathe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)cfl(dot)rr(dot)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(at)cfl(dot)rr(dot)com>
--
Scot L. Harris <webid(at)cfl(dot)rr(dot)com>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scot L. Harris 2004-06-28 02:09:01 Re: postgresql perl connectivity
Previous Message Scot L. Harris 2004-06-28 01:17:46 Re: postgresql perl connectivity