Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Broken perl installation on Mac OS X

by pemungkah (Priest)
on Jul 08, 2009 at 03:52 UTC ( #778110=note: print w/ replies, xml ) Need Help??


in reply to Broken perl installation on Mac OS X

The README in /Library/Perl/Updates says that

In the module search order (@INC), this directory comes before the system perl directory, so modules installed here can be used to update perl-standard modules. The installprivlib Config parameter is now set to this directory, so that (for instance) setting INSTALLDIRS=perl will cause modules to be install here
So it sounds like if you've got modules that are acting up in there, you should be able to clear this directory out to get back to normal (as in, nothing new's installed).

What I'd really suggest is installing MacPorts (http://macports.org) and building your own Perl 5.10. It's always dicey to mess with the system Perl, as anything in the system that depends on it will also get broken if you break the system Perl.


Comment on Re: Broken perl installation on Mac OS X
Re^2: Broken perl installation on Mac OS X
by NewRun (Novice) on Jul 09, 2009 at 02:59 UTC
    I deleted everything in that folder, and now everything seems to be working again. I do not know what caused the problem or how this fixed it, but I suppose that doesn't matter. Thank you for your assistance.
      I just came across this same problem and as often seems to be the case, PerlMonks had the answer.

      I had a directory called /Library/Perl/Updates/5.8.8 that contained the same readme file as mentioned above. I renamed it to 5.8.8_old, ran CPAN again and modules installed without issue.

      I'm thinking that maybe the problem arises when the machine has been upgraded or restored from an old disk image (Time Machine).

      Short version: +1 for try deleting or renaming anything in /Library/Perl/Updates/.

      Thanks Monks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-10-25 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls