Re: Can't Update CPAN, Can't Install DBD::mysql

[email protected] (Elizabeth Mattijsen) Wed, 28 Sep 2011 21:53:37 +0200
Newsgroups perl.macosx
Message-ID <[email protected]>
On Sep 28, 2011, at 7:41 PM, Lola Lee Beno wrote:
> I upgraded to Lion.  I have pre-existing Perl modules that I had =
installed, but I hadn't yet installed DBD::mysql.
>=20
> When I try to install DBD::mysql, I get this:
>=20
> 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
>=20
>=20
> When I try to update CPAN, I get this:
>=20
> Warning: Prerequisite 'File::HomeDir =3D> 0.69' for =
'ANDK/CPAN-1.9800.tar.gz' failed when processing =
'ADAMK/File-HomeDir-0.98.tar.gz' with 'make =3D> 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
>=20
> 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
>=20
> 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.
>=20
> Looks like I need to install make.  This means, I need to get XCode so =
I can install make, right?

Yes, that would be a good start.  :-)   No guarantees after that though, =
but Xcode is essentially a prerequisite on Mac OS X.



Liz=