in reply to Make not working in CPAN shell on OSX

So my question is that how do I install the "make" so that I am able to install modules directly from CPAN and don't have to install them manually?

Installing modules manually would be calling make yourself, what you're describing is installing modules by hand -- don't want that.

See http://developer.apple.com/tools/gcc_overview.html, but don't ask me how install it :)

  • Comment on Re: Make not working in CPAN shell on OSX

Replies are listed 'Best First'.
Re^2: Make not working in CPAN shell on OSX
by Anshu (Initiate) on Jun 10, 2011 at 08:12 UTC
    thanks "anonymous Monk" for the response

    anyways.. I found the problem.

    I did a 'whereis make' .. and realized that there is no make in /usr/bin

    Then, out of curiosity, I did a 'whereis gcc' .. and realized no gcc either in /usr/bin

    Oddly, I have Xcode installed and these (gcc and make) exist in /Developer/usr/bin

    Then I tried to 'look Spreadsheet::WriteExcel' (in CPAN shell) and tried to do the manual install steps of

    perl Makefile.PL
    /Developer/usr/bin/make install
    no dice still. It told me that
    make: *** No rule to make target `/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop.
    Finally I think my perl installation is pretty much fried. Will reinstall from my OSX DVD.