perl and berkeley

David J. Weller-Fahy dave-lists-freebsd-questions at weller-fahy.com
Wed May 26 23:58:58 PDT 2004


* Len Conrad <LConrad at 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 ]


More information about the freebsd-questions mailing list