automake 出错处理
2012-09-13 17:25
120 查看
yu@MCW-xnYu:~/1temp/modify_makefile_for_bench/memcached-1.4.14-modify$ automake doc/Makefile.am:12: `%'-style pattern rules are a GNU make extension doc/Makefile.am:15: `%'-style pattern rules are a GNU make extension doc/Makefile.am:18: `%'-style pattern rules are a GNU make extension Makefile.am: required file `./INSTALL' not found Makefile.am: `automake --add-missing' can install `INSTALL' Makefile.am: required file `./README' not found
在这里找到了解决方案http://sources.redhat.com/autobook/autobook/autobook_25.html
1 The `--add-missing' option copies some boilerplate files fromyour Automake installation into the current directory. Files such as`COPYING', which contain the GNU General Public License changeinfrequently, and so can be generated without
user intervention. Anumber of utility scripts are also installed--these are used by thegenerated`Makefile's, particularly by the
installtarget.Notice that some required files are still missing. These are:
`NEWS'A record of user-visible changes to a package. The format is notstrict, but the changes to the most recent version should appear at thetop of the file.
2`README'The first place a user will look to get an overview for the purpose of a package, and perhaps special installation instructions.//说明文档得写出来
`AUTHORS'Lists the names, and usually mail addresses, of individuals who workedon the package.
`ChangeLog'The ChangeLog is an important file--it records the changes that are madeto a package. The format of this file is quite strict(see section5.5 Documentation and ChangeLogs).
For now, we'll do enough to placate Automake:
$ touch NEWS README AUTHORS ChangeLog $ automake --add-missing |
doc/Makefile.am:12: `%'-style pattern rules are a GNU make extension 还没有解决,找到解决方案再发上来
在http://www.cppblog.com/seahouse/archive/2011/01/18/137750.html找到了答案。
执行automake -a,出现:Makefile.am:29: `%'-style pattern rules are a GNU make extension
解决:执行automake -Wno-portability
参考:http://bugs.mysql.com/bug.php?id=30708
学习:http://www.gnu.org/software/automake/manual/automake.html
http://www.ibm.com/developerworks/cn/linux/l-makefile/
相关文章推荐
- 程序出错的处理
- Sharepoint 2010 工作流启动时处理表单出错
- 1、class或都id中含有“.”,“#”等特殊字符 在我们的程序中可能会遇到id中还有“.”和“#”等特殊字符,如果按照普通方式处理就会出错,解决方法是用转义符转义。 在下面程序中: <div
- Unix环境编程-出错处理
- 导入android源码出错处理
- 如何处理Android2.3解析json出错,4.0不报错
- 出错处理
- Linux BT下载(10)-出错处理模块和运行日志模块设计
- 程序中三种不同的出错处理方式比较
- Linux 系统应用编程——出错处理(errno)
- hive-错误-处理解压文件gz出错
- 出错处理
- Linux 中write()函数的出错情况及处理
- VMWare虚拟网络配置出错处理一例
- ubuntu安装sqlite及出错处理
- 名称以无效字符开头。处理资源 'http://localhost/' 时出错。第 1 行,位置: 2
- android.support.v7使用,出错处理
- dpkg:处理软件包 xxx (--configure)时出错
- gclient sync 出错处理
- 关于C语言中,出错处理的一般模型