tricycle has asked for the wisdom of the Perl Monks concerning the following question:

I've tried the "perl Makefile.PL" route, and this is the answer I get back:
Error: Unable to locate installed Perl libraries or Perl source code.
... (more stuff) ...
(You get this message, because MakeMaker could not find "/System/Library/Perl/darwin/CORE/perl.h")

This is fair enough - it's not there. But I am a novice with the intricacies of unix, mac or otherwise. Does any monk know a straightforward way to install a module in OS X? Or what I need to do to get to the next step? ("make")
Thank you kindly!

Replies are listed 'Best First'.
Re: installing a module on OS X
by Trimbach (Curate) on May 20, 2001 at 17:24 UTC
    The most straightforward way I can think to install a module on OS X is with the CPAN module, i.e.,
    perl -MCPAN -e shell # gets you to the interactive shell ... install somekindamodule #installs it for you
    It really is a piece of cake, and I haven't had any trouble using it. I installed the LWP libraries (and their dependencies) and Net::SSLeay on my OS X box with no problems at all.

    There's also some more information here.

    Gary Blackburn
    Trained Killer

Re: installing a module on OS X
by larsen (Parson) on May 20, 2001 at 18:15 UTC
    <blockquotes>There's also some more information here.</blockquotes>

    And here also.

      Cheers for the pointers. I've found the solution (on apple's KB) - which is that installing the developer's tools makes the problem go away!