From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 20:47:43 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 7310816A4CE for ; Fri, 8 Oct 2004 20:47:43 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B66243D46 for ; Fri, 8 Oct 2004 20:47:43 +0000 (GMT) (envelope-from david.jenkins@gmail.com) Received: by mproxy.gmail.com with SMTP id 73so151030rnl for ; Fri, 08 Oct 2004 13:47:11 -0700 (PDT) Received: by 10.38.165.11 with SMTP id n11mr271717rne; Fri, 08 Oct 2004 13:47:10 -0700 (PDT) Received: by 10.38.208.74 with HTTP; Fri, 8 Oct 2004 13:47:10 -0700 (PDT) Message-ID: <9395922d04100813475ad2f7f2@mail.gmail.com> Date: Fri, 8 Oct 2004 21:47:10 +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> <9395922d04100813344f950942@mail.gmail.com> 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:47:43 -0000 On Fri, 8 Oct 2004 16:40:40 -0400, Danny wrote: > On Fri, 8 Oct 2004 21:34:36 +0100, David Jenkins > wrote: > > 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. > > mx1# use.perl port 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# > > "port" as in the name of the port you are using? I have never really > worked with perl before. > > I am following the instructions here: > http://www.cpan.org/modules/INSTALL.html > > Specifically at this step: > > perl Makefile.PL > > in my case, I would do use.perl port Makefile.pl? Or use.perl Makefile.pl? > > Either way, I have tried both, and I get: > > mx1# /usr/local/bin/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# > > ...D > I think you are missing the point here. At the prompt enter the following as root (without the quotes) or prepend sudo to it. "use.perl port" That has now set your system to use the 5.8 release of perl. Then follow the instructions for building the perl module. PS - Also, as previosuly mentioned by Paul, you will then need to rebuild all of your currently installed Perl modules - if you need to use them ... David