From owner-freebsd-ports@FreeBSD.ORG Wed Apr 14 04:18:31 2004 Return-Path: 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 A525A16A4CE for ; Wed, 14 Apr 2004 04:18:31 -0700 (PDT) Received: from grunt24.ihug.com.au (grunt24.ihug.com.au [203.109.249.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FB2743D53 for ; Wed, 14 Apr 2004 04:18:31 -0700 (PDT) (envelope-from mail@ozzmosis.com) Received: from p41-tnt1.mel.ihug.com.au (blizzard.dnsalias.org) [203.173.160.41] by grunt24.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1BDiPU-00042F-00; Wed, 14 Apr 2004 21:18:28 +1000 Received: from blizzard.dnsalias.org (ozzmosis@localhost [127.0.0.1]) i3EBIRxP044920 for ; Wed, 14 Apr 2004 21:18:27 +1000 (EST) (envelope-from mail@ozzmosis.com) Received: (from ozzmosis@localhost) by blizzard.dnsalias.org (8.12.8p2/8.12.8/Submit) id i3EBIR3E044919 for ports@freebsd.org; Wed, 14 Apr 2004 21:18:27 +1000 (EST) X-Authentication-Warning: blizzard.dnsalias.org: ozzmosis set sender to mail@ozzmosis.com using -f Date: Wed, 14 Apr 2004 21:18:27 +1000 From: andrew clarke To: ports@freebsd.org Message-ID: <20040414111827.GA44907@ozzmosis.com> References: <20040410030621.GA844@doom.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040410030621.GA844@doom.homeunix.org> User-Agent: Mutt/1.5.6i Subject: Re: mail/fetchyahoo running failure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 11:18:31 -0000 On Sat, Apr 10, 2004 at 07:06:21AM +0400, Igor Pokrovsky wrote: > I'm trying to run mail/fetchyahoo on STABLE and > getting the following error (wrapped): > > $ fetchyahoo > Can't locate bytes.pm in @INC (@INC contains: > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd > /usr/local/lib/perl5/site_perl/5.005 > . /usr/libdata/perl/5.00503 /mach /usr/libdata/perl/5.00503) > at /usr/local/bin/fetchyahoo line 1468. > BEGIN failed--compilation aborted at /usr/local/bin/fetchyahoo line 1468. > > Line 1468 of fetchyahoo contains 'use bytes'. I searched pkg-plists for this > file and found it in more recent version of perl, than one that comes with > STABLE. So I guess I should install perl from ports. Is it my only option? > If so, it should be somehow indicated in fetchyahoo port (perl 5.6 dependancy?). I've got the same problem with fetchyahoo-2.8.0 on FreeBSD 4.8R. I don't know enough about Perl to write a workaround though, and don't feel confident installing lang/perl5 (or lang/perl5.8) as that may break something else. I'm a bit paranoid about these things though. $ which perl /usr/bin/perl $ perl -v This is perl, version 5.005_03 built for i386-freebsd "bytes.pm was introduced with 5.6." - http://search.cpan.org/~rgarcia/perl-5.6.2/lib/ExtUtils/MakeMaker/bytes.pm Actually on second thoughts the lang/perl5 port will probably install itself to /usr/local/bin/perl, leaving /usr/bin/perl alone, in which case you can probably just edit /usr/local/bin/fetchyahoo and change #!/usr/bin/perl -w to #!/usr/local/bin/perl -w I don't have a spare PC to test this unfortunately. But it seems logical enough! Regards Andrew