[Pacemaker] Errors while compiling

Stephan Buchner Buchner at Linux-Systeme.de
Wed Mar 19 12:26:29 UTC 2014


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: 
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


-- 

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140319/d7e1d110/attachment.htm>


More information about the Pacemaker mailing list