mooon模板的automake、autoconf、m4和libtool版本信息
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版本信息的更多相关文章
- 大型项目使用Automake/Autoconf完成编译配置
http://www.cnblogs.com/xf-linux-arm-java-android/p/3590770.htmlhttp://blog.csdn.net/zengraoli/articl ...
- MAC下安装automake autoconf工具
I noticed today that while Mac OS 10.6 (specifically, 10.6.2) comes with automake and autoconf, the ...
- 大型项目使用Automake/Autoconf完成编译配置(标准的编译过程已经变成了简单的三部曲:configure/make/make install,)
使用过开源C/C++项目的同学们都知道,标准的编译过程已经变成了简单的三部曲:configure/make/make install, 使用起来很方便,不像平时自己写代码,要手写一堆复杂的Makefi ...
- C#,C++修改vs文件模板,添加自定义代码版权版本信息
简单型的修改类似该路径下的模板文件即可(vs版本或安装路径不同路径可能不同) C#: 模板参数参考https://msdn.microsoft.com/zh-cn/library/eehb4faa.a ...
- 自动生成 Makefile (automake/autoconf 入门)
作为Linux 下的程序开发人员,大家一定都遇到过Makefile ,用make 命令来编译自己写的程序确实是很方便.一般情况下,大家都是手工写一个简单Makefile ,如果要想写出一个符合自由软件 ...
- automake,autoconf使用详解
本文地址: http://www.laruence.com/2009/11/18/1154.html 文章转自: http://www.linuxcomputer.cn/ 作为Linux下的程序开发人 ...
- automake autoconf 使用详解
本文地址: http://www.laruence.com/2009/11/18/1154.html 文章转自: http://www.linuxcomputer.cn/ 作为Linux下的程序开发人 ...
- automake/autoconf的简单例子
参考文章1:http://loftor.com/archives/automake.html 参考文章2:http://www.blogjava.net/huyi2006/articles/18790 ...
- libtool版本过新的问题
安装过程中出现: libtool: Version mismatch error. This is libtool 2.4.2, but the libtool: definition of th ...
随机推荐
- 算法(Algorithms)第4版 练习 1.5.16
Quick-find package com.qiusongde; import edu.princeton.cs.algs4.StdDraw; import edu.princeton.cs.alg ...
- Oracle的select检索数据
--Select语法 select [distinct | All] select_list from table_list [where_clause] [group_by_clause] [Hav ...
- (转)edm注意事项
格式编码 1.页面宽度请设定在600到800px以内,长度1024px以内. 2.HTML编码请使用utf-8. 3.HTML代码在15KB以内.(各个邮箱的收件标准不一样,如果超出15KB您的邮件很 ...
- ssm+dubbo/zk
1.原始 Connection conn = null; String url = "jdbc:mysql://localhost:3306/emps?user=root&passw ...
- 8 Python 数据类型—元祖
Python的元组与列表类似,不同之处在于元组的元素不能修改. 元组使用小括号,列表使用方括号. 元组创建很简单,只需要在括号中添加元素,并使用逗号隔开即可. 创建空元组 tup1 = () 元组中只 ...
- Eclipse_debug异常_Source not found
一.现象 在eclipse中,打了断点之后运行代码,出现debug异常:Source not found,如下图 原因 找不到源码. 解决方案 添加源码即可 1.Edit Source Lookup ...
- L99
You're not obligated to win. You're obligated to keep trying.你不一定要获胜,但你必须不断尝试.He announced an expans ...
- BEC listen and translation exercise 49
Astronaut Sounds Alarm on Asteroids If a big asteroid with Earth's name on it were to reach us unimp ...
- 批量处理JDBC语句提高处理速度
当需要成批插入或者更新记录时.可以采用Java的批量更新机制,这一机制允许多条语句一次性提交给数据库批量处理.通常情况下比单独提交处理更有效率 JDBC的批量处理语句包括下面两个方法: – ...
- 【leetcode刷题笔记】Pascal's Triangle II
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,Return [1,3, ...