1
我正在运行一个npm教程,我需要安装Homebrew。但是,在得到一个错误(无法使用可用编译器安装节点)之后,我运行了brew install gcc。那么,这是永远的,但它最终没有奏效,因为显然我安装了MacPorts或Fink。如何解决Homebrew和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
如果我找不到安装在我电脑上的Fink或MacPorts的实例,这是一个问题吗?我的意思是,/ Applications/MacPorts不存在,因为MacPorts不在我的Applications目录中(从我可以看到的)。 – user70848
是否存在'/ sw/bin/fink'或'/ opt/local/bin/port'? – bfontaine
当我使用Spotlight查找Fink或MacPorts时,我没有得到任何结果。我还能在哪里找到这些位置?另外我尝试运行'fink --list'来获取已知的fink安装包列表,但是我得到了'bash:fink:command not found'。我试着运行'sudo port -fp uninstall installed',但是我得到'没有端口匹配给定的表达式'。我想这可能意味着没有**端口**正在运行? – user70848