安装 Autoconf 2.69版

发生错误configure.ac:8: error: Autoconf version 2.64 or higher is required

1.检查版本

[root@localhost Desktop]$ rpm -qf /usr/bin/autoconf
error: file /usr/bin/autoconf: No such file or directory

2.如果存在,卸载相应版本,如果想楼主这样的请无视

[root@localhost Desktop]$ rpm -e --nodeps autoconf-2.63

3.下载相应的2.69版本

[root@localhost Desktop]$  wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz

4.解压安装

[root@localhost Desktop]# tar zxvf autoconf-2.69.tar.gz
[root@localhost Desktop]# cd autoconf-2.69
[root@localhost autoconf-2.69]# ./configure --prefix=/usr/
[root@localhost autoconf-2.69]# make && make install

5.检查版本

[fang@localhost Desktop]$ /usr/bin/autoconf -V
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

这样Autoconf 2.69版安装成功了

 

posted @ 2016-04-19 15:32  Breeze0806  阅读(7004)  评论(0编辑  收藏  举报