Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 08:35:15 -0700
From:      David Southwell <david@vizion2000.net>
To:        freebsd-perl@freebsd.org
Subject:   Adjusting Cpan on upgrade from 6.1 to 6.3
Message-ID:  <200807120835.15751.david@vizion2000.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807120835.15751.david>