« iScrub is in the iTunes App Store | Main | Adobe CS4: Licensing has stopped working Error 150:30 »
5:03PM

-bash: make: command not found 

Yet another Snow Leopard / Time Machine screw upHmm, more Snow Leopard / Time Machine problems. I tried to do a subversion checkout of some code and got an error about not being able to connect. It turned out that mod_wsgi was missing from my restore and apache was failing to start. So I went into the mod_wsgi source which was still there and did a make...

-bash: make: command not found

I also tried gcc:

-bash: gcc: command not found

I google'd, but the only threads I found were people that didn't know you need XCode to use gcc on OS X. Just out of curiosity, I opened up an iPhone project I worked on (iScrub for the University of Iowa Computational Epidemiology group -- check it out if you're an Infection Control Professional ;-) and clicked Build and Go, which worked fine. In hindsight I should have done a Clean All first, but anyway it started up the simulator and ran fine.

The Fix

The fix I guess is what anybody who gets the error message should do: install or re-install XCode. I re-installed XCode 3.2 from my Snow Leopard install disk, then re-installed mod_wsgi, and finally restarted apache. Things appear to be working again.

I hope this is the last piece of my installation I find broken.

 

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (1)

I had a similar problem, not for the Apache module, but after Snow Leopard update 'make' and 'gcc' did not work!
I fixed the same way you did, installing XCode (but from the website) and everything is fine.
Thank you for the suggestion

April 16, 2010 | Unregistered CommenterAndrea B

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>