Обсуждение: Pg.pm question

Поиск
Список
Период
Сортировка

Pg.pm question

От
"KMiller"
Дата:

When I run a perl script named enc.pl I get this error.  It looks like Pg.pm can't resolve something when it reaches the line: bootstrap Pg $VERSION;

Can't locate loadable object for module Pg 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/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 /usr/lib/perl5/site_perl .) at ./enc.pl line 3

Compilation failed in require at ./enc.pl line 3.

BEGIN failed--compilation aborted at ./enc.pl line 3.

Can anyone explain this in more detail and/or offer suggestions for a fix?

TIA,

Kurt Miller

Re: Pg.pm question

От
Alex Pilosov
Дата:
Have you ran 'make install' for Pg module?

While you are on it, I'd suggest using DBD::Pg instead of Pg.

-alex

On Tue, 10 Oct 2000, KMiller wrote:

> When I run a perl script named enc.pl I get this error.  It looks like Pg.pm can't resolve something when it reaches
theline: bootstrap Pg $VERSION; 
>
> Can't locate loadable object for module Pg 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/5.005/i386-linux/usr/lib/perl5/site_perl/5.005 /usr/lib/perl5/site_perl .) at ./enc.pl line 3 
>
> Compilation failed in require at ./enc.pl line 3.
>
> BEGIN failed--compilation aborted at ./enc.pl line 3.
>
> Can anyone explain this in more detail and/or offer suggestions for a fix?
>
> TIA,
>
> Kurt Miller
>
>




Re: Pg.pm question

От
Дата:
On Tue, 10 Oct 2000, KMiller wrote:

> Can anyone explain this in more detail and/or offer suggestions for a
> fix?

How about some code?  It's hard to tell just by looking at error
messages.

Brett W. McCoy
                                              http://www.chapelperilous.net
---------------------------------------------------------------------------
But since I knew now that I could hope for nothing of greater value than
frivolous pleasures, what point was there in denying myself of them?
        -- M. Proust