I upgraded to Lion. I have pre-existing Perl modules that I had
installed, but I hadn't yet installed DBD::mysql.
When I try to install DBD::mysql, I get this:
Checking if your kit is complete...
Looks good
Using DBI 1.615 (for perl 5.012003 on darwin-thread-multi-2level)
installed in
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/DBI/
Writing Makefile for DBD::mysql
Can't exec "/usr/bin/make": No such file or directory at
/System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
CAPTTOFU/DBD-mysql-4.020.tar.gz
/usr/bin/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:
CAPTTOFU/DBD-mysql-4.020.tar.gz : make NO
When I try to update CPAN, I get this:
Warning: Prerequisite 'File::HomeDir => 0.69' for
'ANDK/CPAN-1.9800.tar.gz' failed when processing
'ADAMK/File-HomeDir-0.98.tar.gz' with 'make => NO'. Continuing, but
chances to succeed are limited.
Can't exec "/usr/bin/make": No such file or directory at
/System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
ANDK/CPAN-1.9800.tar.gz
/usr/bin/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:
ADAMK/Test-Script-1.07.tar.gz : make NO
CHANSEN/Mac-SystemDirectory-0.06.tar.gz : writemakefile NO -- No
'Makefile' created
ANDK/CPAN-1.9800.tar.gz : make NO
ADAMK/File-HomeDir-0.98.tar.gz : make NO
RJBS/IPC-Run3-0.044.tar.gz : make NO
ADAMK/File-Which-1.09.tar.gz : make NO
So the common denominator is: Can't exec "/usr/bin/make": No such file
or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
Looks like I need to install make. This means, I need to get XCode so I
can install make, right?
--
Lola J. Lee Beno
LinkedIn: http://www.linkedin.com/in/lolajleebeno
Facebook: http://www.facebook.com/profile.php?id=714355583
Blog: http://www.lolajl.net/blog/