Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2009 18:06:22 +0300
From:      Oren Maurer <meorero@gmail.com>
To:        freebsd-perl@freebsd.org
Subject:   FreeBSD 7.2 - How to move to perl 5.10 ??
Message-ID:  <b0f44f380905090806gb8115a0h4b875e64d5a984d9@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b0f44f380905090806gb8115a0h4b875e64d5a984d9>