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. SrpingCloud 之SrpingCloud config分布式配置中心

    Config架构 当一个系统中的配置文件发生改变的时候,我们需要重新启动该服务,才能使得新的配置文件生效,spring cloud config可以实现微服务中的所有系统的配置文件的统一管理,而且还可 ...

  2. 好久没更了,确实太忙了--dedecms篇

    最近写了一个地方新闻网站,可以看看:www.qiluhuabao.com.模仿www.bashan.com写的 用的是dedecms,只听过,没用过.终于在上周来了一个必须用到cms的项目,现学现卖, ...

  3. Bootstrap(二)段落+强调内容

    在Bootstrap中为文本设置了一个全局的文本样式(这里所说的文本是指正文文本): 1.全局文本字号为14px(font-size). 2.行高为1.42857143(line-height),大约 ...

  4. linux学习系列一

    1. 基本命令(注意参数的大小写) 学习linux如果使用的是windows 建议使用一个很好用的工具git,下载安装即可使用linux下的命令来操作windows 1.1目录及文件 注意/ 有表示根 ...

  5. Hive- 表

    在hive中表的类型:管理表和托管表(外部表). 内部表也称之为MANAGER_TABLE,默认存储在/user/hive/warehouse下,也可以通过location指定:删除表时,会删除表的数 ...

  6. Jquery实现超酷的时间轴特效

    Timeline时间轴Jquery特效是一款现在互联网上非常流行的一种布局结构,结合了瀑布流布局,最近很多网友问到这种特效,网站上有网友们分享过一款,功能虽然实现,但样式不太好看,今天就把它整理出来分 ...

  7. Appium-关于appium的原生控件的 xpath 定位问题及常用方法

    最近遇到的项目,发现很多元素,都没有标明id.text.content-desc,classname中又有很多是相同,导致无法定位 第一,appium1.5及之后的版本废弃了name属性(如name= ...

  8. 4 Python 日期和时间

    Python 程序能用很多方式处理日期和时间,转换日期格式是一个常见的功能. Python 提供了一个 time 和 calendar 模块可以用于格式化日期和时间. 时间间隔是以秒为单位的浮点小数. ...

  9. JavaUtil_08_StringUtil_commons-lang3 之 StringUtils

    二.参考资料 1.[commons]字符串工具类——commons-lang3之StringUtils

  10. codeforces 652A A. Gabriel and Caterpillar(水题)

    题目链接: A. Gabriel and Caterpillar time limit per test 1 second memory limit per test 256 megabytes in ...