Re: Port build failure: Perl already installed
From: John Prather (jprather_at_uci.edu)
Date: Thu, 24 Feb 2005 15:28:38 -0800
> 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
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.