Just upgraded from 5.8 to 5.8.2 on OSXS 10.3.1.

During configure I specified /Library/Perl for site-specific libs.

It compiled, tested, and installed ok. But when I went to test a script it
complained that a module wasn't there, though it's in the perl lib path.

So I ran CPAN to re-install the module (DBI).

Here's the perl lib path:
perl -e 'print "$_\n" for @INC'
/sw/lib/perl5
/usr/local/lib/perl5/5.8.2/darwin-2level
/usr/local/lib/perl5/5.8.2
/Library/Perl/darwin-2level
/Library/Perl
/Library/Perl

Here's the old DBI:
l /Library/Perl/darwin/DBI
total 624
-r--r--r--  1 root  admin  53966  7 Dec  2002 Changes.pm
drwxr-xr-x  5 root  admin    170  7 Dec  2002 Const
-r--r--r--  1 root  admin  64423 29 Nov  2002 DBD.pm
-r--r--r--  1 root  admin  36024 24 Aug  2001 FAQ.pm
-r--r--r--  1 root  admin  14439 29 Nov  2002 Format.pm
-r--r--r--  1 root  admin  20573 29 Nov  2002 Profile.pm
-r--r--r--  1 root  admin  16411  1 Dec  2002 ProfileData.pm
drwxr-xr-x  3 root  admin    102  7 Dec  2002 ProfileDumper
-r--r--r--  1 root  admin   8112  1 Dec  2002 ProfileDumper.pm
-r--r--r--  1 root  admin  18345  1 Dec  2002 ProxyServer.pm
-r--r--r--  1 root  admin  25130 29 Nov  2002 PurePerl.pm
-r-xr-xr-x  1 root  admin  29306 29 Nov  2002 Shell.pm
-r--r--r--  1 root  admin   4594 24 Aug  2001 W32ODBC.pm

And the newly installed DBI:
l /Library/Perl/darwin-2level/DBI
total 640
-r--r--r--  1 root  admin   63911 25 Nov 11:23 Changes.pm
drwxr-xr-x  5 root  admin     170 25 Nov 11:23 Const
drwxr-xr-x  3 root  admin     102 25 Nov 11:23 DBD
-r--r--r--  1 root  admin  104617 19 Aug 20:15 DBD.pm
-r--r--r--  1 root  admin   36024 24 Aug  2001 FAQ.pm
-r--r--r--  1 root  admin   21577 19 Aug 20:15 Profile.pm
-r--r--r--  1 root  admin   16486 26 Feb  2003 ProfileData.pm
drwxr-xr-x  3 root  admin     102 25 Nov 11:23 ProfileDumper
-r--r--r--  1 root  admin    8112  1 Dec  2002 ProfileDumper.pm
-r--r--r--  1 root  admin   26172 14 May  2003 ProxyServer.pm
-r--r--r--  1 root  admin   26874 13 May  2003 PurePerl.pm
-r--r--r--  1 root  admin    4594 24 Aug  2001 W32ODBC.pm


Did I set the path wrong on configure? Or do all modules need to be
re-compiled for 5.8.2?


-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/


Reply via email to