自制软件无法安装gcc

时间:2019-01-28 23:42:09

标签: gcc homebrew

我尝试通过自制软件获取gcc。有一些奇怪的问题,所以我删除了自制程序并重新安装它。重新安装成功,我遵循以下规则:What is the best/safest way to reinstall Homebrew?

现在,我像往常一样简单地输入.tablesorter-filter-row{ display : none; } 然后得到:

brew install gcc

所以,我也遵循错误消息提示brew install gcc Warning: You are using macOS 10.10. We (and Apple) do not provide support for this old version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or IRC. You are responsible for resolving any issues you experience, as you are running this old version. Warning: Your Xcode (7.2) is outdated. Please update to Xcode 7.2.1 (or delete it). Xcode can be updated from the App Store. ==> Installing dependencies for git: pcre2 ==> Installing git dependency: pcre2 Warning: Your Xcode (7.2) is outdated. Please update to Xcode 7.2.1 (or delete it). Xcode can be updated from the App Store. Updating Homebrew... Error: An exception occurred within a child process: RuntimeError: The requested Homebrew GCC was not installed. You must: brew install gcc@6 Warning: You are using macOS 10.10. We (and Apple) do not provide support for this old version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or IRC. You are responsible for resolving any issues you experience, as you are running this old version. Warning: Your Xcode (7.2) is outdated. Please update to Xcode 7.2.1 (or delete it). Xcode can be updated from the App Store. ==> Installing dependencies for gcc: gmp, isl, mpfr and libmpc ==> Installing gcc dependency: gmp Warning: Your Xcode (7.2) is outdated. Please update to Xcode 7.2.1 (or delete it). Xcode can be updated from the App Store. Error: An exception occurred within a child process: RuntimeError: The requested Homebrew GCC was not installed. You must: brew install gcc@6 的意思,然后得到

brew install gcc@6

这是递归的。我对这个问题的猜测可能是我使用的OSX版本太旧了? (10.10优胜美地)。

我应该获得最新版本的OSX以获得正确的冲泡功能吗?如果您有任何想法,请告诉我。

谢谢

1 个答案:

答案 0 :(得分:0)

如消息所示,Homebrew不支持您的macOS版本,并且您的Xcode已过时。

如果一切正常,则可以使用不受支持的macOS。但是,过时的Xcode会阻止所有内容。

如果可以,请更新您的Xcode,然后重试。如果仍然无法使用,则必须更新macOS。