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的步骤:
[root@192 xxx]# rpm -qf /usr/bin/autoconf
autoconf-2.59-12
[root@192 xxx]# rpm -e --nodeps autoconf-2.59
下载地址 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
/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下载地址
http://ftp.gnu.org/gnu/automake/
升级autofonf的步骤:
查询autoconf当前版本的命令
[root@192 xxx]# rpm -qf /usr/bin/autoconfautoconf-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/
相关文章推荐
- centos 6.5_32 下安装zabbix 2.2 开启中文语言 zabbix没中文语言选项解决方法
- Linux运维(FTP服务的安装和配置)
- Linux日志级别详解
- secureCRT 实现 xp ssh登录 centos(vbox虚拟机)
- linux指定某非root用户执行开机启动项的方法
- linux环境下实现图片的读取和显示
- 【Linux下面安装elasticsearch】
- 初探linux子系统集之timer子系统(三)
- 初探linux子系统集之timer子系统(三)
- gcov覆盖率测试
- cgroup学习(八)——CPUSET子系统
- cgroup学习(七)——cpu子系统
- cgroup学习(六)——attach task
- cgroup学习(五)—— create new cgroup
- cgroup学习(四)——mount hierarchy
- cgroup学习(三)——伪文件
- cgroup的学习(一)——what cgroup?
- cgroup学习(二)——cgroup框架结构
- CentOS/RHEL系统中swap空间扩容
- CentOS7编译安装MySQL5.7.10