FreeBSD 7.2 - How to move to perl 5.10 ??

Cezary Morga cm at therek.net
Sat May 9 16:24:46 UTC 2009


Oren Maurer wrote:
> So ... How do I move to the newer Perl - from 5.8.9 to 5.10?

See /usr/ports/UPDATING, entry from 20090328.

> Most important - I want it to use threads.

If you need threads you have to compile Perl with WITH_THREADS=yes flag.

>===>  perl-threaded-5.10.0_2 conflicts with installed package(s):
>      perl-5.8.9_2
>
>      They install files into the same place.
>      Please remove them first with pkg_delete(1).

You said it yourself that you have a FreeBSD with 5.8.9:

> I have just installed the latest FreeBSD version (7.2)
> perl -v tells me  that  it is v5.8.9.

So, instead of 'make install' do 'make deinstall' and then 'make reinstall'.

Afterwards, you have to recompile any Perl module (p5- ports) you already have 
in your system, see /usr/ports/UPDATING. Same goes for CPAN installed modules.

PS. Haven't I seen you on Padre mailing list? :)
-- 
Cezary Morga
"What is written without effort is in general read without pleasure." (Samuel 
Johnson)



More information about the freebsd-perl mailing list