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。

  • 相关阅读:
    【模板】高斯消元
    【洛谷P1730】最小密度路径
    【模板】矩阵乘法优化线性递推
    【洛谷P3723】礼物
    【洛谷P3338】力
    【模板】NTT
    【洛谷P1919】A*B Problem升级版
    测试理论基础(思维导图)
    Fiddler
    常用 Linux 命令
  • 原文地址:https://www.cnblogs.com/shihuvini/p/9890722.html
Copyright © 2011-2022 走看看