-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.
Time Machine,
apache,
command not found,
make,
mod_wsgi,
snow leopard in
tech
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