Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 18:30:09 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        Mark Stosberg <mark@summersault.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: perl 5.8.0 "use.perl system" doesn't update /usr/local/bin/perl
Message-ID:  <20020724163009.GB26176@freepuppy.bellavista.cz>
In-Reply-To: <Pine.BSF.4.44.0207241058440.15477-100000@nollie.summersault.com>
References:  <Pine.BSF.4.44.0207241058440.15477-100000@nollie.summersault.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 24 Jul 2002 11:07:09 -0500 (EST)
> From: Mark Stosberg <mark@summersault.com>
> To: freebsd-questions@freebsd.org
> Subject: perl 5.8.0 "use.perl system" doesn't update /usr/local/bin/perl

    first, i'm no authority, so take this with a grain of salt

> 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.

    surely that looks like a bug
 
> 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.
 
    /usr/local/bin/perl being the 5.8.0 perl is ok IMO. the correct
    solution should be to modify your legacy scripts.

> 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'd say because it wasn't intended to make the /usr/local/bin/perl
    point to the system perl.

-- 
FreeBSD 4.6-STABLE
6:27PM up 8 days, 4:46, 5 users, load averages: 0.14, 0.04, 0.01

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




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