Re: New Perl-Installation on new OS X

[email protected] (John Delacour) Thu, 9 Jun 2011 16:40:12 +0100
Newsgroups perl.macosx
Message-ID <p06240802ca169787d4a9@[192.168.1.66]>
At 16:14 +0100 09/06/2011, Marek Stepanek wrote:

>Probably I will leave the apple Perl it as it is, and make a new 
>install of perl-5.14.0 under /usr/local

That is what I do, so that the two installations are independent. I 
configure simply like this:

cd downloaded_directory
./Configure -de [email protected] [email protected]
make
make test
sudo make install

Others may have more elaborate configuration suggestions but this 
works fine for me.

If I want to use the latest perl I change the shebang accordingly.

One thing to remember, of course, is that to add modules with cpan to 
5.14.0 so configured, rather than to Apple's installation, you need to

cd /usr/local/bin; sudo ./cpan

JD