From owner-freebsd-questions Wed Jul 24 10:35:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EAFB37B400 for ; Wed, 24 Jul 2002 10:35:23 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F12743E67 for ; Wed, 24 Jul 2002 10:35:23 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (2b5ba4927b40b1ba2fd274434c6e7bdf@localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g6OHZl2e064013; Wed, 24 Jul 2002 10:35:47 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g6OHZlK7064012; Wed, 24 Jul 2002 10:35:47 -0700 (PDT) (envelope-from monkey) Date: Wed, 24 Jul 2002 10:35:47 -0700 From: Adam Weinberger To: Mark Stosberg Cc: freebsd-questions@FreeBSD.ORG Subject: Re: perl 5.8.0 "use.perl system" doesn't update /usr/local/bin/perl Message-ID: <20020724173547.GU94707@vectors.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG /usr/local is where ports go. ports don't install into /usr/{bin,include,lib}, and system doesn't install into /usr/local{bin,include,lib}. that's the whole point. you should modify your scripts to use /usr/bin/perl. if you want to use perl5.8.0, use /usr/local/bin/perl5.8.0 -Adam >> (07.24.2002 @ 0907 PST): Mark Stosberg said, in 1.3K: << > > Hello, > > I recently installed the Perl 5.8 port for FreeBSD easily with "make > install". Thanks to the FreeBSD crew for making this so easy. It was > also nice to find the "use.perl" script to easily switch between the > system perl and the perl port. > > I ran into a small hang-up running "use.perl system" (after running > "user.perl port") which I'd like to > ask about. The script sucessfully updated "/usr/bin/perl", but left me > with a couple oddities. > > First, "/usr/bin/perl5.8.0" now points to perl 5.00503, which is > confusing. > > Secondly, "/usr/local/bin/perl" still points to the newer Perl 5.8.0. As > a FreeBSD user from the 2.2.x days, I still have several perl scripts on > the system that refer to "/usr/local/bin/perl", because /usr/bin/perl > pointed to perl 4, if I recall correctly. > > It's easy enough to work around this with some symbolic links, but I > expected the "use.perl system" script would have updated > "/usr/local/bin/perl" to point to the older perl as well, while still > preserving the perl 5.8 binary somewhere. > > Does anyone have any insights into why the "use.perl" script isn't > taking care of this? > > (I'm running FreeBSD 4.5 RELEASE). > > -mark > > http://mark.stosberg.com/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > >> end of "perl 5.8.0 "use.perl system" doesn't update /usr/local/bin/perl" from Mark Stosberg << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message