Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2004 21:34:36 +0100
From:      David Jenkins <david.jenkins@gmail.com>
To:        Danny <nocmonkey@gmail.com>
Cc:        FreeBSD-questions <questions@freebsd.org>
Subject:   Re: How to update perl on FreeBSD 4.9R
Message-ID:  <9395922d04100813344f950942@mail.gmail.com>
In-Reply-To: <addc34c604100812453554159@mail.gmail.com>
References:  <addc34c604100811227addd077@mail.gmail.com> <0F7C78308FE3BA2A1FF3EEE3@utd49554.utdallas.edu> <addc34c604100811402adfd803@mail.gmail.com> <BFDD426CB284C3C61541E9DF@utd49554.utdallas.edu> <addc34c604100812453554159@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Oct 2004 15:45:25 -0400, Danny <nocmonkey@gmail.com> wrote:
> On Fri, 08 Oct 2004 14:20:56 -0500, Paul Schmehl <pauls@utdallas.edu> wrote:
> > --On Friday, October 08, 2004 02:40:06 PM -0400 Danny <nocmonkey@gmail.com>
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9395922d04100813344f950942>