我的mac上安装了octave 3.8.0。我想安装图像包但命令
pkg install -forge image
显示未满足的依赖关系,并且需要octave 4.0.0或更高版本。那么如何在不重新安装octave的情况下进行更新?
编辑1:我尝试安装旧版本的图像包image-2.2.2.tar但它具有通用和信号作为依赖项。在尝试安装general-1.3.4.tar时,我遇到了以下错误:
octave:4> pkg install general-1.3.4.tar
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0: line 512: 423 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