尝试使用brew安装gcc46时出错

时间:2014-08-02 02:55:36

标签: ruby-on-rails install rvm homebrew

无论我尝试什么,我都会反复这样做

==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.6.4/gcc-4.6.4.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gcc46-4.6.4.tar.bz2
==> ../configure --build=x86_64-apple-darwin14.0.0 --prefix=/usr/local/Cellar/gc
==> make bootstrap
echo timestamp > s-automata
rm gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/homebrew/homebrew-versions/issues

一个想法是什么导致它,我可以运行一些东西来获得更好的日志,我不知道如何找到日志或者如果这甚至可能,我正在尝试isntall并根据railstutorial启动和运行.org书

1 个答案:

答案 0 :(得分:0)

Homebrew将日志放在~/Library/Logs/Homebrew

您还可以尝试以下命令来捕获错误日志:

brew install <formula> 2>&1 | tee install.log

可以在this GitHub issue找到更多信息。