今天在Ubuntu 18.04.2 LTS上编译log4cplus 1.2.1时遇到了报错:
WARNING: 'aclocal-1.14' is missing on your system.
查看了一下系统上安装的版本是aclocal-1.15
这是需要用autoreconf 来重新生成configure:
autoreconf -ivf
期间报错:
autoreconf: failed to run libtoolize: No such file or directory
于是安装一下libtool:
apt install libtool
安装完成了再运行autoreconf,成功生成了新的configure
然后./configure
make
编译成功