升级到Mountain Lion和XCode 4打破了我的"make"? [英] Upgrading to Mountain Lion and XCode 4 broke my "make"?

查看:60
本文介绍了升级到Mountain Lion和XCode 4打破了我的"make"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TL/DR:我升级了东西,现在无法运行"make"-wtf?

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

我刚刚从Mac OS X 10.6升级到10.8 Mountain Lion,然后安装了XCode 4(以前我有Developer/Applications/Xcode(3.something).通过App Store应用程序将XCode 4安装到了/Applications.这样,我将无法再运行"make"命令.并且我尝试查找所有常用的/bins文件,但找不到"make".

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".

有人知道如何找回我的"make"命令吗?

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

升级Apple东西总是会破坏某些东西……(它也破坏了我的"git"命令,但我又回来了)

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

推荐答案

您需要按照.默认情况下,它们未安装在Xcode 4中.

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

这篇关于升级到Mountain Lion和XCode 4打破了我的"make"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