Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

40 views
Skip to first unread message

Lola Lee Beno

unread,
Sep 28, 2011, 1:41:49 PM9/28/11
to mac...@perl.org
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/

John Delacour

unread,
Sep 28, 2011, 3:30:31 PM9/28/11
to Lola Lee Beno, mac...@perl.org
At 13:41 -0400 28/9/11, Lola Lee Beno wrote:

>...Can't exec "/usr/bin/make": No such file or directory at

>Looks like I need to install make. This means, I need to get XCode
>so I can install make, right?

Absolutely! Isn't it on your Mac OS X install disks?

JD

Bruce Van Allen

unread,
Sep 28, 2011, 3:48:23 PM9/28/11
to Lola Lee Beno, mac...@perl.org
On 2011-09-28, Lola Lee Beno wrote:

>Looks like I need to install make. This means, I need to get XCode so I can install make, right?

Other than the huge download of a bunch of XCode stuff you might
never use, that's probably the best way to install make.

- Bruce

_bruce__van_allen__santa_cruz_ca_

Elizabeth Mattijsen

unread,
Sep 28, 2011, 3:53:37 PM9/28/11
to Lola Lee Beno, mac...@perl.org

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

Liz

Lola Lee Beno

unread,
Sep 28, 2011, 3:59:25 PM9/28/11
to Bruce Van Allen, mac...@perl.org
That's what I was afraid of. Apparently a previous install of make got
blown away. In the process of downloading XCode from App Store (uggggh)
. . .


On 9/28/11 3:48 PM, Bruce Van Allen wrote:
> On 2011-09-28, Lola Lee Beno wrote:
>
>> Looks like I need to install make. This means, I need to get XCode
>> so I can install make, right?
>
> Other than the huge download of a bunch of XCode stuff you might never
> use, that's probably the best way to install make.
>

Charlie Garrison

unread,
Sep 28, 2011, 8:23:37 PM9/28/11
to mac...@perl.org, Lola Lee Beno
Good morning,

On 28/09/11 at 3:59 PM -0400, Lola Lee Beno <lo...@his.com> wrote:

>That's what I was afraid of. Apparently a previous install of
>make got blown away. In the process of downloading XCode from
>App Store (uggggh) . . .

I had to install Xcode twice (not download, just install twice).
And I seem to recall some reports from others saying the same
thing. Installing twice also fixed borked xcode for a colleague.
I never bothered to find out why that fixed things; just
proceeded and kept working.


Charlie

--
Ꮚ Charlie Garrison ♊ <garr...@zeta.org.au>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

Adrian Hosey

unread,
Sep 28, 2011, 1:45:59 PM9/28/11
to mac...@perl.org
On Sep 28, 2011, at 1:41 PM, Lola Lee Beno wrote:
>
> Looks like I need to install make. This means, I need to get XCode so I can install make, right?

Yes, but - you should also read this http://deflatermouse.livejournal.com/149721.html

- alh

0 new messages