linux 查看automake 及 autoconf版本及升级命令

我在RHEL5.8上编译xlsLib时,提示automake  、 aclocal 、 autoconf 版本较低,需要升级。automake  、 aclocal 要升级到至少1.13,autoconf 要升级到至少2.65。下面给出autoconf 的升级方法,automake的升级方法完全一样。aclocal是automake的组成部分,升级了automake后aclocal也跟着升级了。

升级autofonf的步骤:

查询autoconf当前版本的命令

[root@192 xxx]# rpm -qf /usr/bin/autoconf
autoconf-2.59-12

卸载当前autoconf 版本

[root@192 xxx]# rpm -e --nodeps autoconf-2.59

下载安装最新autoconf 2.69版本

下载地址  http://ftp.gnu.org/gnu/autoconf/

选择 autoconf-2.69.tar.gz 下载,或者其他你需要的版本。

安装:

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

查看当前autoconf版本

 /usr/bin/autoconf -V 或 rpm -qf /usr/bin/autoconf

[root@192 autoconf-2.69]#  /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.
[root@192 autoconf-2.69]#



automake下载地址

automake下载地址

http://ftp.gnu.org/gnu/automake/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值