Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently got a new MacBook Air and decided to do a fresh install without using the migration assistant.

I'm running into issues building software that requires "Make". I do have xcode installed, but for some reason it seems like "make" isnt installed. Here is an output.

petros$ sudo make
sudo: make: command not found

petros$ gcc -v
-bash: gcc: command not found

Any clues?

share|improve this question
Did you install Xcode after doing your fresh installation? What is echo $PATH? Which version of Xcode are you using? – Daniel Beck Jun 15 '11 at 19:04
I did install Xcode after the fresh installation. I am using XCode - 4.0.2, here is my $PATH.... petros$ echo $PATH /usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbi‌​n:/usr/local/bin:/usr/X11/bin – Peter Jun 15 '11 at 19:06
up vote 2 down vote accepted

Add /Developer/usr/bin to your path and try again.

share|improve this answer
Sorry for the even noobier question, but how do I do that? – Peter Jun 15 '11 at 20:01
@Peter Follow the instructions in the linked answer, under the OS X section. – Daniel Beck Jun 15 '11 at 20:16
Ooooops! Sorry and Thanks. – Peter Jun 15 '11 at 22:24
@Peter Did it work? If so, please accept my answer. – Daniel Beck Jun 15 '11 at 22:36
I've read through the post, but I still don't get exactly what I should be doing. Can you show me an example? – Peter Jun 16 '11 at 1:18

Are you sure you installed Xcode and the other development tools as part of this fresh install? For example, are you sure you're not running Xcode from a different hard drive partition or something?

You should probably run the Mac OS X installer again and make sure to customize the install and select all the Xcode & developer tools.

share|improve this answer
I downloaded Xcode on its own from the dev site, used unix tools, and Im running it on the my root drive. Id rather not resort to reinstalling if possible... but thanks for the tip. Ill use that as a last resort. – Peter Jun 15 '11 at 19:07
@Peter Then just re-install Xcode. It won't delete any files you've added, but if you've modified any of the files that come with the Xcode developer tools, those modified files will probably get overwritten by clean copies. – Spiff Jun 15 '11 at 19:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .