2013-03-05 59 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.

附:对不起,这是一个急于提问。让这个线程在这种情况下作为参考。