Perl: Can't exec "make": No such file or directory
I'm trying to install Perl modules using the Mac Terminal with cpan and keep getting the message "Can't exec "make": No such file or directory" e.g.:
CPAN.pm: Going to build I/IN/INGY/YAML-0.90.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for YAML
Can't exec "make": No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
INGY/YAML-0.90.tar.gz
make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
INGY/YAML-0.90.tar.gz : make NO
I looked at this topic (https://discussions.apple.com/thread/2787550), installed Xcode, even su'd to root, still getting the same.
How can I get make installed?
thanks,
Scott
MacBook Pro (15-inch 2.4/2.2 GHz), OS X Mountain Lion (10.8.5)