Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Configuring Mac OS X to Install Perl Modules

by syphilis (Archbishop)
on Sep 22, 2007 at 08:07 UTC ( [id://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 Makefile.pl 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.

Cheers,
Rob
  • 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 :-)

      Cheers,
      Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-20 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found