Octave 倍频程锻造组件安装

Octave 倍频程锻造组件安装,octave,packages,Octave,Packages,我正在尝试将image-2.6.1软件包安装到GNUOctave版本4.0.0。我下载了image-2.6.1.tar.gz并尝试用 pkg install /home/vladimirmatveev/Downloads/image-2.6.1.tar.gz 但是有一个错误 configure: error: in `/tmp/oct-BAtlFb/image-2.6.1/src': configure: error: C++ compiler cannot create executable

我正在尝试将image-2.6.1软件包安装到GNUOctave版本4.0.0。我下载了image-2.6.1.tar.gz并尝试用

pkg install /home/vladimirmatveev/Downloads/image-2.6.1.tar.gz
但是有一个错误

configure: error: in `/tmp/oct-BAtlFb/image-2.6.1/src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
checking for a sed that does not truncate output... /bin/sed
checking for octave... /usr/bin/octave
checking for mkoctfile... /usr/bin/mkoctfile
checking whether the C++ compiler works... no

pkg: error running the configure script for image.
error: called from 'configure_make' in file /usr/share/octave/4.0.0/m/pkg/private/configure_make.m near line 79, column 9
我确信我有C/C++编译器,它们是gcc和g++(当我试图用apt get安装它们时,它说我已经有了一个最新版本,我确信这是真的)。 我尝试将c/c++编译器设置为具有

export CC=/usr/bin/gcc-4.8
export CXX=/usr/bin/g++-4.8

(我有两个版本)但都没有用。当cmake找不到编译器时,它通常对我有效

我找到了im-config.log文件,但它只包含

Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
我不确定这是错误消息中提到的配置文件,但它是唯一具有适当修改日期的文件

我在ubuntu 16.04上工作

我将.tar.gz、cd解包到它和src/,然后运行./configure,在检查编译器时没有发现任何问题,这是控制台日志

checking for a sed that does not truncate output... /bin/sed
checking for octave... /usr/bin/octave
checking for mkoctfile... /usr/bin/mkoctfile
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-5 accepts -g... yes
checking for /usr/bin/g++-5 option to enable C++11 features... -std=gnu++11
checking whether xmin is in the octave::math namespace... no
checking whether templated lambda functions accept '&const int'... yes
configure: creating ./config.status
config.status: creating im2double.m
config.status: creating Makefile
config.status: creating config.h

这里是完整的配置日志

尝试将tar.gz、cd解压到其中并运行./configure,之后您将在该目录中找到config.log。看一下它,并报告C++编译器在你所建议的操作中更新的部分,抱歉,但是我找不到C++编译器测试的直接地方,所以我把它加起来了。我也更新了八度,我没有帮助。您应该能够在./configure之后运行make install。我可以,但在运行时出错。/configure with octave pkg命令。所以,我不明白为什么我可以从终端运行它,但不能使用倍频程命令。
checking for a sed that does not truncate output... /bin/sed
checking for octave... /usr/bin/octave
checking for mkoctfile... /usr/bin/mkoctfile
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-5 accepts -g... yes
checking for /usr/bin/g++-5 option to enable C++11 features... -std=gnu++11
checking whether xmin is in the octave::math namespace... no
checking whether templated lambda functions accept '&const int'... yes
configure: creating ./config.status
config.status: creating im2double.m
config.status: creating Makefile
config.status: creating config.h