From owner-cvs-all Thu Aug 22 3:34:17 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B48237B400; Thu, 22 Aug 2002 03:34:13 -0700 (PDT) Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DC0443E4A; Thu, 22 Aug 2002 03:34:12 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 264BAAC29; Thu, 22 Aug 2002 12:34:10 +0200 (CEST) Date: Thu, 22 Aug 2002 12:34:10 +0200 From: Anton Berezin To: Josef Karthauser Cc: Joerg Wunsch , 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> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020822102829.GB6630@genius.tao.org.uk> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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