Upgrading to Mountain Lion and XCode 4 broke my "make"?

TL/DR: I upgraded stuff and now I can't run "make" - wtf?

I just upgraded from Mac OS X 10.6 to 10.8 Mountain Lion, and then installed XCode 4 (formerly I had Developer/Applications/Xcode (3.something). XCode 4 installed through the App Store application to /Applications. Somewhere along the way, I can no longer run the "make" command. And I've tried looking in all the usual /bins but can't find a "make".

Anyone know how to get my "make" command back?

Upgrading Apple stuff always breaks something... (it also broke my "git" command but I got that one back)


You need to install the command line tools as described at installing "make" on Mac. They are not installed by default in Xcode 4.


Easiest way to install:

  • Launch XCode
  • Go to Preferences > Downloads > Components
  • Click "Install" next to 'Command Line Tools'
  • 链接地址: http://www.djcxy.com/p/47404.html

    上一篇: Xcode 4.5(Mountain Lion)中非常慢的制表符切换

    下一篇: 升级到Mountain Lion和XCode 4打破了我的“制造”?