[sheepdog] make RPM fails

Andrew Niemantsverdriet andrew at rocky.edu
Tue Jul 24 19:19:18 CEST 2012


Hi,

On Tue, Jul 24, 2012 at 11:09 AM, MORITA Kazutaka
<morita.kazutaka at lab.ntt.co.jp> wrote:
> On 2012/07/24 1:52, Andrew Niemantsverdriet wrote:
>> Hi,
>>
>> On Mon, Jul 23, 2012 at 9:18 AM, MORITA Kazutaka
>> <morita.kazutaka at lab.ntt.co.jp> wrote:
>>> At Thu, 19 Jul 2012 16:25:40 -0600,
>>> Andrew Niemantsverdriet wrote:
>>>>
>>>> I am trying to do a make rpm and am getting a failure rbtree.c:23:20:
>>>> fatal error: rbtree.h: No such file or directory
>>>>
>>>> If I just do a make install everything seems to work but make rpm does not.
>>>>
>>>> Any hints on how to fix this? I am using the source checked out from
>>>> github this morning.
>>>
>>> I've posted a patch to fix the problem and pushed it to the devel
>>> branch.  Can you try it?
>>>
>>> Thanks,
>>>
>>> Kazutaka
>>
>> That patch gets me past one error but another one now pops up. I am
>> including the output below.
>>
>> cluster/corosync.c: In function 'send_message':
>> cluster/corosync.c:189:7: error: 'CPG_OK' undeclared (first use in
>> this function)
>> cluster/corosync.c:189:7: note: each undeclared identifier is reported
>> only once for each function it appears in
>> cluster/corosync.c:191:7: error: 'CPG_ERR_TRY_AGAIN' undeclared (first
>> use in this function)
>> cluster/corosync.c: In function 'corosync_join':
>> cluster/corosync.c:658:7: error: 'CPG_OK' undeclared (first use in
>> this function)
>> cluster/corosync.c:660:7: error: 'CPG_ERR_TRY_AGAIN' undeclared (first
>> use in this function)
>> cluster/corosync.c:664:7: error: 'CPG_ERR_SECURITY' undeclared (first
>> use in this function)
>> cluster/corosync.c: In function 'corosync_handler':
>> cluster/corosync.c:713:33: error: 'CPG_DISPATCH_ALL' undeclared (first
>> use in this function)
>> cluster/corosync.c:714:13: error: 'CPG_OK' undeclared (first use in
>> this function)
>> cluster/corosync.c: In function 'corosync_init':
>> cluster/corosync.c:735:13: error: 'CPG_OK' undeclared (first use in
>> this function)
>>
>> Same build environment as before (Fedora 17 x86_64)
>
> I've fixed the problem and pushed the patch to the devel branch again.
> Can you try again?
>
> Thanks,
>
> Kazutaka
>
>
>>
>> Thanks,
>>
>
>
> --
> NTT ソフトウェアイノベーションセンタ
> 分散処理基盤技術プロジェクト
> 分散仮想コンピューティング技術グループ
> 森田 和孝
> TEL: 0422-59-2825
> FAX: 0422-59-2965
> E-mail: morita.kazutaka at lab.ntt.co.jp

Yes, that fix works. The make rpm target works now. I have not had a
chance to test the resulting package but it does install fine.

Thanks,

-- 
 _
/-\ ndrew Niemantsverdriet
Linux System Administrator
Academic Computing
(406) 238-7360
Rocky Mountain College
1511 Poly Dr.
Billings MT, 59102



More information about the sheepdog mailing list