From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 20:35:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8AD716A4CE for ; Fri, 8 Oct 2004 20:35:41 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4078E43D48 for ; Fri, 8 Oct 2004 20:35:40 +0000 (GMT) (envelope-from david.jenkins@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so69229rnl for ; Fri, 08 Oct 2004 13:34:36 -0700 (PDT) Received: by 10.38.181.6 with SMTP id d6mr267848rnf; Fri, 08 Oct 2004 13:34:36 -0700 (PDT) Received: by 10.38.208.74 with HTTP; Fri, 8 Oct 2004 13:34:36 -0700 (PDT) Message-ID: <9395922d04100813344f950942@mail.gmail.com> Date: Fri, 8 Oct 2004 21:34:36 +0100 From: David Jenkins To: Danny In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <0F7C78308FE3BA2A1FF3EEE3@utd49554.utdallas.edu> cc: Paul Schmehl cc: FreeBSD-questions Subject: Re: How to update perl on FreeBSD 4.9R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Jenkins List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 20:35:42 -0000 On Fri, 8 Oct 2004 15:45:25 -0400, Danny wrote: > On Fri, 08 Oct 2004 14:20:56 -0500, Paul Schmehl wrote: > > --On Friday, October 08, 2004 02:40:06 PM -0400 Danny > > wrote: > > > > > > Whatever is easiest; I do not feel like rebuilding the src, but I > > > don't know if I need to. > > > > > > I am trying to install a perl CPAN module: > > > > > > mx1# perl Makefile.PL > > > Perl 5.006 required--this is only version 5.00503, stopped at > > > Makefile.PL line 3. > > > BEGIN failed--compilation aborted at Makefile.PL line 3. > > > mx1# > > > > > > All I know is that I need to update to a newer version. > > > > > >> It might be helpful if you described what you're trying to accomplish. > > > > > > To update to a newer version of Perl, so that I can install this > > > date:calc CPAN module. > > > > > Then I would recommend that you install the ports version of perl - > > /usr/ports/lang/perl5.8/ > > > > When you finish, you need to run use.perl port (read pkg-message), and > > you'll have to rebuild any ports you've already built that use perl since > > you will have changed the default perl installation. > > mx1# use.perl Makefile.PL > use.perl: Command not found. > mx1# rehash > mx1# use.perl Makefile.PL > Usage: > /usr/local/bin/use.perl port -> /usr/bin/perl is the perl5 port > /usr/local/bin/use.perl system -> /usr/bin/perl is the system perl > mx1# > > Am I missing something, or am I just having a bad Friday? > > Thank you for your help, Paul. > Hi Danny, As Paul previously commented, you need to run "use.perl port". This will update /etc/make.conf to tell your system to use the ports version of Perl in future. David