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 ...
随机推荐
- django配置文件环境分离后celery的启动方式整理
django项目中,当配置文件分离时: 启动方式1: 硬编码写死在manage.py中: os.environ.setdefault("DJANGO_SETTINGS_MODULE" ...
- apache中配置php支持模块模式、cgi模式和fastcgi模式的实验
首先安装apache.mysql和php,依次顺序安装. 1.apache.mysql的安装比较简单,略过 2. php的安装,我安装的是php5.3.6内置了php-fpm,所以不需要再单独下补丁了 ...
- vRA Customizing error
toolsDeployPkg.log An error occurred while customizing VM vwbjvuqtest0751. For details reference the ...
- redis主从架构及redis集群
https://redis.io/topics/cluster-spec Redis Cluster does not support multiple databases like the stan ...
- SDN关键技术-Segment Routing协议简介
当前,SDN作为一种新的网络架构,已经成为行业高度关注的热点.其倡导的开放式网络,代表了从网络应用适应网络能力向网络能力主动适配网络应用需求这个网络建设理念的改变.转发与控制分离.集中的控制层面.开放 ...
- python再议装饰器
装饰器实质还是一个函数,是对其他函数进行装饰的函数.装饰器函数接受被装饰函数的函数名,返回被装饰函数的函数名.对一个函数进行装饰有两个原则:一是不能修改被装饰函数的源代码:二是被装饰函数的调用方式不可 ...
- jQuery cookie 实现记住用户名和密码功能
jQuery cookie 实现记住用户名和密码功能 HTML代码 <div class="wrap"> <div class="line-top&qu ...
- IBatis笔记
dynamic可以去除第一个prepend="and"中的字符(这里为and),从而可以帮助你实现一些很实用的功能 ibatis的remapResults属性在查询列发生变化,直接 ...
- Idea_学习_07_Idea常用配置
二.参考资料 1.Android Studio 入门级教程(一)
- FFmpeg 基本用法
FFmpeg FFmpeg 基本用法 本课要解决的问题 1.FFmpeg的转码流程是什么? 2.常见的视频格式包含哪些内容吗? 3.如何把这些内容从视频文件中抽取出来? 4.如何从一种格式转换为另一种 ...