当我尝试在Mac OSX中安装Octave odepkg时,会出现以下错误。我安装了Xcode。有人知道错误的原因吗?
pkg install odepkg -forge
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0:
line 512: 28409 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 odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
make: *** [odepkg_octsolver_mebdfdae.o] Error 139
Unpacking external packages: hairer.tgz
Unpacking external packages: cash.tgz
Unpacking external packages: daskr.tgz
Applying patches from file: hairer.diff
Applying patches from file: cash.diff
(Stripping trailing CRs from patch.)
patching file cash/mebdfdae.f
(Stripping trailing CRs from patch.)
patching file cash/mebdfi.f
Applying patches from file: daskr.diff
(Stripping trailing CRs from patch.)
patching file daskr/ddaskr.f
(Stripping trailing CRs from patch.)
patching file daskr/dlinpk.f
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0 -c odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
pkg: error running `make' for the odepkg 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 :(得分:1)
我认为这是mkoctfile Segmentation Fault的副本。你真的应该提一下你是如何从哪个源安装Octave的。这是http://wiki.octave.org/Octave_for_MacOS_X#Binary_installer_for_OSX_10.9.1吗?也许你应该尝试使用自制软件。