Re: Port build failure: Perl already installed

From: John Prather (jprather_at_uci.edu)
Date: 02/25/05


Date: Thu, 24 Feb 2005 15:28:38 -0800

Bob wrote:
> Mathieu Arnold wrote:
>
>> You did not ran use.perl port after installing the latest perl.
>
>
> I didn't install Perl, one of the ports did. Does the port make process
> not perform such necessary tasks for dependencies?

at some point between 5.1 i think and 5.3, lang/perl5.8 became the
"default" perl. lang/perl5 will not run this task, because
theoretically, you could have both lang/perl5 (perl 5.6) and
lang/perl5.8 installed, and it does not want to replace 5.8 as a default
with 5.6.

If you portupgrade -o lang/perl5.8 lang/perl5, it will upgrade your perl
5.6 to 5.8 and run the use.perl port command afterwards, knowing that
you now have the latest 5.8 and that should therefore be used as the
default perl. (look at /usr/ports/UPDATING regarding perl updates, you'd
need to recompile perl-dependant ports afterwards like portupgrade -f
`pkg_info -Rq perl\*`)

If you wish to keep your perl 5.6 updated without upgrading to 5.8, you
can expect to have to run use.perl port after each version bump to
update your /etc/make.conf to use the newer version.

I had the same confusion at first, because perl 5.6 was installed as
some port's dependency. I have since run use.perl port or simply
upgraded 5.6 to 5.8 on all my boxes.

-john



Relevant Pages

  • Re: Anyone setup or using Request Tracker?
    ... >>that it wouldn't be a good idea to start without Perl 5.8.3. ... > I need to apologize to the port maintainer. ... > about upgrading RT in general. ... Might make installation easier. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: How To Upgrade to Perl 5.8 on 4.9 System?
    ... >> Are there any steps required beyond installing the port? ... I also had to re-install some of my ports after installing the new Perl ...
    (freebsd-questions)
  • Re: Port upgrade/install problem: MySQL and Perl I/F
    ... Subject: Port upgrade/install problem: MySQL and Perl I/F ... When I try to portupgrade the perl interface, ...
    (freebsd-questions)
  • Re: How To Upgrade to Perl 5.8 on 4.9 System?
    ... How To Upgrade to Perl 5.8 on 4.9 System? ... >>installing the new Perl) ... in /usr/local/bin that is installed with the 5.8 port. ... If you are not the intended recipient, ...
    (freebsd-questions)
  • Problems with Device-SerialPort
    ... I'm trying to posr a perl application from FreeBSD to Soalris 10 X86. ... I have several SunFire 2100's for this, which do have a serail port ... checking for gcc... ...
    (comp.lang.perl.modules)