FreeBSD 7.2 - How to move to perl 5.10 ??

Oren Maurer meorero at gmail.com
Sat May 9 15:26:58 UTC 2009


Hallo all.

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

But I was happy to see that I have /usr/ports/lang/perl5.10

So ... How do I move to the newer Perl - from 5.8.9 to 5.10?

Most important - I want it to use threads.


I  found an old post :  "Step-by-step to upgrade Perl"
http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/043400.html

Here is how I tried with light changes:
   i)
        # cd /usr/ports/lang/perl5.10/

I add this line:
        # make WITH_THREADS=yes

This ends with:
           Everything is up to date. Type 'make test' to run test suite.
So I typed 'make test'  and it ended with:
            All tests successful.
u=24.25  s=8.43  cu=1456.43  cs=193.62  scripts=1434  tests=190093

Now I run:

        # make install

This ends with:
===>  Installing for perl-threaded-5.10.0_2

===>  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).
*** Error code 1

Stop in /usr/ports/lang/perl5.10.
*** Error code 1

Stop in /usr/ports/lang/perl5.10.

Ohhh... I really have it? That's what the installation gave me.


How do I upgrade to Perl 5.10
-- 
________________________________
Oren  Maurer
http://meorero.wordpress.com
http://www.meorero.org.il
_______________________________
#  =======================|
#  Please avoid sending me Word |
#   or PowerPoint attachments      |
#  =======================|
# See: http://www.gnu.org/philosophy/no-word-attachments.html


More information about the freebsd-perl mailing list