On 11/22/03 3:14 AM, "John Fowler" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I have tried to install perl 5.8.2 on my powerbook running 10.2.
> 
> I used information on one of Apple's web pages to try this:
> 
> http://developer.apple.com/internet/macosx/perl.html
> 
> 
> Note that this page is for installing 5.8.0, but it seemed to work OK,
> substituting the newer 5.8.2 downloaded gz file.
> 
> I followed the instructions exactly (I think), using the default
> installation configuration, NOT installing the new Perl on top of
> Apple's Perl 5.6.0.
> 
> The make seemed to work.
> 
> The make test gave me three errors - two with Berkeley DB (as mentioned
> on Apple's page), and one in a Ping test.
> 
> I went ahead and make installed anyway.
> 
> this also seemed to work.
> 
> 
> However, when I checked the perl version ("perl -v"), it told me I am
> still running 5.6.0.  This even after a restart.

By default, a new installation of perl 5.8.2 (and earlier) doesn't overwrite
the default perl executable installed in /usr/bin, which is the directory
that the shell's searching before /usr/local/bin which is  where perl 5.8.2
was installed.  So, when you execute perl -v, it's still launching the perl
5.6.0 preinstalled on OS X 10.2.  If you look in /usr/local/bin, however,
you'll find "perl" and "perl5.8.2" commands.  So either of these commands
will verify that your perl 5.8.2 installation proceeded properly:

/usr/local/bin/perl -v
/usr/local/bin/perl5.8.2 -v

If you want to switch the plain old "perl" command to refer to perl 5.8.2,
you'll need to switch some symlinks around, but since I'm no longer running
10.2, I don't want to suggest something that may end up stomping on your
perl 5.6.0 install.  I'm sure others can help.

 - geoff

Reply via email to