2010-06-03 23 views
0

我正在使用checkinstall在我的ubuntu機器上準備debian軟件包。我做了以下步驟準備它使用checkinstall製作.deb封面時出現以下錯誤

source_file_directory/ make 
checkinstall -D make install 

我在最後得到了。

Installing with make...Installing with install... 

    ========================= Installation results =========================== 
    make: *** No rule to make target `install'. Stop. 

    **** Installation failed. Aborting package creation. 

    Cleaning up...OK 

    Bye. 

回答

1

在make之前你做過./configure嗎?應該有一個自述文件,說明如何配置/編譯/安裝軟件包。

您不需要指定'make install',因爲這是默認設置。

+0

我的源代碼中沒有任何配置目錄。在這種情況下我能做些什麼? – thetna 2010-06-03 22:30:07

+0

由於在這種情況下您不能使用checkinstall,因此debian包是註定要分發的。檢查安裝的目的是使用標準工具以後乾淨地卸載程序。要創建要分發的debian軟件包,您必須遵循「打包指南」中的說明:https://wiki.ubuntu.com/PackagingGuide/Complete。這不是太糟糕,因爲有很好的工具可以幫助你。 – 2010-06-03 22:35:23

相關問題