http://www.perlmonks.org?node_id=640524


in reply to Re: Configuring Mac OS X to Install Perl Modules
in thread Configuring Mac OS X to Install Perl Modules

I had expected that to be true as well, but when I tried installing a pure Perl module on a Mac OS X, I found that with the default installation the error
make: *** No rule to make target `/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/config.h', + needed by `Makefile'. Stop.
arose. This was fixed by installing the Xcode package, which contains the C compiler.

Replies are listed 'Best First'.
Re^3: Configuring Mac OS X to Install Perl Modules
by jhourcle (Prior) on Sep 23, 2007 at 01:50 UTC

    Xcode contains more than just a compiler. In fact, if you just installed GCC, it wouldn't work.

    The actual item needed is the 'BSD Subsystem', which contains the necessary header files.

Re^3: Configuring Mac OS X to Install Perl Modules
by syphilis (Archbishop) on Sep 23, 2007 at 09:00 UTC
    Is that the output from running the Makefile.PL ?

    It looks to me more like something you would get from running 'make' ... when the build of perl doesn't include config.h (as is often the case with non-devel perl installations on nix-like systems).

    But I don't have Mac OS X, so I should really just shut up. (Besides, I think I might have shifted from trying to make minor corrections, to trying to split hairs :-)

    Cheers,
    Rob