Skip site navigation (1)Skip section navigation (2)
Date:      15 Aug 2001 16:22:40 -0700
From:      Ken McGlothlen <mcglk@artlogix.com>
To:        ports@freebsd.org
Subject:   lang/perl5?!
Message-ID:  <87zo9052nz.fsf_-_@ralf.artlogix.com>
In-Reply-To: <20010815234603.C41670@heechee.tobez.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm . . . confused.

I decided to update Perl on my system.  Yes, I know, 5.005_03 is installed in
4.3-STABLE by default, at /usr/bin/perl.  But I'd like to have 5.6.1 sitting at
/usr/local/bin/perl.

Here's my uname -a line:

FreeBSD ralf.artlogix.com 4.3-STABLE FreeBSD 4.3-STABLE #9: Tue Jul 31 17:12:14 PDT 2001     root@:/usr/obj/usr/src/sys/RALF  i386

A fairly recent build.  Unfortunately, going to /usr/ports/lang/perl5 and
typing "make" results in this:

    # make
    ===>  perl-5.005 is forbidden: perl is in system.
    # _

which makes sense, since somebody put the following lines in the Makefile:

    # If you know what you are doing, you may disable this! 
    .if ${OSVERSION} > 300003 
    FORBIDDEN=      perl is in system 
    .endif 

Under the assumption that I knew what I was doing (perhaps a silly one, I'll
admit), I commented out the lines and tried again.  This time, I got

    # make
    >> perl-5.005.tar.gz is not in /usr/ports/lang/perl5/distinfo.
    >> Either /usr/ports/lang/perl5/distinfo is out of date, or
    >> perl-5.005.tar.gz is spelled incorrectly.
    *** Error code 1

    Stop in /usr/ports/lang/perl5.
    ["Error code" and "Stop" six more times]
    # _

That was odd, I thought to myself.  Why's it looking for perl-5.005.tar.gz in
distinfo?  So I tried this:

    # make -n
    cd /usr/ports/lang/perl5 && make 'CKSUMFILES+=perl-5.005.tar.gz' configure
    cd /usr/ports/lang/perl5 && make 'CKSUMFILES+=perl-5.005.tar.gz' real-build
    # _

Can't perl-5.005_03 (at /usr/bin/perl) and perl-5.6.1 (at /usr/local/bin/perl)
coexist on the same system?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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