Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Has Magic Smoke gotten out of make?

by markmoon (Deacon)
on Sep 14, 2007 at 22:34 UTC ( #639097=perlquestion: print w/replies, xml ) Need Help??

markmoon has asked for the wisdom of the Perl Monks concerning the following question:

Hola Monkly Ones,

I've been struggling with this all day and now I must ask for your help...

The Victim:

Mac OS X 10.4.1
  • Perl 5.8.6
  • MCPAN which was working previously and had installed many modules quite happily, now seems to be fubar'ed and glares menacingly at me
  • Can't install anything using MCPAN, fink or manually

Crime Scene:

I thought I was only having trouble starting Catalyst so I tried to reinstall. MCPAN goes on a killing spree and tries to download half of CPAN. Many of the modules it says are missing I know for a fact are there (esp. since I already had Catalyst installed and running before).

After watching thousands of lines running by I found this sprinkled throughout:

make: *** No rule to make target `/System/Library/Perl/5.8.6/darwin-th +read-multi-2level/CORE/config.h', needed by `Makefile'. Stop. /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

(why it doesn't stop trying after the first failure is a mystery to me... )

cpan> o conf returns /usr/bin/make but I tried perl -MCPAN -e shell CPAN> o conf make /usr/bin/make anyway, nothing changed.

  • Xcode installed (tried reinstalling twice today)
  • reinstalled gcc twice
  • Found a very similar problem in this thread and many others, but nothing they did has worked for me.

If anyone could talk me off the ledge it would be greatly appreciated as I mostly try to make pretty pictures and avoid the sticky guts of the filesystem if at all possible. (blaaarrrrgghhhh!)

that mark guy
@a = ("a".."z"," ","-","\n");foreach $b ( 12,0,17,10,24,12,14,14,13,26,8,18,26,0,26, 22,0,13,13,0,27,1,4,26,15,4,17,11,26,7,0, 2,10,4,17) {print $a[$b]};print $a[28];

Replies are listed 'Best First'.
Re: Has Magic Smoke gotten out of make?
by samtregar (Abbot) on Sep 15, 2007 at 03:26 UTC
    Try re-installing Perl, you appear to be missing an important file. While you're at it, you might as well upgrade to the latest - 5.8.6 is nearly 3 years old! If this is a bug in Perl it may already be fixed.


Re: Has Magic Smoke gotten out of make?
by neniro (Priest) on Sep 15, 2007 at 08:10 UTC
    Maybe you're in trouble cause of wrong permissions on make?
    $ whereis make /usr/bin/make $ ls -al /usr/bin/make lrwxr-xr-x 1 root wheel 7 May 24 2005 /usr/bin/make -> gnumake
    EDIT: Do you sudo cpan or run it in user context?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://639097]
Approved by GrandFather
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-07-30 14:46 GMT
Find Nodes?
    Voting Booth?

    No recent polls found