Configure 汽车制造中的错误

Configure 汽车制造中的错误,configure,autotools,autoconf,automake,Configure,Autotools,Autoconf,Automake,我正在尝试为hello world示例C程序创建安装包 我已经完成了以下步骤 自动扫描 mv configure.scan configure.ac 编辑configure.ac以添加一些宏 局部的 在中创建Makefile.am bin_PROGRAMS = hello hello_SOURCES = hello.c 最后我做了汽车制造 然后我收到了下面的留言 configure.ac:12: error: required file './compile' not found config

我正在尝试为hello world示例C程序创建安装包

我已经完成了以下步骤

自动扫描

mv configure.scan configure.ac 编辑configure.ac以添加一些宏

局部的

在中创建Makefile.am

bin_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文件中不需要任何字符串,包括
编译
缺少
新建
自述文件
,或所述消息

我该怎么办

这些是关于某些产品版本的信息

CentOS 6.4版

AUTOCOMM-2.69

汽车制造-1.14


m4-1.4

这些文件需要存在,以符合标准的“自动生成/自动更改”文件集

按照它给你的说明:“automake--addmissing”,丢失的文件将被创建为虚拟信息,你将(在一个完美的世界中)适当地填写这些信息

试着细读这本书,或者是这本书。另见


此外,请阅读手册页,尝试
automake--help
,阅读实用程序的有用输出以帮助您?

可能在
configure.ac
中向
AM\u INIT\u automake
宏添加
外来的
,在这种情况下可能会有所帮助。

创建这些虚拟文件后,
automake
已完成,无错误。如何添加外文?你能把整条线都排好吗?是不是
AM\u INIT\u AUTOMAKE([外国])
??没错。或者,如果已经定义了
AM\u INIT\u AUTOMAKE
,则可以将
外来
添加到其空格分隔选项列表中。我面临着一个类似的问题,但是已经定义了
foreign
,有什么建议吗?也许您应该遵循以下内容:相关: