您的位置:首页 > 运维架构 > Linux

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

2016-02-03 10:24 901 查看
我在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/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: