我正在尝试将常规包(general-1.3.4.tar.gz)安装到octave 3.8.0。我正在使用mac osx Yosemite。我得到分段错误。无论我尝试安装哪个软件包(例如,singal),都会发生这种情况。我安装了xcode和命令行工具。所有帮助将不胜感激。
以下是执行pkg install general-1.3.4.tar.gz时出现的错误:
octave:3> pkg install general-1.3.4.tar.gz
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0: line 512: 15159 Segmentation fault: 11 /usr/local/octave/3.8.0/bin/g++-mp-4.7 -c -fPIC -I/usr/local/octave/3.8.0/include/octave-3.8.0/octave/.. -I/usr/local/octave/3.8.0/include/octave-3.8.0/octave -I/usr/local/octave/3.8.0/include -pipe -Os -m64 -D_THREAD_SAFE -pthread SHA1.cc -o SHA1.o
make: *** [SHA1.oct] Error 139
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0 SHA1.cc
pkg: error running `make' for the general package.
error: called from 'configure_make' in file /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/configure_make.m near line 82, column 9
error: called from:
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/install.m at line 199, column 5
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/pkg.m at line 394, column 9*
答案 0 :(得分:0)
我可能已经从网络上的其他网站找到了解决方法:
在尝试安装Octave信号包时没有成功,我遇到了同样的问题。以下最终似乎正在起作用。