zoukankan      html  css  js  c++  java
  • `aclocal-1.10' is missing on your system

    root@ubuntu31:~/linux-ftools-master# make
    cd . && /bin/bash /root/linux-ftools-master/missing --run aclocal-1.10
    /root/linux-ftools-master/missing: line 54: aclocal-1.10: command not found
    WARNING: `aclocal-1.10' is missing on your system. You should only need it if
    you modified `acinclude.m4' or `configure.ac'. You might want
    to install the `Automake' and `Perl' packages. Grab them from
    any GNU archive site.
    cd . && /bin/bash /root/linux-ftools-master/missing --run automake-1.10 --gnu
    /root/linux-ftools-master/missing: line 54: automake-1.10: command not found
    WARNING: `automake-1.10' is missing on your system. You should only need it if
    you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
    You might want to install the `Automake' and `Perl' packages.
    Grab them from any GNU archive site.
    cd . && /bin/bash /root/linux-ftools-master/missing --run autoconf
    configure.ac:7: error: possibly undefined macro: AM_INIT_AUTOMAKE
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    Makefile:203: recipe for target 'configure' failed
    make: *** [configure] Error 1

    his is usually caused by checking out code from Git instead of extracting it from a .zip or .tar.gz archive. In order to trigger rebuilds when files change, Git does not preserve files' timestamps, so the configure script might appear to be out of date. As others have mentioned, there are ways to get around this if you don't have a sufficiently recent version of autoreconf.

    Another edit: This error can also be caused by copying the source folder extracted from an archive with scp to another machine. The timestamps can be updated, suggesting that a rebuild is necessary. To avoid this, copy the archive and extract it in place.

    解决办法:在运行./configure之前,尝试运行autoreconf -f -i。autoreconf程序 自动运行autoheader,aclocal,automake,autopoint和libtoolize as 需要。 编辑添加:这通常是由从Git而不是从代码检出 提取它从.zip或.tar.gz归档。为了 当文件改变时触发重建,Git不保存文件的时间邮票, 所以configure脚本可能看起来已经过期。正如其他人一样 提到,有办法解决这个问题如果你没有足够的 最近的版本是autoreconf。

  • 相关阅读:
    [模板]大数加法
    HDU 1848 Fibonacci again and again
    同时安装了Python2和Python3时的pip使用
    UPC-2785 One-Way Roads(最大流建图)
    UPC-2784 Model Railroad(最小生成树)
    【ICPC 2017 Daejeon】UPC-9312 Game Map(dfs)
    【ICPC 2015 Shenyang】UVALive
    【ICPC 2015 Shenyang 】UPC-9254 MEETING(最短路&虚点建图)
    UPC-9264 Chip Factory(01字典树)
    【ICPC 2018 Malaysia】UPC-9302 ELI'S CURIOUS MIND(递推)
  • 原文地址:https://www.cnblogs.com/shihuvini/p/9890722.html
Copyright © 2011-2022 走看看