最近在arm架构编译ipmitool-1.8.18时遇到问题记录一下:
[root@builder ipmitool-1.8.18]# make
cd . && /bin/bash /kern-build/lius/ipmi/ipmitool-1.8.18/missing automake-1.15 --foreign
configure.ac:7: error: version mismatch. This is Automake 1.15.1,
configure.ac:7: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:7: comes from Automake 1.15. You should recreate
configure.ac:7: aclocal.m4 with aclocal and run automake again.
WARNING: 'automake-1.15' is probably too old.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
首先解压源码然后直接cd到ipmitool-1.8.18目录执行make,然后就报上面这个错误,错误表明我的项目配置文件 configure.ac 中指定的 Automake 版本与系统中安装的版本不匹配。具体地,项目要求使用 Automake 1.15,但实际系统中安装的是 Automake 1.15.1
要解决这个问题,需要重新生成 aclocal.m4 文件&#x