为python项目创建一个makefile时出错

时间:2014-02-22 10:50:10

标签: python makefile autoconf automake

我正在试图弄清楚如何为基于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技术好的东西?

0 个答案:

没有答案