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

I've been using Perl on Mac OS X for some time but I am trying to assist at long distance, another user who hasn't. My instructions to him were to use CPAN to install certain packages, but the very first install he tried ended with the error,
Writing Makefile for LWP make: *** No rule to make target `/System/Library/Perl/5.8.6/darwin-th +read-multi-2level/CORE/config.h', needed by `Makefile'. Stop. /usr/bin/make -- NOT OK
When I look in my Perl CORE directory there is a slew of *.h files including config.h. He claims there is nothing in his directory except libperl.dylib, perl.h and reenter.h. I'm baffled why his OS X Perl installation should be different from mine in lacking these files. Should they be there by default? Or did he miss out some basic step when installing the OS X Developer Tools disk? Or...? Thanks for any advice you can give... Dave Cortesi

Replies are listed 'Best First'.
Re: Mac OS X Installation
by jhourcle (Prior) on Jul 13, 2006 at 21:47 UTC

    You need to pop in the developer tools disks, and install the BSD SDK. It's not under what I would have thought of as an obvious place for the file, personally. You'll also want the Mac OS X SDK, if you didn't install it already.

Re: Mac OS X Installation
by rvosa (Curate) on Jul 20, 2006 at 09:34 UTC
    Older versions of OSX seem to have a severely crippled version of perl (missing headers, pod). In that case it is probably easiest to install the darwinports version of perl (rather than upgrade osx, install dev tools, etc.)
A reply falls below the community's threshold of quality. You may see it by logging in.