[Pacemaker] Errors while compiling

Jan Friesse jfriesse at redhat.com
Wed Mar 19 09:39:14 EDT 2014


Stephan Buchner napsal(a):
> Hm, i tried recompiling all three packages (libqb, corosync and
> pacemaker), using versions which have been marked stable by the gentoo
> project.
> 
> I used the following versions: libqb           = 0.14.4
>                                                     corosync    = 1.4.5
>                                                     pacemaker = 1.1.11
> 
> Now i get this error, which seems at least related to the last one i got:
> 
> "
> CC     corosync.lo
> corosync.c:38:27: fatal error: corosync/cmap.h: No such file or directory
> compilation terminated.
> make[2]: *** [corosync.lo] Fehler 1
> make[2]: Leaving directory
> `/opt/srccluster/pacemaker-Pacemaker-1.1.11/lib/cluster'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/opt/srccluster/pacemaker-Pacemaker-1.1.11/lib'
> make: *** [core] Fehler 1
> "
> 
> Am i missing something here? I loosely followed this guide:

cmap is included in corosync 2.x. Also libqb 0.14.4 is known to be
buggy, please use 0.17.0


> http://clusterlabs.org/wiki/SourceInstall
> 
> Am 17.03.2014 06:11, schrieb Andrew Beekhof:
>> Its looking for cmap_handle_t which will be in one of the corosync
>> headers.
>> What version of corosync have you got installed?
>>
>> On 15 Mar 2014, at 12:18 am, Stephan Buchner
>> <Buchner at Linux-Systeme.de> wrote:
>>
>>> Hm, i installed "libcrmcluster1-dev" and "libcrmcommon2-dev" on my
>>> debian system, still the same error :/
>>>
>>> Am 14.03.2014 14:07, schrieb emmanuel segura:
>>>> maybe you are missing crm dev library
>>>>
>>>>
>>>> 2014-03-14 13:39 GMT+01:00 Stephan Buchner <Buchner at linux-systeme.de>:
>>>> Hey everyone!
>>>> I am trying to compile pacemaker from source for some time - but i
>>>> keep getting the same errors, despite using different versions.
>>>>
>>>> I did the following to get this:
>>>>
>>>> 1. ./autogen.sh
>>>> 2. ./configure --prefix=/opt/cluster/ --disable-fatal-warnings
>>>> 3. make
>>>>
>>>> After that step i always get this error:
>>>>
>>>> http://pastebin.com/eXFmhUUD
>>>>
>>>> I get this on version 1.10, as on 1.11
>>>>
>>>> Any ideas?
>>>>
>>>> -- 
>>>>
>>>> Stephan Buchner
>>>> Buchner at Linux-Systeme.de
>>>>
>>>> +49 201 - 29 88 319
>>>> +49 172 - 7 222 333
>>>>
>>>> Linux-Systeme GmbH
>>>> Langenbergerstr. 179, 45277 Essen
>>>> www.linux-systeme.de +49 201 - 29 88 30
>>>> Amtsgericht Essen, HRB 14729
>>>> Geschäftsführer Jörg Hinz
>>>>
>>>>
>>>> _______________________________________________
>>>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>>
>>>> Project Home: http://www.clusterlabs.org
>>>> Getting started:
>>>> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>>> Bugs: http://bugs.clusterlabs.org
>>>>
>>>>
>>>>
>>>> -- 
>>>> esta es mi vida e me la vivo hasta que dios quiera
>>>>
>>>>
>>>> _______________________________________________
>>>> Pacemaker mailing list:
>>>> Pacemaker at oss.clusterlabs.org
>>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>>
>>>>
>>>> Project Home:
>>>> http://www.clusterlabs.org
>>>>
>>>> Getting started:
>>>> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>>>
>>>> Bugs:
>>>> http://bugs.clusterlabs.org
>>>
>>> -- 
>>>
>>> Stephan Buchner
>>>
>>> Buchner at Linux-Systeme.de
>>>
>>>
>>> +49 201 - 29 88 319
>>> +49 172 - 7 222 333
>>>
>>> Linux-Systeme GmbH
>>> Langenbergerstr. 179, 45277 Essen
>>>
>>> www.linux-systeme.de
>>>   +49 201 - 29 88 30
>>> Amtsgericht Essen, HRB 14729
>>> Geschäftsführer Jörg Hinz
>>>
>>> _______________________________________________
>>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>
>>> Project Home: http://www.clusterlabs.org
>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>> Bugs: http://bugs.clusterlabs.org
>>
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://bugs.clusterlabs.org
> 
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 





More information about the Pacemaker mailing list