From owner-freebsd-ports Mon Aug 5 16: 8:46 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5290237B400 for ; Mon, 5 Aug 2002 16:08:43 -0700 (PDT) Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23FBA43E42 for ; Mon, 5 Aug 2002 16:08:42 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 83625AC1F; Tue, 6 Aug 2002 01:08:32 +0200 (CEST) Date: Tue, 6 Aug 2002 01:08:32 +0200 From: Anton Berezin To: Mark Edwards Cc: ports@FreeBSD.org Subject: Re: SpamAssassin / p5-PodParser fail Message-ID: <20020805230832.GA5295@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Mark Edwards , ports@FreeBSD.org References: <1144.208.44.49.5.1028551977.squirrel@mail.chrislaco.com> <08A712F1-A89C-11D6-9FDD-000A278CC960@antsclimbtree.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08A712F1-A89C-11D6-9FDD-000A278CC960@antsclimbtree.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 05, 2002 at 10:51:56AM -0700, Mark Edwards wrote: > On Monday, August 5, 2002, at 05:52 AM, Christopher H. Laco wrote: > > >See: > >http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/39337 Actually, apart from this PR, there is a couple of others. Audit-trail might or might not be useful to you: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/39352 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/40100 Of the previous posts on the issue this one might be of interest: http://www.freebsd.org/cgi/getmsg.cgi?fetch=415359+0+/usr/local/www/db/text/2002/freebsd-ports/20020714.freebsd-ports > >I think there are now 2 ways around this: > >#1 cvsup your source and rebuild the base Perl. The @INC order has > >changed. Just note that in principle you don't have to rebuild the whole system, just perl. > >#2 cvsup your ports tree and rebuild p5-Spamassassin. IIRC, someone > >patched the ports to look in a different spot for the File::Spec module > >(ports first, then base). > > Actually, the fix I came up with was to follow what > /usr/ports/devel/p5-File-Spec suggested: > > Installing /usr/local/lib/perl5/5.00503/man/man3/File::Spec::Mac.3 > Installing /usr/local/lib/perl5/5.00503/man/man3/File::Spec.3 > Writing > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/File/Spec/.packlist > ## Differing version of File/Spec/Mac.pm found. You might like to > rm /usr/libdata/perl/5.00503/File/Spec/Mac.pm > ## Differing version of File/Spec/OS2.pm found. You might like to > rm /usr/libdata/perl/5.00503/File/Spec/OS2.pm > ## Differing version of File/Spec/Unix.pm found. You might like to > rm /usr/libdata/perl/5.00503/File/Spec/Unix.pm > ## Differing version of File/Spec/VMS.pm found. You might like to > rm /usr/libdata/perl/5.00503/File/Spec/VMS.pm > ## Differing version of File/Spec/Win32.pm found. You might like to > rm /usr/libdata/perl/5.00503/File/Spec/Win32.pm > ## Running 'make install UNINST=1' will unlink all those files for you. > Appending installation info to /usr/local/lib/perllocal.pod > > I ran those rm commands and after that SpamAssassin compiled fine. I > assume those files are going to get replaced next time I make installworld, > right? Absolutely correct, unless you put NOPERL=yes into your /etc/make.conf. On the other hand, if you installworld with a recent and even not so recent -stable (NOT 4.6.1!), this will not matter since you are going to get reversed @INC. > Should I just install the lang/perl5 port? Would that be better > in the long run? I would no doubt go for this solution in case of a new box. Just remember that if you already have lots of perl modules installed, it is better to reinstall all of them after perl port is there. If this is the case, I might go for one of the other solutions. On the other hand, as perl is being phased out of the base system, installing the port does not sound like a bad idea, in the long run. Cheers, =Anton. -- | Anton Berezin | FreeBSD: The power to serve | | catpipe Systems ApS _ _ |_ | http://www.FreeBSD.org | | tobez@catpipe.net (_(_|| | tobez@FreeBSD.org | | +45 7021 0050 | Private: tobez@tobez.org | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message