Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 12:34:10 +0200
From:      Anton Berezin <tobez@FreeBSD.org>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        Joerg Wunsch <j@uriah.heep.sax.de>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, sheldonh@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/perl pathnames.h perl.c
Message-ID:  <20020822103410.GG5446@heechee.tobez.org>
In-Reply-To: <20020822102829.GB6630@genius.tao.org.uk>
References:  <200208212054.g7LKsja8062092@freefall.freebsd.org> <20020822083848.GJ71936@starjuice.net> <20020822112151.A17650@uriah.heep.sax.de> <20020822102041.GF5446@heechee.tobez.org> <20020822102829.GB6630@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 22, 2002 at 11:28:29AM +0100, Josef Karthauser wrote:
> On Thu, Aug 22, 2002 at 12:20:41PM +0200, Anton Berezin wrote:
> > > redirector there.  We've got so many other redirectors (MTA,
> > > binutils -> ELF/COFF etc.), why not keep /usr/bin/perl as well?
> > 
> > I think it can be safely removed after certain modifications are made to
> > the use.perl utility.  The ultimate goal is to be able to install
> > several different perls that do not conflict with each other (this is
> > not the case now).  Please bear with me until I get this done.
> 
> I got bitten a few days ago, upgrading to a new version of perl in
> the ports meant that I had to reinstall all of my p5- ports too
> because the new @INC didn't include the old module directory.  This
> didn't used to happen when perl was in the base.
> 
> Have you had thoughts on how to prevent this from happening?

This is not always possible for binary modules.  For example, perl5.8 is
NOT binary compatible with perl5.6.

The right thing (for multiple perl co-existence) would be to have the
different prefixes (p5-, p58- etc) for modules installed for different
perls.  I am planning to steal a lot from bsd.ruby.mk (thanks knu) and
finally introduce bsd.perl.mk - I've seen, like, three versions of those
posted to ports@ in the last two years.

This will not prevent you from the necessity of installing new set of
modules, but it will prevent you from a lot of nasty surprises.

Cheers,
*Anton.
-- 
| Anton Berezin                |      FreeBSD: The power to serve |
| catpipe Systems ApS   _ _ |_ |           http://www.FreeBSD.org |
| tobez@catpipe.net    (_(_||  |                tobez@FreeBSD.org | 
| +45 7021 0050                |         Private: tobez@tobez.org |

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




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