![](/img/trans.png)
[英]Installing iulib - config.status: error: cannot find input file: Makefile.in
[英]config.status: error: cannot find input file: `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.in
和po/Makefile.in
在我下載的源代碼樹中都不存在。
然而configure
需要制作這個po/Makefile
,正如根Makefile.am
在這一行中所要求的:
SUBDIRS = data src po help
我從哪里得到,或者我如何制作po/Makefile.in.in
?
像所有與 Gnome 相關的軟件包一樣, gnote
使用許多構建系統設置步驟,而不僅僅是運行autoreconf
。
gnote
附帶的autogen.sh
腳本應該運行所有必需的步驟來設置構建系統。
像往常一樣,如果您想單獨調用configure
,請使用--help
參數運行autogen.sh
腳本。
po/Makefile.in.in
是通過從 intltool package 運行intltoolize
創建的。 它需要從項目樹的根目錄運行。
除了簡短的手冊頁外,我找不到太多關於intltoolize
的文檔,但它的源代碼表明它是一個名為libtoolize
的舊實用程序的分支,而且它是一個相對較短的腳本。
(順便說一句,如果您還沒有安裝intltoolize
,您可以通過以下命令找出安裝它的 package : sudo apt-file find intltoolize
。)
*.in
文件是 AutoMake 用於創建 Makefile 的模板。
.in.in
是指向/usr/share/intltool/Makefile.in.in
的軟鏈接。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.