Symphesis has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to install some modules in Mac os x. I'm using the 'sudo perl -MCPAN -e "shell"' command. I get into the CPAN shell and I try to install Bundle::CPAN. It seems to work fine, but at the end I get
Checking if your kit is complete... Looks good Writing Makefile for ExtUtils::ParseXS Can't exec "/usr/bink/make": No such file or directory at /System/Libr +ary/Perl/5.8.8/CPAN.pm line 4565. /usr/bink/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Running make for D/DA/DAGOLDEN/Module-Build-0.3800.tar.gz Is already unwrapped into directory /Users/Symphesis/.cpan/build/Mod +ule-Build-0.3800
I checked and I do have a /usr/bin/make command, but as you can see it's trying to execute /usr/bink/make, which obviously doesn't exist. Is there a way to work around this?

Replies are listed 'Best First'.
Re: /usr/bin/make error on Mac os x
by syphilis (Archbishop) on Apr 19, 2011 at 05:12 UTC
    Hi,
    Try and find out where that silly "/usr/bink/make" is coming from. Line 4565 of /System/Library/Perl/5.8.8/CPAN.pm looks a likely starting place.

    Not that I know anything about Macs, but I expect that if you can get "bink" replaced with "bin", you'll have the problem licked.

    Cheers,
    Rob
        I found this section of the code without problem, but I'm very bad with code. Do I need to add something or delete something? I used the search function, but I couldn't find any "bink" sections in the code. I'm sorry I'm so lost. I appreciate your help.