Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 22:58:00 -0800
From:      "David J. Weller-Fahy" <dave-lists-freebsd-questions@weller-fahy.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: perl and berkeley
Message-ID:  <20040527065822.GA60211@weller-fahy.com>
In-Reply-To: <6.1.0.6.2.20040526224910.031d07a8@81.255.84.73>
References:  <6.1.0.6.2.20040526161236.03124ec0@81.255.84.73> <20040526233114.GA57519@weller-fahy.com> <6.1.0.6.2.20040526224910.031d07a8@81.255.84.73>

next in thread | previous in thread | raw e-mail | index | archive | help
* Len Conrad <LConrad@Go2France.com> [2004-05-26 20:42 -0800]:
> # use.perl port
> # which perl
> /usr/bin/perl
>
> >Check out the rest of that file for more information.
>
> ports are not installed, just specific pkgs
>
> # pkg_info
> ...
> db3-3.3.11,1        The Berkeley DB package, revision 3
> ...
> perl-5.8.0_4        Practical Extraction and Report Language

Hrmm... Sorry about that, I'd assumed that you'd installed from ports,
not packages.  On my box, in the /usr/bin directory:

$ls -alT perl*
lrwxr-xr-x  1 root  wheel     19 Mar 20 15:25:53 2004 perl@ -> /usr/local/bin/perl
...
lrwxr-xr-x  1 root  wheel     19 Mar 20 15:25:53 2004 perl5.8.2@ -> /usr/local/bin/perl
...

So, you should be able to check your /usr/bin directory for the perl and
perl5.8.0 files.  If they are links to the system's perl, then simply
link them to the new location (which should be /usr/local/bin/perl).
That should allow the newer perl to be used by default.

HTH,
-- 
dave [ please don't CC me ]



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