Adjusting Cpan on upgrade from 6.1 to 6.3
David Southwell
david at vizion2000.net
Sat Jul 12 17:06:11 UTC 2008
On Saturday 12 July 2008 08:28:53 Remko Lodder wrote:
> David Southwell wrote:
>
> Have you wiped your $HOME/.cpan and recreated it?
On Saturday 12 July 2008 08:28:53 Remko Lodder wrote:
> David Southwell wrote:
>
> Have you wiped your $HOME/.cpan and recreated it?
I removed all .cpan from the system
That does not seem to be the problem.
This error line from cpan shell may provide a clue:
cpan > r
___________________________
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.
_______________________________
Checking the file:
Errno.pm has the following header:
#
# This file is auto-generated. ***ANY*** changes here will be lost
#
package Errno;
our (@EXPORT_OK,%EXPORT_TAGS, at ISA,$VERSION,%errno,$AUTOLOAD);
use Exporter ();
use Config;
use strict;
"$Config{'archname'}-$Config{'osvers'}" eq
"amd64-freebsd-6.1-release" or
die "Errno architecture (amd64-freebsd-6.1-release) does not match executable
architecture ($Config{'archname'}-$Config{'osvers'})";
$VERSION = "1.10";
$VERSION = eval $VERSION;
@ISA = qw(Exporter);
It looks as though Errno.pm does not get updated even with
# Portupgrade -Rf perl5.8.
What creates this file?
David
More information about the freebsd-perl
mailing list