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

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM