Adjusting Cpan on upgrade from 6.1 to 6.3

David Southwell david at vizion2000.net
Sat Jul 12 15:27:09 UTC 2008


Having upgraded freebsd 6.1 to 6.3 I find the following errors from the cpan 
shell.

Having got errors I did the following
cd /usr/ports/lang/perl5.8
make clean
make configure
make
make deinstall
make reinstall

But still got the errors shown below which all seem to be around entries found 
in the old database which shows a generation date prior to the above 
reinstall.
It seems the cpan Metadata has not been updated.

What are the correct steps to follow:
__________________________________________________________
cpan> r
CPAN: Storable loaded ok
Going to read /usr/cpan/Metadata
  Database was generated on Thu, 10 Jul 2008 07:02:51 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://cpan.calvin.edu/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Errno architecture 
(amd64-freebsd-6.1-release) does not match executable architecture 
(amd64-freebsd-6.3-stable) at /usr/local/lib/perl5/site_perl/5.8.8/Errno.pm 
line 11.
Compilation failed in require at /usr/local/lib/perl5/5.8.8/mach/IO/Socket.pm 
line 17.
BEGIN failed--compilation aborted 
at /usr/local/lib/perl5/5.8.8/mach/IO/Socket.pm line 17.
Compilation failed in require 
at /usr/local/lib/perl5/site_perl/5.8.8/Net/FTP.pm line 18.
BEGIN failed--compilation aborted 
at /usr/local/lib/perl5/site_perl/5.8.8/Net/FTP.pm line 18.
Compilation failed in require 
at /usr/local/lib/perl5/site_perl/5.8.8/LWP/Protocol/ftp.pm line 21.
]
Fetching with Net::FTP:
  ftp://cpan.calvin.edu/pub/CPAN/authors/01mailrc.txt.gz
Can't locate object method "new" via package "Net::FTP" 
at /usr/local/lib/perl5/5.8.8/CPAN.pm line 2250.
______________________________________

Thanks in advance

David


More information about the freebsd-perl mailing list