zhmg23

我们是如此的不同

CentOS下autoconf2.63升级至2.64

在安装redis迁移工具redis-migrate时,提示我Autoconf 版本低,需要升级至2.64以上版本才行,没办法,只能照做

# autoreconf -fvi

autoreconf: Entering directory `.'

autoreconf: configure.ac: not using Gettext

autoreconf: running: aclocal --force -I m4

configure.ac:8: error: Autoconf version 2.64 or higher is required

configure.ac:8: the top level

autom4te: /usr/bin/m4 failed with exit status: 63

aclocal: autom4te failed with exit status: 63

autoreconf: aclocal failed with exit status: 63


升级步骤如下:

查看当前安装版本:

# rpm -qf /usr/bin/autoconf  

autoconf-2.63-5.1.el6.noarch

卸载当前版本

rpm -e --nodeps autoconf-2.63  


下载新版本

wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.64.tar.gz


解压安装

tar zxvf autoconf-2.64.tar.gz  

cd autoconf-2.64  

./configure --prefix=/usr  

make && make install  


查看是否安装成功

# /usr/bin/autoconf -V  

autoconf (GNU Autoconf) 2.64

Copyright (C) 2009 Free Software Foundation, Inc.

License GPLv2+: GNU GPL version 2 or later


评论