How to update perl on FreeBSD 4.9R
    David Jenkins 
    david.jenkins at gmail.com
       
    Fri Oct  8 13:47:43 PDT 2004
    
    
  
On Fri, 8 Oct 2004 16:40:40 -0400, Danny <nocmonkey at gmail.com> wrote:
> On Fri, 8 Oct 2004 21:34:36 +0100, David Jenkins
> <david.jenkins at 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
    
    
More information about the freebsd-questions
mailing list