• `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。

  • 相关阅读:
    生成器
    字典生成式
    列表推导式
    函数基础实战之ATM和购物车系统
    函数基础小结
    函数嵌套
    可变长参数
    函数参数
    java NIO(三)----通道(Channel)
    java NIO(二)----直接缓冲区和非直接缓冲区
  • 原文地址:https://www.cnblogs.com/shihuvini/p/9890722.html
Copyright © 2020-2023  润新知