Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2004 21:47:10 +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:  <9395922d04100813475ad2f7f2@mail.gmail.com>
In-Reply-To: <addc34c604100813401bdc6ba7@mail.gmail.com>
References:  <addc34c604100811227addd077@mail.gmail.com> <0F7C78308FE3BA2A1FF3EEE3@utd49554.utdallas.edu> <addc34c604100811402adfd803@mail.gmail.com> <BFDD426CB284C3C61541E9DF@utd49554.utdallas.edu> <addc34c604100812453554159@mail.gmail.com> <9395922d04100813344f950942@mail.gmail.com> <addc34c604100813401bdc6ba7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Oct 2004 16:40:40 -0400, Danny <nocmonkey@gmail.com> wrote:
> On Fri, 8 Oct 2004 21:34:36 +0100, David Jenkins
> <david.jenkins@gmail.com> 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



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