Mac 10.7 - Não é possível usar o utilitário make após instalar o xcode

Mac 10.7 - Não é possível usar o utilitário make após instalar o xcode

Estou tentando instalar um módulo perl que baixei manualmente do CPAN, mas estou encontrando dificuldades.

$perl Makefile.PL 
Welcome to JSON (v.2.53)
=============================
If you install JSON::XS v.2.27, it makes JSON faster.

 ************************** CAUTION **************************
 * This is 'JSON version 2' and there are many differences   *
 * to version 1.xx                                           *
 * Please check your applications useing old version.        *
 *   See to 'INCOMPATIBLE CHANGES TO OLD VERSION' and 'TIPS' *
 *************************************************************


Writing Makefile for JSON
$make
make: *** No rule to make target `/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'.  Stop.

Aqui está alguém com o mesmo problema, mas não consegui fazer com que a solução funcionasse para mim.

https://stackoverflow.com/questions/6793499/perl-config-h-needed-by-makefile-problem-after-osx-lion-upgrade

Tenho o Xcode instalado - e o pacote Command Line Tools. Inserindo saídas 'que fazem':

$which make
/Applications/Xcode.app/Contents/Developer/usr/bin/make

Quais saídas perl:

$which perl
/usr/bin/perl

O que estou fazendo incorretamente? Isso é um problema com Perl?

informação relacionada