Tom Poe wrote at Sun, 02 Jun 2002 00:26:24 +0200: > Hello: The script worked at one point, with use DBI; then, I upgraded perl from >5.6.0 to 5.6.1 > and got into trouble. I have both running now. What I want to do, is to figure out >how to get > use DBI to go find DBD/Pg.pm. Any pointers appreciated. The error message follows: > > ... > > tompoe@aether:~/perlStuff/dbi > perl tablelayout.pl install_driver(Pg) failed: Can't >locate > DBD/Pg.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/i686-linux >/usr/local/lib/perl5/5.6.1 > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux > /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/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, Proxy. > at tablelayout.pl line 8 > tompoe@aether:~/perlStuff/dbi > >
I had similar problems upgrading perl. The reason for that is that perl uses the directory /usr/local/lib/perl5/site_perl5/$version/..... for the none standard perl distribution modules. You can simply copy the directories from your old "version" into the folder of the new ones or use the chance to upgrade the modules with the newest from CPAN. Greetings, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]