Linux下编译软件时,经常会碰到类似的错误:
WARNING: 'aclocal-1.15' 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: http://www.gnu.org/software/automake It also requires GNU Autoconf, GNU m4 and Perl in order to run: http://www.gnu.org/software/autoconf http://www.gnu.org/software/m4/ http://www.perl.org/ make: *** [aclocal.m4] Error 127
你检查一下系统:
# automake --version
automake (GNU automake) 1.16.1
系统明明安装了高版本的automake,然道不能向下兼容吗?
这时,只需要执行一下以下命令,重新生成一下相关的宏,然后再重新configure,再编译,一般就能解决问题了:
autoreconf -f -i