Octave 未安装:make:*** 未指定目标且未找到 makefile。停止

Octave 未安装:make:*** 未指定目标且未找到 makefile。停止

我正在使用 Ubuntu Studio 16.10 64 位并尝试安装 octave3.6.3

  wget ftp://ftp.gnu.org/gnu/octave/octave-3.6.3.tar.bz2
    tar -xvf octave-3.6.3.tar.bz2
    cd octave-3.6.3
    ./configure

我有

 checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a ustar tar archive... gnutar
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for style of include used by make... GNU
    checking for gcc... gcc
    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 gcc accepts -g... yes
    ...........

    make
    make: *** No targets specified and no makefile found.  Stop.

答案1

我们想知道你为什么要安装大约 2012 年版本的八度当有更新的版本可用时。事实上,Ubuntu 存储库中存在 16.10 兼容版本。请尝试:

sudo apt-get install octave

答案2

在配置阶段结束时(在 make 之前),您可能会收到一些错误消息,指示缺少依赖项(因此您必须安装一些开发包)如果您很幸运,缺少的包将在“./configure”之前
安装。apt-get build-dep octave

编辑:
运行此命令:
sudo apt-get install f2c gfortran libblas-dev liblapack-dev libpcre3-dev libreadline-dev

(取自 这里

相关内容