467,170 Members | 1,116 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,170 developers. It's quick & easy.

Installing Perl 5.10 on OSX

Ok, so i'm just trying to learn Perl but I want to make sure that I have the latest edition before I get too far into it. By typing "perl -V" in Terminal I can see that I have perl v. 5.8.6 and I would like to install perl 5.10.

I took the source code from the website and followed the installation instructions:

./Configure -des -Dprefix=$HOME/localperl
make test
make install

And it shows no error in installation. But when i type perl -v into terminal it is still loading up pearl 5.8.6. Is there some other way that I have to load up the new version of perl or did i do something wrong in the installation? Sorry, im sure that this is a really basic question but I am new to all of this. Thanks for any help.
Sep 13 '08 #1
  • viewed: 2739
Share:
2 Replies
Oh and it is currently creating a folder in the directory when i run the installation:

/username/localperl
Sep 13 '08 #2
numberwhun
Expert Mod 2GB
Oh and it is currently creating a folder in the directory when i run the installation:

/username/localperl
Ok, that's fine, but where is the new Perl executable? Is it under /username/localperl/bin? If so, is that in your path?

If not, then what you want to do is find where the current executables are (that are actually being called). Just type "which perl". From there, you should probably delete them and create softlinks to the new executables. At least, that is what I would do.

Regards,

Jeff
Sep 13 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by bagsmode | last post: by
1 post views Thread by Kerry Shetline | last post: by
1 post views Thread by kenneth kahn | last post: by
1 post views Thread by perl | last post: by
3 posts views Thread by autodidact | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.