From owner-freebsd-questions Wed Jul 24 9: 7:13 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 A8C7337B400 for ; Wed, 24 Jul 2002 09:07:10 -0700 (PDT) Received: from nollie.summersault.com (nollie.summersault.com [208.10.44.140]) by mx1.FreeBSD.org (Postfix) with SMTP id F419F43E42 for ; Wed, 24 Jul 2002 09:07:09 -0700 (PDT) (envelope-from mark@summersault.com) Received: (qmail 16311 invoked by uid 1002); 24 Jul 2002 16:07:09 -0000 Date: Wed, 24 Jul 2002 11:07:09 -0500 (EST) From: Mark Stosberg To: freebsd-questions@freebsd.org Subject: perl 5.8.0 "use.perl system" doesn't update /usr/local/bin/perl Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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