<pre name="code" class="html">zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# ./configure CC="gcc -m64" --prefix=/usr --libdir=/usr/lib64 && make && make install

 cd . && /bin/sh /root/soft/json-c-json-c-0.12-20140410/missing automake-1.14 --gnu
/root/soft/json-c-json-c-0.12-20140410/missing: line 81: automake-1.14: command not found
WARNING: 'automake-1.14' is missing on your system.
You should only need it if you modified 'Makefile.am' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'automake' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make: *** [Makefile.in] Error 1 zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# automake
automake automake-1.11 发现版本不匹配: 查看autoconf 的版本: zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# autoconf -V
autoconf (GNU Autoconf) 2.63
Copyright (C) 2008 Free Software Foundation, Inc. zjtest7-redis:/root/automake-1.14.1# ./configure --prefix=/usr/
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for perl... /usr/bin/perl
checking for tex... no
checking for yacc... yacc
checking for lex... lex
checking whether autoconf is installed... yes
checking whether autoconf works... yes
checking whether autoconf is recent enough... no
configure: error: Autoconf 2.65 or better is required. 安装新版本的automake-1.14.1 需要更新Autoconf 版本: 查询当前版本
[root@BobServerStation twemproxy]# rpm -qf /usr/bin/autoconf
autoconf-2.63-5.1.el6.noarch zjtest7-redis:/root/autoconf-2.69# autoconf -V
autoconf (GNU Autoconf) 2.63
Copyright (C) 2008 Free Software Foundation, Inc. 卸载当前版本
[root@BobServerStation twemproxy]# rpm -e --nodeps autoconf-2.63 zjtest7-frontend:/usr# /usr/bin/autoconf -V
autoconf (GNU Autoconf) 2.68
Copyright (C) 2010 Free Software Foundation, Inc. 安装最新版本
[root@BobServerStation twemproxy]# wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
[root@BobServerStation twemproxy]# tar zxvf autoconf-2.69.tar.gz
[root@BobServerStation twemproxy]# cd autoconf-2.69
[root@BobServerStation twemproxy]# ./configure --prefix=/usr/
[root@BobServerStation twemproxy]# make && make install 安装最新版本的automake:
zjtest7-redis:/root/autoconf-2.69# autoconf -V
autoconf (GNU Autoconf) 2.69 继续安装automake: zjtest7-redis:/root/automake-1.14.1# automake
automake automake-1.11 automake-1.14 zjtest7-redis:/root/automake-1.14.1# rpm -e automake-1.11.1-4.el6.noarch
error: Failed dependencies:
automake is needed by (installed) intltool-0.41.0-1.1.el6.noarch
automake >= 1.4 is needed by (installed) libtool-2.2.6-15.5.el6.x86_64
zjtest7-redis:/root/automake-1.14.1# rpm -e --nodeps automake-1.11.1-4.el6.noarch
zjtest7-redis:/root/automake-1.14.1# rpm -qa | grep automake zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# autoconf -V
autoconf (GNU Autoconf) 2.69 zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# automake-1.14 --version
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.14 line 3930.
automake (GNU automake) 1.14.1 删除之前:
zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# rm -rf json-c-json-c-0.12-20140410/ zjtest7-redis:/root/soft/json-c-json-c-0.12-20140410# ./configure CC="gcc -m64" --prefix=/usr --libdir=/usr/lib64 && make && make install

												

