版权声明:本文为博主原创文章,如需转载,必须注明原文链接及作者。
安装软件时提示说需要Autoconf 2.64或更高的版本:
[python]view plaincopy
[root@wslu-cswslu]#autoconf
configure.ac:8:error:Autoconfversion2.64orhigherisrequired
configure.ac:8:thetoplevel
autom4te:/usr/bin/m4Failedwithexitstatus:63
查询当前版本:
[python]#rpm-qf/usr/bin/autoconf
autoconf-2.63-5.1.el6.noarch
卸载当前版本:
[python]#rpm-e--nodepsautoconf-2.63
安装最新版本:
[python]#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
查看当前版本:
[python]@H_301_205@
[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。