Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ubuntu Octave:mkoctfile在尝试安装工具箱时未找到_Ubuntu_Octave - Fatal编程技术网

Ubuntu Octave:mkoctfile在尝试安装工具箱时未找到

Ubuntu Octave:mkoctfile在尝试安装工具箱时未找到,ubuntu,octave,Ubuntu,Octave,注: “sudo apt get install octave pkg dev”将卸载我的octave 3.6.4版本,并安装旧版本3.2.4。我尝试使用“sudo apt get install octave-XXXXX”安装的任何软件包都会这样做 尝试: 以及要安装的sudo倍频程: 版本: 说统计1.2.2现在已经存在了,但我需要的应该存在(列表上)的文件却没有??ie normplot问题是您没有加载软件包。当您键入pkg list时,您可以找到在名称前用星号加载的名称。加载带有pk

注:
“sudo apt get install octave pkg dev”将卸载我的octave 3.6.4版本,并安装旧版本3.2.4。我尝试使用“sudo apt get install octave-XXXXX”安装的任何软件包都会这样做

尝试:

以及要安装的sudo倍频程:

版本:


说统计1.2.2现在已经存在了,但我需要的应该存在(列表上)的文件却没有??ie normplot

问题是您没有加载软件包。当您键入
pkg list
时,您可以找到在名称前用星号加载的名称。加载带有
pkg加载统计信息的包


必须加载一个包,这是大多数用户觉得奇怪的事情,但是如果你与其他语言比较,比如Python、Perl或C++,你会期望它们在缺省情况下可以使用系统中的每个库吗?<代码>导入< <代码> > <代码>使用< /COD>,或<代码> >包含< /COD>每个库。有关更多详细信息,请参阅。

上半部分(octave中缺少
mkoctfile
)的解决方案是为您的发行版安装octave开发包。这可能被称为octave pkg dev、liboctave dev、octave devel或类似的东西(在发行版的存储库中查找
*oct*dev*


有关详细信息,请参阅。

对于linux安装liboctave dev,它为我工作。

GNU Octave Version 3.6.4
GNU Octave License: GNU General Public License
Operating System: Linux 3.2.0-57-generic-pae #87-Ubuntu SMP Tue Nov 12 21:57:43 UTC 2013 i686
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
          io  |   1.2.5 | /usr/share/octave/packages/io-1.2.5
  statistics  |   1.2.2 | /usr/share/octave/packages/statistics-1.2.2

你应该删除问题的顶部并更改标题,因为你已经解决了上半部分,下半部分是一个非常不同的问题。
octave:2> ver
----------------------------------------------------------------------
GNU Octave Version 3.6.4
GNU Octave License: GNU General Public License
Operating System: Linux 3.2.0-57-generic-pae #87-Ubuntu SMP Tue Nov 12 21:57:43 UTC 2013 i686
----------------------------------------------------------------------
no packages installed.
octave:7> pkg install statistics-1.2.2.tar.gz
error: the following dependencies where unsatisfied:
   statistics needs io >= 1.0.18
octave:7> pkg install io-1.2.5.tar.gz
make: mkoctfile: Command not found
make: *** [csvexplode.oct] Error 127
'make' returned the following error: make: Entering directory `/tmp/oct-JWSn8i/io/src'
mkoctfile csvexplode.cc
make: Leaving directory `/tmp/oct-JWSn8i/io/src'
error: called from 'pkg>configure_make' in file /usr/share/octave/3.6.4/m/pkg/pkg.m near line 1391, column 9
error: called from:
error:   /usr/share/octave/3.6.4/m/pkg/pkg.m at line 834, column 5
error:   /usr/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9
GNU Octave Version 3.6.4
GNU Octave License: GNU General Public License
Operating System: Linux 3.2.0-57-generic-pae #87-Ubuntu SMP Tue Nov 12 21:57:43 UTC 2013 i686
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
          io  |   1.2.5 | /usr/share/octave/packages/io-1.2.5
  statistics  |   1.2.2 | /usr/share/octave/packages/statistics-1.2.2
sudo apt install liboctave-dev