pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DBI/Pg.pm problems
2+ messages / 2 participants
[nested] [flat]

* DBI/Pg.pm problems
@ 2001-01-30 18:17 Ryan Deiter <n9247@cray.com>
  2001-02-05 19:26 ` Re: DBI/Pg.pm problems Jeremy Buchmann <jeremy@wellsgaming.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ryan Deiter @ 2001-01-30 18:17 UTC (permalink / raw)
  To: pgsql-interfaces

I have installed postgresql on a alpha-linux box and installed DBI and
Pg.pm is in the right place.  When I run my perl script it says that it
can't find Pg.pm in @INC.  Please someone help.
Ryan




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: DBI/Pg.pm problems
  2001-01-30 18:17 DBI/Pg.pm problems Ryan Deiter <n9247@cray.com>
@ 2001-02-05 19:26 ` Jeremy Buchmann <jeremy@wellsgaming.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeremy Buchmann @ 2001-02-05 19:26 UTC (permalink / raw)
  To: Ryan Deiter <n9247@cray.com>; pgsql-interfaces


> I have installed postgresql on a alpha-linux box and installed DBI and
> Pg.pm is in the right place.  When I run my perl script it says that it
> can't find Pg.pm in @INC.  Please someone help.
> Ryan

It's been a while, but I recall having a similar problem.
Here are some things to check:
 * The Postgres DBD (DBI "sub-driver") is installed correctly.
 * Try putting Pg.pm in one of the "site-perl" dirs listed in @INC.
 * Pg.pm has the right permissions.
 * Can you load other modules from the same dir that Pg.pm is in?

Sometimes the DBI-related error messages are misleading or just plain wrong.

If all that fails, post the location of Pg.pm and the value of @INC:
$ locate Pg.pm
$ perl -e "print \"@INC\n\";"

--Jeremy




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-02-05 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-30 18:17 DBI/Pg.pm problems Ryan Deiter <n9247@cray.com>
2001-02-05 19:26 ` Jeremy Buchmann <jeremy@wellsgaming.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox