Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: CPAN won't work on Mountain Lion following attempt to install Bundle::CPAN

by sundialsvc4 (Abbot)
on Feb 05, 2013 at 04:09 UTC ( #1017052=note: print w/ replies, xml ) Need Help??


in reply to CPAN won't work on Mountain Lion following attempt to install Bundle::CPAN

Very definitely, you need to approach this from the point-of-view of “installing Perl as a non-root user” on a shared-hosting machine:   one does not touch, for any reason, the native Perl installation or configuration on the host machine.   You need to define your own local package repository, install your local versions of whatever-you-need there, and make very sure that nothing that you do (or consider doing) has anything to do with “root privileges.”

Mountain Lion, like Lion, changed the “native” Perl version.   It’s a long way from both Leopard and Snow Leopard.   (And for what it’s worth, I can tell you with authority that there are groups at Apple that were somewhat vexed by this.)   So, you are quite comparing apples and oranges in this case.


Comment on Re: CPAN won't work on Mountain Lion following attempt to install Bundle::CPAN
Re^2: CPAN won't work on Mountain Lion following attempt to install Bundle::CPAN
by tshori (Initiate) on Feb 06, 2013 at 12:02 UTC
    Thanks, everyone. I am really new at this, so anything helps. I have another question. So I set an virtual machine so I can try this things without ruining the system. I followed the suggestion and now I am using perlbrew, with perl 5.16. However, if I try to run cpan now without sudo, it tells me it can't do the installation. I checked the report and it is trying to install the module on the perlbrew folder. What am I doing wrong? You guys indicated that I should not install anything with root privileges, so I am avoiding doing that. Thanks!

    T.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (16)
As of 2014-09-22 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (195 votes), past polls