autoconf --version

autoconf (GNU Autoconf) 2.59

automake --version

automake (GNU automake) 1.9.6

m4 --version

GNU M4 1.4.4

libtool --version

ltmain.sh (GNU libtool) 1.5.22

如果在上述版本的libtool遇到如下错误:

configure.ac:64: error: possibly undefined macro: AC_PROG_LIBTOOL

      If this token and others are legitimate, please use m4_pattern_allow.

      See the Autoconf documentation.

请升级libtool版本,下面这个版本测试通过:

libtool --version

libtool (GNU libtool) 2.4

下载网址:

http://mirrors.ustc.edu.cn/gnu/libtool/libtool-2.4.tar.gz

automake、autoconf和m4可以在http://ftp.gnu.org/gnu找到各种版本的源代码安装包。

如果过程中仍遇到如下错误:

../libtool: line 816: X--tag=CXX: command not found

../libtool: line 849: libtool: ignoring unknown tag : command not found

../libtool: line 816: X--mode=link: command not found

../libtool: line 966: *** Warning: inferring the mode of operation is deprecated.: command not found

../libtool: line 967: *** Future versions of Libtool will require -mode=MODE be specified.: command not found

gcc: no input files

gcc: no input files

gcc: no input files

gcc: no input files

../libtool: line 2120: X-D_GNU_SOURCE: command not found

../libtool: line 2120: X-DTHREADED: command not found

../libtool: line 2120: X-rdynamic: command not found

../libtool: line 2120: X-Wall: command not found

../libtool: line 2120: X-fPIC: command not found

../libtool: line 2120: X-g: command not found

../libtool: line 2120: X-rdynamic: command not found

../libtool: line 2120: X-fPIC: command not found

../libtool: line 2284: Xiflow_download: command not found

../libtool: line 2289: X: command not found

../libtool: line 2296: Xiflow_download: command not found

../libtool: line 2436: X-lrt: command not found

../libtool: line 2436: X-lz: command not found

../libtool: line 2436: X-lpthread: command not found

../libtool: line 2436: X-lm: command not found

../libtool: line 2436: X-ldl: command not found

../libtool: line 2436: X-lrt: command not found

../libtool: line 2436: X-lz: command not found

../libtool: line 2436: X-lpthread: command not found

../libtool: line 2436: X-lm: command not found

../libtool: line 2436: X-ldl: command not found

这个错误据说是libtool版本问题,需要回退版本,但实际上不用回退版本也可以解决,在libtool(请注意不是/usr/bin/libtool,而是和configure同一目录下的,在mooon中,就是src目录)文件中找到下列行:

# An echo program that protects backslashes.

ECHO="printf %s\\n"

将ECHO一句换成:echo="echo",问题即可得到解决,如果没有ECHO="printf %s\\n"一行,但有ECHO="echo"一行,那解决方法是相同的。

mooon模板的automake、autoconf、m4和libtool版本信息的更多相关文章

  1. 大型项目使用Automake/Autoconf完成编译配置

    http://www.cnblogs.com/xf-linux-arm-java-android/p/3590770.htmlhttp://blog.csdn.net/zengraoli/articl ...

  2. MAC下安装automake autoconf工具

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

  3. 大型项目使用Automake/Autoconf完成编译配置(标准的编译过程已经变成了简单的三部曲:configure/make/make install,)

    使用过开源C/C++项目的同学们都知道,标准的编译过程已经变成了简单的三部曲:configure/make/make install, 使用起来很方便,不像平时自己写代码,要手写一堆复杂的Makefi ...

  4. C#,C++修改vs文件模板,添加自定义代码版权版本信息

    简单型的修改类似该路径下的模板文件即可(vs版本或安装路径不同路径可能不同) C#: 模板参数参考https://msdn.microsoft.com/zh-cn/library/eehb4faa.a ...

  5. 自动生成 Makefile (automake/autoconf 入门)

    作为Linux 下的程序开发人员,大家一定都遇到过Makefile ,用make 命令来编译自己写的程序确实是很方便.一般情况下,大家都是手工写一个简单Makefile ,如果要想写出一个符合自由软件 ...

  6. automake,autoconf使用详解

    本文地址: http://www.laruence.com/2009/11/18/1154.html 文章转自: http://www.linuxcomputer.cn/ 作为Linux下的程序开发人 ...

  7. automake autoconf 使用详解

    本文地址: http://www.laruence.com/2009/11/18/1154.html 文章转自: http://www.linuxcomputer.cn/ 作为Linux下的程序开发人 ...

  8. automake/autoconf的简单例子

    参考文章1:http://loftor.com/archives/automake.html 参考文章2:http://www.blogjava.net/huyi2006/articles/18790 ...

  9. libtool版本过新的问题

      安装过程中出现: libtool: Version mismatch error. This is libtool 2.4.2, but the libtool: definition of th ...

随机推荐

  1. php设计模式课程---6、策略模式如何使用

    php设计模式课程---6.策略模式如何使用 一.总结 一句话总结:比如代码需求,做一饭店,有南北方不同菜系,不同分店有不同的饭菜汤的需求,代码怎么设计 从饭店有特色过渡到厨师有特色(南方厨师(南方饭 ...

  2. 单机版 JedisUtil({基本操作封装工具类})【二】

    <!--集成的RedisJAR--> <!--引入jedis需的jar包--> <dependency> <groupId>redis.clients& ...

  3. python中类__call__方法与@classmethod

    实现了__call__方法的类就变成了一个可调用对象,可以像函数一样调用,callable(obj)就返回True,否则返回False. 参考:https://www.cnblogs.com/supe ...

  4. leetcode 258. Add Digits(数论)

    Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. ...

  5. Android Studio & Butter Knife —— 快速开发

    Butter Knife是一个Android的注解框架,可以帮助用户快速完成视图.资源与对象的绑定,完成事件的监听.(也就是少写findViewById()) 具体的介绍可以参考官方主页: http: ...

  6. 启用Linux云平台oracle数据库实口令复杂性函数:PASSWORD_VERIFY_FUNCTION=NULL

    第一步:采用putty.exe登录数据库服务器. 输入IP后点击“Open”按钮: 第二步:登录对应的数据库实例. 执行:# su – oracle 查找:$ps -ef | grep pmon 找到 ...

  7. Python的几种版本的不同实现

    Python自身作为一门编程语言,它有多种实现.这里的实现指的是符合Python语言规范的Python解释程序以及标准库等.这些实现虽然实现的是同一种语言,但是彼此之间,特别是与CPython之间还是 ...

  8. Amaze UI 框架

    Amaze UI 框架:官方网址 http://amazeui.org/ 演示地址 http://t.amazeui.org/kitchen-sink/#/ 该UI框架提供了 桌面系统WEB框架 和 ...

  9. 使用ceph命令提示handle_connect_reply connect got BADAUTHORIZER

    输入命令提示如下错误: [root@node1 ~]# rados -p testpool ls 2017-10-21 06:13:25.743045 7f8f89b6d700 0 -- 192.16 ...

  10. TS学习之接口

    TypeScript的核心原则之一是对值所具有的结构进行类型检查.接口的作用就是为这些类型命名和为你的代码或第三方代码定义契约. interface testType { name: string; ...