首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Autoconf已安装但无法工作(ubuntu)

Autoconf已安装但无法工作(ubuntu)
EN

Stack Overflow用户
提问于 2016-08-10 02:17:21
回答 2查看 2.4K关注 0票数 1

我正在尝试安装GNU automake。运行./configure时,我在终端中收到以下错误消息:

代码语言:javascript
复制
    checking whether autoconf is installed... yes
    checking whether autoconf works... no
    configure: error: The installed version of autoconf does not work.
    Please check config.log for error messages before this one

看着config.log,我不知道问题出在哪里。我猜它是tex的,但我不确定它指的是什么程序。我安装了TexStudio,但没有解决这个问题。日志文件粘贴在下面:

代码语言:javascript
复制
    configure:2784: checking for tex
    configure:2814: result: no
    configure:2822:  --version </dev/null
    ./configure: line 2823: --version: command not found
    configure:2825: $? = 127
    configure:2843: checking for yacc
    configure:2859: found /usr/local/bin/yacc
    configure:2870: result: yacc
    configure:2886: checking for lex
    configure:2916: result: no
    configure:2886: checking for flex
    configure:2902: found /usr/local/bin/flex
    configure:2913: result: flex
    configure:2934: checking whether autoconf is installed
    configure:2939: autoconf --version
    Autoconf version 2.10
    configure:2942: $? = 0
    configure:2950: result: yes
    configure:2957: checking whether autoconf works
    configure:2964: cd conftest && autoconf -o /dev/null conftest.ac
    Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
           [-l dir] [--localdir=dir] [--version] [template-file]
   configure:2967: $? = 1
   configure:2976: result: no
   configure:2979: error: The installed version of autoconf does not work.
          Please check config.log for error messages before this one.
EN

回答 2

Stack Overflow用户

发布于 2016-11-19 16:53:38

正如Diego所说,如果您从存储库安装autoconf,它将安装2.68版。由于某些原因,您可能安装了2.13版。

如果是这样,请删除旧版本并安装默认版本:

sudo apt-get remove autoconf2.13 && sudo apt-get install autoconf

票数 1
EN

Stack Overflow用户

发布于 2016-08-10 17:34:13

Autoconf 2.1非常旧,其语义与当前版本(2.69,称为"2.5系列“)有很大的不同。

Ubuntu似乎有Autoconf2.1和2.6x的separate packages,但我不确定他们是如何选择这两个版本的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38857798

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档