Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Configuring Mac OS X to Install Perl Modules

by syphilis (Chancellor)
on Sep 22, 2007 at 08:07 UTC ( #640491=note: print w/replies, xml ) Need Help??

in reply to Configuring Mac OS X to Install Perl Modules

Note: For some reason, you need a C compiler to run and some other stuff

Just a minor correction to that. You don't need a C compiler to run Makefile.PL. (Admittedly, some Makefile.PL's will check that you have a working C compiler and terminate if it can't be found.) But you will need a C compiler to perform any compilations that may be needed during the 'make' phase of the build process.

  • Comment on Re: Configuring Mac OS X to Install Perl Modules

Replies are listed 'Best First'.
Re^2: Configuring Mac OS X to Install Perl Modules
by randyk (Parson) on Sep 22, 2007 at 14:50 UTC
    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.

      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.

      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 :-)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://640491]
and the sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2018-01-23 02:14 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (238 votes). Check out past polls.