up vote 2 down vote favorite
share [g+] share [fb]

So I've installed XCode on Snow Leopard. Why am I getting messages like this:

sudo: make: command not found

What do I need to do to resolve this issue?

Solution:

I'm not sure what happened, but I was able to fix the problem by downloading the newest version of XCode and reinstalling it. Now I can see that I have make installed correctly.

$ which make
/usr/bin/make
link|improve this question

65% accept rate
feedback

2 Answers

up vote 5 down vote accepted

When you installed the Apple Developer tools, did you also install the "Unix Development" package? From the Xcode 3.2.2 developer tools for Mac SDK 10.6 and iPhone SDK 3.2 README file:

Installation

The Xcode and iPhone SDK installer provides six options for configuring the installation from the “Customize...” button:

...

  • UNIX Development. Command-line tools used for UNIX-based development. Its components are always placed in /usr - only one version installed at a time.

I believe that is what triggers putting the utilities into /usr/bin ...

link|improve this answer
feedback

Make sure your PATH contains the directory that includes make.

link|improve this answer
which directory would that be? – Andrew Jun 21 '10 at 23:28
@misbehavens /usr/bin/ – Joseph Jun 21 '10 at 23:58
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.