config.status:错误:找不到输入文件:`po / Makefile.in.in'

时间:2020-08-01 03:33:25

标签: configure autotools automake po makefile.in.in

我在尝试使用GNU Autotools构建 gnote 时遇到了此错误消息。

我第一次跑步:

$ git clean -xf    # to clean the tree of untracked files, then
$ autoreconf       # to create the script named `configure`, and finally 
$ ./configure      # to check my system, and create Makefiles from their templates

我下载的源代码树中不存在po/Makefile.in.inpo/Makefile.in

configure仍需要按照此行的根po/Makefile的要求制作此Makefile.am

SUBDIRS = data src po help

po/Makefile.in.in在哪里或如何制造?

2 个答案:

答案 0 :(得分:1)

与所有与Gnome相关的软件包一样,gnote使用构建系统设置的许多步骤,而不仅仅是运行autoreconf

随附的autogen.sh脚本gnote应该运行所有必需的步骤来设置构建系统。

与往常一样,如果要分别调用autogen.sh,请使用带有--help参数的configure脚本。

答案 1 :(得分:0)

po/Makefile.in.in是通过从intltool程序包运行intltoolize来创建的。它需要从项目树的根目录运行。


除了简短的手册页外,我找不到intltoolize上的很多文档,但是源代码表明它是一个名为libtoolize的较早实用程序的分支,相对较短的脚本。

(顺便说一句,如果您尚未安装intltoolize,则可以通过以下方式找出要安装的软件包:sudo apt-file find intltoolize。)


*.in文件是AutoMake用于创建Makefile的模板。

.in.in是指向/usr/share/intltool/Makefile.in.in的软链接。