Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl errors on Mac OSX Lion

by bitingduck (Friar)
on Jun 09, 2012 at 05:00 UTC ( #975275=note: print w/ replies, xml ) Need Help??


in reply to Perl errors on Mac OSX Lion

First off, are you using the system Perl or have you installed your own? You generally don't want to install things in the system Perl-- the system depends on the Perl that came with it being the way it expects it to be. I'm not up to Lion yet, Snow Leopard shipped with 2 or 3 versions, depending on whether you have a 32 or 64 bit machine: 5.8.9 (32 bit), 5.10.0 (32 bit) and 5.10.0 (64 bit). I'm still on an old 32 bit machine, and managed to install a lot of modules into the 5.10.0 version without breaking anything (I vaguely recall that the system depends more on the 5.8.9 build, but I could be wrong there), but did have some problems with compatibility with some modules not behaving, even though I had all the pre-reqs installed

Your best bet is to install your own version of Perl and add your modules to that. There used to be a lot of pages floating around with instructions as to the best way to do it, but now Perlbrew seems to be the most convenient. It lets you install multiple versions of Perl and switch easily between them. It also comes with cpanp, which works quite well

If you want to go ahead and add modules to your existing install, you might (or might not) have better luck running CPAN in shell mode-- I've pretty much always done it that way and it generally will prompt for pre-reqs as it goes. You can get there with sudo perl -MCPAN -e shell and then install away from there.


Comment on Re: Perl errors on Mac OSX Lion
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-07-28 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (209 votes), past polls