【发布时间】:2014-03-13 10:32:03
【问题描述】:
我正在尝试为 hello world 示例 C 程序创建安装包。
我已经完成了以下步骤。
自动扫描
mv configure.scan configure.ac 编辑 configure.ac 以添加一些宏。
本地
在
中创建 Makefile.ambin_PROGRAMS = hello
hello_SOURCES = hello.c
最后我做了自动制作。
然后我收到了下面的消息。 .
configure.ac:12: error: required file './compile' not found
configure.ac:12: 'automake --add-missing' can install 'compile'
configure.ac:6: error: required file './missing' not found
configure.ac:6: 'automake --add-missing' can install 'missing'
Makefile.am: error: required file './INSTALL' not found
Makefile.am: 'automake --add-missing' can install 'INSTALL'
Makefile.am: error: required file './NEWS' not found
Makefile.am: error: required file './README' not found
Makefile.am: error: required file './AUTHORS' not found
Makefile.am: error: required file './ChangeLog' not found
Makefile.am: error: required file './COPYING' not found
Makefile.am: 'automake --add-missing' can install 'COPYING'
Makefile.am: error: required file './depcomp' not found
Makefile.am: 'automake --add-missing' can install 'depcomp'
在 Makefile.am 和 configure.ac 文件中没有任何字符串,包括 compile、missing、NEW、README 或说是必需的消息。
我该怎么办?
这些是有关某些产品版本的信息。
CentOS 6.4 版
autocomf-2.69
automake-1.14
m4-1.4
【问题讨论】:
标签: configure autotools autoconf automake