linux 安裝 Autoconf 2.69版
阿新 • • 發佈:2020-07-17
發生錯誤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版安裝成功了