Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: @INC Problems in Mac OSX Snow Leopard

by jmcnamara (Monsignor)
on Oct 21, 2010 at 15:52 UTC ( [id://866579]=note: print w/replies, xml ) Need Help??


in reply to @INC Problems in Mac OSX Snow Leopard

I've seen this issue on Snow Leopard but I'm not sure exactly what causes it. However, I think it is related to the fact that some Snow Leopard applications can be both 64bit and 32bit at the same time.

When I encountered the problem the installed module had gone into one version of the perl libs and wasn't been picked up by the other.

I'm sorry I don't have a more technical explanation, I googled around for it but got a lot of false matches. Perhaps this will ring a bell with someone else who will be aware of a solution.

In my case I just built my own perl in /opt and stopped installing into the system perl (which was probably a bad idea in the first place). These days I usually use perlbrew.

--
John.

  • Comment on Re: @INC Problems in Mac OSX Snow Leopard

Replies are listed 'Best First'.
Re^2: @INC Problems in Mac OSX Snow Leopard
by luis.roca (Deacon) on Oct 21, 2010 at 19:32 UTC

    "I think it is related to the fact that some Snow Leopard applications can be both 64bit and 32bit at the same time. "

    I looked up some more of the specifics after reading your post. For what it's worth: here's what I found on the various Perl installs on Mac 10.6:

    I don't know... Maybe I would be better off just compiling my own version of Perl and going from there.

    "...the adversities born of well-placed thoughts should be considered mercies rather than misfortunes." — Don Quixote
      You would be, definitely.

      Until I started building my own Perl (and telling it to include the system Perl libs in its @INC), I had nothing but trouble, especially when doing system updates.

      If you build your own, it's guaranteed to have the options you wanted, as opposed to whatever Apple has decided are the right ones.

      A ./Configure -d should build you a workable Perl without you having to answer any questions. If you're into customizing it, leave off the -d and you can customize it to death.

      Or you can use MacPorts or (maybe) brew to install Perl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-18 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found