Я пытаюсь получить gcc с помощью homebrew.Есть определенные странные проблемы, поэтому я удаляю домашний напиток и переустанавливаю его.Переустановка прошла успешно, и я следую этому: Какой самый лучший / самый безопасный способ переустановить Homebrew?
Теперь я просто набираю 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
, тогда я получил
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 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.
Error: An exception occurred within a child process:
RuntimeError: The requested Homebrew GCC was not installed. You must:
brew install gcc@6
Updating Homebrew...
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@6: gmp, isl, mpfr and libmpc
==> Installing gcc@6 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
, который является рекурсивным.Я думаю об этой проблеме, может быть, я использую слишком старую версию OSX?(10.10 Yosemite).
Должен ли я получить последнюю версию OSX для получения правильных функций приготовления?Если у вас есть какие-либо мысли, пожалуйста, дайте мне знать.
Спасибо