如何解决 Homebrew 与 MacPorts 或 Fink 之间的冲突?
How can I resolve a conflict between Homebrew and MacPorts or Fink?
我正在 运行 学习 npm 教程,我需要安装 Homebrew。但是,在遇到一个错误(无法使用可用的编译器安装节点)后,我 运行 brew install gcc。好吧,这花了很长时间,但最终没有成功,因为显然我安装了 MacPorts 或 Fink。
老实说,我不确定我是什么时候安装 MacPorts 或 Fink 的。我不记得以前听过或使用过它们,而且我不确定它们的用途。有没有人 运行 以前遇到过这个错误,或者对下一步该怎么做有什么建议?以下是我在终端中获得的错误和链接。谢谢!
make[2]: *** [configure-stage2-target-libstdc++-v3] Error 1
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
READ THIS: https://git.io/brew-troubleshooting
These open issues may also help:
`gcc`: Force DWARF-2 Debugging Data under Pre-Mavericks https://github.com/Homebrew/homebrew/pull/46111
freeimage: patches for gcc 5.0 https://github.com/Homebrew/homebrew/pull/44612
yap: don't use GCC 5, which breaks https://github.com/Homebrew/homebrew/pull/45977
gcc can't find compatible ISL https://github.com/Homebrew/homebrew/issues/44444
How Do I Specify and Use Homebrew gcc-4.8 in a Formula Instead of OS X Bundled gcc? https://github.com/Homebrew/homebrew/issues/46169
isl 0.15, cloog 0.18.4, gcc compatibility patch https://github.com/Homebrew/homebrew/pull/44486
gcc causes false alarms in C++ stdlib check https://github.com/Homebrew/homebrew/issues/45218
apple-gcc42 takes priority over modern gcc https://github.com/Homebrew/homebrew/issues/41055
gcc 4.9.2 fails to produce debugging information https://github.com/Homebrew/homebrew/issues/34976
Object files deleted during build of gcc needed by gdb https://github.com/Homebrew/homebrew/issues/35734
MacOS.(gcc|clang|llvm)_version can return nil https://github.com/Homebrew/homebrew/issues/18781
MacPorts 和 Fink 是 OS X 的包管理器,就像 Homebrew。由于消息说 Homebrew 不能很好地与这两个一起工作,所以你应该继续使用 MacPorts 或 Fink,或者卸载它们并使用 Homebrew。
除此之外,您可以查看 Homebrew’s troubleshooting guide 了解如何解决常见问题。
我正在 运行 学习 npm 教程,我需要安装 Homebrew。但是,在遇到一个错误(无法使用可用的编译器安装节点)后,我 运行 brew install gcc。好吧,这花了很长时间,但最终没有成功,因为显然我安装了 MacPorts 或 Fink。
老实说,我不确定我是什么时候安装 MacPorts 或 Fink 的。我不记得以前听过或使用过它们,而且我不确定它们的用途。有没有人 运行 以前遇到过这个错误,或者对下一步该怎么做有什么建议?以下是我在终端中获得的错误和链接。谢谢!
make[2]: *** [configure-stage2-target-libstdc++-v3] Error 1
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
READ THIS: https://git.io/brew-troubleshooting
These open issues may also help:
`gcc`: Force DWARF-2 Debugging Data under Pre-Mavericks https://github.com/Homebrew/homebrew/pull/46111
freeimage: patches for gcc 5.0 https://github.com/Homebrew/homebrew/pull/44612
yap: don't use GCC 5, which breaks https://github.com/Homebrew/homebrew/pull/45977
gcc can't find compatible ISL https://github.com/Homebrew/homebrew/issues/44444
How Do I Specify and Use Homebrew gcc-4.8 in a Formula Instead of OS X Bundled gcc? https://github.com/Homebrew/homebrew/issues/46169
isl 0.15, cloog 0.18.4, gcc compatibility patch https://github.com/Homebrew/homebrew/pull/44486
gcc causes false alarms in C++ stdlib check https://github.com/Homebrew/homebrew/issues/45218
apple-gcc42 takes priority over modern gcc https://github.com/Homebrew/homebrew/issues/41055
gcc 4.9.2 fails to produce debugging information https://github.com/Homebrew/homebrew/issues/34976
Object files deleted during build of gcc needed by gdb https://github.com/Homebrew/homebrew/issues/35734
MacOS.(gcc|clang|llvm)_version can return nil https://github.com/Homebrew/homebrew/issues/18781
MacPorts 和 Fink 是 OS X 的包管理器,就像 Homebrew。由于消息说 Homebrew 不能很好地与这两个一起工作,所以你应该继续使用 MacPorts 或 Fink,或者卸载它们并使用 Homebrew。
除此之外,您可以查看 Homebrew’s troubleshooting guide 了解如何解决常见问题。