发生错误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.如果存在,卸载相应版本,如果想楼主这样的请无视

1
[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.解压安装

1
2
3
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 on 2020-07-17 14:27  微笑点燃希望  阅读(1861)  评论(0编辑  收藏  举报
font=white