I want to install a few CPAN modules in OSX.

It filed since the module I want requires make and gcc to be installed. A quick google on the subject tells me that I need to install "Apple developer tools".

Do I really have to install the entire Xcode package (it's a 3GB download) just to get make and gcc?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

It's the easiest way.

Note that you might not need to download it - some Macs come with a Developer Tools CD, or a developer tools package on one of your install DVDs (usually the second one, with the bundled applications).

link|improve this answer
I have a Macbook Air - It came with a restore-ssd, nothing else. – Nifle Dec 10 '10 at 14:00
Have you had a look on there? It's the equivalent of the install DVDs, and I'd be surprised if the dev tools weren't on there somewhere. On the DVDs at least there's usually a package in the root or an "additional software" folder - I see no reason that they wouldn't be on there somewhere. – Scott Dec 10 '10 at 15:15
And the installer might be on the hard drive already, I've seen that on a few Macs. Look in the Application folder for something that looks like developer and see if there is an installer inside. – David Rouse Dec 10 '10 at 15:46
This is slightly orthogonal to this question, but for future Googlers. The Xcode installer bundles together a bunch of (smaller) .pkg packages. In theory, you should be able to open Xcode and install only what you really want from it. See this link, for example, github.com/mxcl/homebrew/wiki/Xcode – Telemachus Dec 20 '10 at 17:59
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.