LoginSignup
3
3

More than 5 years have passed since last update.

Mountain Lion で make sh: make: command not found が出る

Posted at

Mountain Lion にしたからか、上記エラーが出てmakeできない。

Xcode 4.3以降では makeとかのCommand Line tools がデフォルトでインストールされてないらしい。

  1. Xcode ⇨ preferences ⇨ Downloads で Command Linetoolsをダウンロード。

  2. その後にターミナルで以下のコマンドを打つ。

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

これでたぶん使えるようになると思います。

参考

xcode4 - Upgrading to Mountain Lion and XCode 4 broke my "make"? - Stack Overflow

osx - installing "make" on Mac - Stack Overflow

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3