我在Lion (Mac OS X 10.7.3)上安装了Xcode 4,但仍然没有找到“make”命令。

时间:2022-11-20 20:27:50

I recently upgraded from Snow Leopard to Lion and downloaded Xcode from the App Store, but "make" is still not found:

我最近从雪豹升级到Lion,从App Store下载了Xcode,但是“make”仍然没有找到:

-bash: make: command not found

命令未找到。

1 个解决方案

#1


1  

For the latest version of Xcode, the command line tools are not bundled by default. You need to download them from within Xcode.

对于最新版本的Xcode,命令行工具不是默认绑定的。您需要从Xcode中下载它们。

I believe you can find this under "Preferences > Downloads > Components".

我相信您可以在“Preferences >下载>组件”中找到这个。

http://holgr.com/blog/2012/02/xcode-4-3-and-homebrew-where-did-my-command-line-tools-go/

http://holgr.com/blog/2012/02/xcode-4-3-and-homebrew-where-did-my-command-line-tools-go/

#1


1  

For the latest version of Xcode, the command line tools are not bundled by default. You need to download them from within Xcode.

对于最新版本的Xcode,命令行工具不是默认绑定的。您需要从Xcode中下载它们。

I believe you can find this under "Preferences > Downloads > Components".

我相信您可以在“Preferences >下载>组件”中找到这个。

http://holgr.com/blog/2012/02/xcode-4-3-and-homebrew-where-did-my-command-line-tools-go/

http://holgr.com/blog/2012/02/xcode-4-3-and-homebrew-where-did-my-command-line-tools-go/