安裝 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版安裝成功了

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM