Homebrew OS X Mountain Lion上Octave的安装错误(10.8.5)

时间:2013-11-18 08:02:30

标签: osx-mountain-lion octave homebrew failed-installation

我正在尝试使用Homebrew在Mac 10.8.5上安装Octave。

我在终端中运行了以下命令,在安装Xquartz后安装它。

brew tap homebrew/science
brew update && brew upgrade
brew install octave

执行此操作后,它成功安装了所有依赖项,最后到达安装octave的最后一个选项,如下所示。但是在安装Octave时出现了以下错误:

==> Installing octave
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading http://ftpmirror.gnu.org/octave/octave-3.6.4.tar.bz2
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file configure.ac
Hunk #1 succeeded at 1605 (offset 2 lines).
==> autoreconf -ivf
==> ./configure --prefix=/usr/local/Cellar/octave/3.6.4 --with-blas=-Wl,-framewo
==> make all
==> make install
./plot.texi:3957: warning: node `Multiple Plot Windows' is prev for `Printing and Saving Plots' in menu but not in sectioning
make[3]: *** [octave.info] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

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

请注意,运行brew install octave时安装的所有依赖项都没有抛出错误,之后只开始安装octave。

1 个答案:

答案 0 :(得分:1)

请看一下这个链接 https://github.com/Homebrew/homebrew-science/issues/444

使用--enable-docs =无选项。它适用于山狮。

我也有同样的问题;通过添加选项修复。