Hello there,
I have a FreeBSD machine that died earlier this week and i have been
attempting to restore it (or rather it's contents). Postgres has caused
somewhat of a problem in this area.
I was running 7.0.1 and decided to upgrade to 7.0.3 since i have to
reinstall it anyways. The install has gone fine and i can restore the old
database back into the new postgres install without any problems.
But when i try to run any of the perl scripts designed for the database
I'm getting the following error:
Can't locate Pg.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 .) at ./top25.pl line 2.
Line 2 of the specific program reads: Use Pg;
Nothing seemed out of the ordinary during the config/make/install process,
and the only thing i did non standard was to run the config as:
./configure --with-perl --with-odbc.
So can anyone tell me why my perl modules don't like me? Or more
importantly how to get them to play friendly.
If it makes a difference i have a backup of the old (7.0.1) install and a
bunch of other directories under usr. I can locate the Pg.pm and DBI.pm
in what would have been /usr/local/lib/perl5/site_perl/5.005/i386-freebsd.
Thanks in advance.
And apologies for typos / sticky keys.
.jtp
John T Porvaznik
Person type person
Akadine Press Inc.