[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adjusting Cpan on upgrade from 6.1 to 6.3



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
_______________________________________________
freebsd-perl_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-perl
To unsubscribe, send any mail to "freebsd-perl-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org