CentOS6.5升级autoconf版本,解决”Autoconf version 2.64 or higher is required“错误
安装软件时提示说需要Autoconf 2.64或更高的版本:
[root@wslu-cswslu]#autoconf configure.ac:8:error:Autoconfversion2.64orhigherisrequired configure.ac:8:thetoplevel autom4te:/usr/bin/m4Failedwithexitstatus:63
查询当前版本:
[root@wslu-cswslu]#rpm-qf/usr/bin/autoconf autoconf-2.63-5.1.el6.noarch
卸载当前版本:
[root@wslu-cswslu]#rpm-e--nodepsautoconf-2.63
安装最新版本:
[root@wslu-cswslu]#wgetftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz [root@wslu-cswslu]#tarzxvfautoconf-2.69.tar.gz [root@wslu-cswslu]#cdautoconf-2.69 [root@wslu-cswslu]#./configure--prefix=/usr/ [root@wslu-cswslu]#make&&makeinstall
查看当前版本:
[root@wslu-csautoconf-2.69]#/usr/bin/autoconf-V autoconf(GNUAutoconf)2.69 Copyright(C)2010FreeSoftwareFoundation,Inc. LicenseGPLv3+/Autoconf:GNUGPLversion3orlater <http://gnu.org/licenses/gpl.html>,<http://gnu.org/licenses/exceptions.html> Thisisfreesoftware:youarefreetochangeandredistributeit. ThereisNOWARRANTY,totheextentpermittedbylaw. WrittenbyDavidJ.MacKenzieandAkimDemaille.
至此,autoconf已升级到2.69。
原文链接:https://www.f2er.com/centos/374398.html