为python proj创建makefile时出错

2024-09-27 07:24:34 发布

您现在位置:Python中文网/ 问答频道 /正文

我正试图找出如何为基于python的项目创建makefile(其次,这是我最熟悉的唯一编程语言),到目前为止,我按照this tutorial开始。但是,在生成configure.ac时,这个文件是空的,configure文件也是空的。在

同样,当我运行aclocal时,我没有得到aclocal.m4,但是我得到了aclocal.cache目录。在

最后,当我试图运行automake --add-missing时,我得到了以下错误消息:

$ automake --add-missing
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
automake: error: no 'Makefile.am' found for any configure output
automake: Did you forget AC_CONFIG_FILES([Makefile]) in configure.ac?

现在,我很困惑什么是错的,该怎么做。其次,我还发现了hitchhiker's guide to packaging

关于搭便车指南的描述够了吗?有什么比make技术更好的吗?在


Tags: 文件noaddthatinitconfigureerroram

热门问题