2013-03-05 56 views
0

我試圖從源代碼構建一個包。該./configuremake措施奏效,但是sudo make installsudo checkinstall導致錯誤:make install嘗試複製文件兩次

enter image description here

我們可以看到DRBD/usr/bin/install -c行中列出的兩倍。

問題是我真的不知道如何去做這件事。正如預期的那樣,這個文件列表(ha資源代理)不存在於任何Makefiles或install-sh中,而是在旅途中以某種方式生成。

任何有關在哪裏尋找或如何從此列表中刪除重複條目的想法?謝謝。

回答

1

其實我錯了,上面的列表出現在Makefile.am文件之一中。這裏是post是幫了我:

This issue is caused because for those earlier versions we incorrectly had those specified files listed twice in the Makefile.am and with the newer Automake versions this causes the errors you received.

附:對不起,這是一個急於提問。讓這個線程在這種情況下作爲參考。