Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Perl errors on Mac OSX Lion

by bitingduck (Chaplain)
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975275]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2018-06-19 02:11 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.