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

 

posted on 2018-11-01 17:50  Shihu  阅读(622)  评论(0编辑  收藏  举报

导航