1

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
Password:
sudo: make: command not found

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

Any clues?

Peter
  • 253
  • 1
  • 2
  • 7
  • 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:/sbin:/usr/local/bin:/usr/X11/bin – Peter Jun 15 '11 at 19:06

2 Answers2

2

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

Daniel Beck
  • 109,300
  • 14
  • 287
  • 334
1

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.

Spiff
  • 101,729
  • 17
  • 175
  • 229
  • 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