升级automake和autoconf的更多相关文章

  1. mooon模板的automake、autoconf、m4和libtool版本信息

    autoconf --version autoconf (GNU Autoconf) 2.59 automake --version automake (GNU automake) 1.9.6 m4 ...

  2. Linux下使用automake、autoconf生成configure文件

    一.生成configure过程中各文件之间的关系图 二.详细介绍 autoscan: 扫描源代码以搜寻普通的可移植性问题,比如检查编译器,库,头文件等,生成文件configure.scan,它是con ...

  3. Makefile 管理工具 — Automake and Autoconf

    该project下载路径:http://files.cnblogs.com/iTsihang/hello-2.0.zip automake 參考资料:http://www.linuxforum.net ...

  4. 在mac os 中安装 autoconf and automake

    转载地址:http://www.mattvsworld.com/blog/2010/02/install-the-latest-autoconf-and-automake-on-mac-os-10-6 ...

  5. 使用autoconf和automake生成Makefile文件(转)

    Makefile好难写 曾经也总结了一篇关于Makefile的文章<make和makefile的简单学习>.但是,总结完以后,发现写Makefile真的是一件非常痛苦的事情,的确非常痛苦. ...

  6. MAC下安装automake autoconf工具

    I noticed today that while Mac OS 10.6 (specifically, 10.6.2) comes with automake and autoconf, the ...

  7. Linux安装AUTOCONF和AUTOMAKE产生的程序的一般步骤

    概述: 在Linux下安装一个应用程序时, 一般先运行脚本configure, 然后用make来编译源程序, 在运行make install, 最后运行make clean删除一些临时文件. 相关点的 ...

  8. Autoconf 中文手册

    Autoconf Autoconf Creating Automatic Configuration Scripts Edition 2.13, for Autoconf version 2.13 D ...

  9. Automake

    Automake是用来根据Makefile.am生成Makefile.in的工具 标准Makefile目标 'make all' Build programs, libraries, document ...

随机推荐

  1. 将 子集和问题 运行时间从 200.8s 优化到 0.4s

    在过去24小时里,一直被这题折腾着... 题目: A Math gameTime Limit: 2000/1000MS (Java/Others) Memory Limit: 256000/12800 ...

  2. 常用的ASCII码对照表

  3. 灵光一闪-VS设计界面能访问到private修饰的各种控件

    大家都知道,用VS设计界面时,VS默认控件的访问修饰符为private,但是我就很奇怪,private修饰的字段不是只有类内部才能访问吗? 好神奇的VS,这到底是怎么实现的?难道就是类似文本编辑器的作 ...

  4. 关于ThreadAbortExcption异常处理

    之前程序中,使用Thread.Abort()方法来终止线程的运行,但它是抛出ThreadAbortException异常来终止线程. 异常信息摘要: Unhandled Exception:Threa ...

  5. hadoop笔记之Hive的管理(CLI方式)

    Hive的管理(一) Hive的管理(一) Hive的启动方式 CLI(命令行)方式 Web界面方式 远程服务启动方式 CLI方式 1. 进入命令行方式 直接输入<HIVE_HOME>/b ...

  6. mysql函数操作(3)

    <?php $dbh = new PDO('mysql:dbname=testdb;host=localhost', 'mysql_user', 'mysql_pwd'); $dbh->s ...

  7. 什么是位、字节、字、KB、MB

    什么是位.字节.字.KB.MB 位:"位(bit)"是电子计算机中最小的数据单位.每一位的状态只能是0或1. 字节:8个二进制位构成1个"字节(Byte)",它 ...

  8. Delphi下TLabel鼠标MouseEnter、MouseLeave更改颜色失灵

    在Delphi 7下,如果想在鼠标MouseEnter.MouseLeave的时候改变TLabel自身的颜色,很多人可能会采用 Label.Color := clRed;这样的方式来实现,我当初也是一 ...

  9. Qt中如何禁掉所有UI操作以及注意事项(处理各个widget的eventFilter这一层,但是感觉不好,为什么不使用QApplication呢)

    刚做完的一个项目,在测试时出现了一个问题:由于多线程的存在,当进行语音识别时:如果用户点击程序界面上的button或者其他接受点击事件后会发出信号的widget时,程序会crash ! 后来尝试着从多 ...

  10. Java程序员快速入门Go语言

    这篇文章帮助Java程序员快速入门Go语言. 转载至 开源中国社区. http://www.oschina.net 本文将以一个有代表性的例子为开始,以此让Java程序员对Go语言有个初步认识,随后将 ...