WARNING: 'aclocal-1.14' is missing on your system.问题解决记录

3220阅读 0评论2017-09-08 wzzushx
分类:LINUX

在编译LXC时,遇到一个问题,提示 'aclocal-1.14'缺失。如下:
WARNING: 'aclocal-1.14' is missing on your system.
 You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <
         <
         <
make[1]: *** [aclocal.m4] Error 127 
经查,确实在系统中没有找到'aclocal-1.14',但存在aclocal,不过是1.13版本的。
理论上,代码不会明确要具体版本号的。可能是之前在其他服务器编译后,没有清理干净所致。
但执行clean后,问题依旧。
经过网络搜索,发现不少开源代码存在类似问题,。
其中给出解决方法就是touch几个编译文件
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
在代码根目录执行后,确实可以解决。
上一篇:make的使用和Makefile规则和编程及其基本命令
下一篇:kthread_create和kernel_thread的区别和总结