From owner-freebsd-perl@FreeBSD.ORG Sat Jul 12 17:17:47 2008 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 179241065671 for ; Sat, 12 Jul 2008 17:17:47 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from websrv01.jr-hosting.nl (websrv01.jr-hosting.nl [78.47.69.233]) by mx1.freebsd.org (Postfix) with ESMTP id D0BF88FC14 for ; Sat, 12 Jul 2008 17:17:41 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from adslgebruiker.xs4all.nl ([195.64.94.120] helo=axantucar.local) by websrv01.jr-hosting.nl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KHij5-000NQF-GG; Sat, 12 Jul 2008 19:17:40 +0200 Message-ID: <4878E72C.5050705@FreeBSD.org> Date: Sat, 12 Jul 2008 19:17:32 +0200 From: Remko Lodder User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: David Southwell References: <200807120840.38991.david@vizion2000.net> <4878CDB5.8000806@FreeBSD.org> <200807121027.45757.david@vizion2000.net> In-Reply-To: <200807121027.45757.david@vizion2000.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-perl@freebsd.org Subject: Re: Adjusting Cpan on upgrade from 6.1 to 6.3 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2008 17:17:47 -0000 David Southwell wrote: > 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: It gets installed as part of perl 5.8.8 install (at my end): nakur# pkg_info -W /usr/local/lib/perl5/5.8.8/mach/Errno.pm /usr/local/lib/perl5/5.8.8/mach/Errno.pm was installed by package perl-5.8.8_1 are you using a package? is your ports tree up to date and did you entirely reinstall it from there? (because it seems that a reinstall will update the freebsd version as well).. > 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,@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 > > > -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News