error: Autoconf version 2.58 or higher is required的解决办法

字面上看错误原因就是目前的automake2.13版本太低,那重新安装一下automake应该能解决问题。

第一步,卸载automake。
apt-get remove automake
这样并不能卸载2.13,需要sudo  rm /usr/local/bin/autoconf 才行。一开始没有删除配置文件进行重装,死活装不上。

第二步,重新安装一个automake高版本

wget http://files.directadmin.com/services/custombuild/autoconf-2.64.tar.gz
tar xzf autoconf-2.64.tar.gz
cd autoconf-2.64
./configure –prefix=/usr
make
make install

OK,问题解决。

发表评论