Thread: Where to get Pg.pm?
Hi, all: I've got an error message when -------------------------------------------------- $ MasterInit master Can't locate Pg.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/cygwin-multi-64i nt /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/l ib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/bin/MasterInit line9. BEGIN failed--compilation aborted at /usr/bin/MasterInit line 9. -------------------------------------------------- and I don't know where to get (or how to generate) Pg.pm... any ideas? Sephiroth
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Hi, all: > I've got an error message when > -------------------------------------------------- > $ MasterInit master > Can't locate Pg.pm in @INC (@INC contains: > ... > and I don't know where to get (or how to generate) Pg.pm... > any ideas? Pg.pm most commonly refers to the PostgreSQL DBI driver. You probably need to install it. You can always grab the latest version at: http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?site=ftp.funet.fi;modinfo=4746 Or you can run the very latest, non-production release here: http://gborg.postgresql.org/project/dbdpg/projdisplay.php - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200307201606 -----BEGIN PGP SIGNATURE----- Comment: http://www.turnstep.com/pgp.html iD8DBQE/Gvb5vJuQZxSWSsgRAt//AJ9OmlvVL55d5Il05H2eQhCL8zhsFQCfcB20 ZXqgno2nHPyQtnSdEBRbGvc= =FKyc -----END PGP SIGNATURE-----
On Sun, 2003-07-20 at 22:01, greg@turnstep.com wrote: > > Hi, all: > > I've got an error message when > > -------------------------------------------------- > > $ MasterInit master > > Can't locate Pg.pm in @INC (@INC contains: > > ... > > and I don't know where to get (or how to generate) Pg.pm... > > any ideas? > > Pg.pm most commonly refers to the PostgreSQL DBI driver. In this case it's not though. MasterInit is part of rserv which uses Pg -- the one that follows libpq's interface -- not DBI/DBD::Pg. It's no longer part of contrib, but can be downloaded here: http://gborg.postgresql.org/project/pgperl/projdisplay.php The version on CPAN was extremely old last I checked, so getting it via that route is not suggested.