【问题标题】:Execute automake from eclipse autotools plugin从 eclipse autotools 插件执行 automake
【发布时间】:2010-11-23 00:58:05
【问题描述】:

我最近为 eclipse 安装了 autotools 插件。我为每个源子目录制作了 Makefile.am。我还在 configure.ac 文件中包含了 AM_INIT_MAKEFILE 宏。插件确实使用autoreconf -i。问题是每当我尝试构建时都会收到错误消息,
config.status: error: cannot find input file: 'Makefile.in'
这表明 automake 从未运行过。有什么想法吗?

【问题讨论】:

  • 用于重新生成 Autotools 管理的文件的典型命令行工具调用为 autoreconf -i。也许您可以在 GUI 中找到与此相关的内容? (我对插件不熟悉。)
  • 插件确实使用 autoreconf -i。

标签: c eclipse autotools


【解决方案1】:

我犯了一个初学者的错误。我没有添加 automake 实际运行和制作 Makefile.in 所需的额外文件。要运行任何自动工具(aclocal、automake、autoheader 等),请转到 Project->Invoke Autotools->Invoke(autotool 的名称)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-04
    • 2017-10-02
    • 2020-03-10
    • 1970-01-01
    • 2023-03-16
    相关资源
    最近更新 更多