On 24 Mar 2014, at 7:14 pm, Stephan Buchner <buch...@linux-systeme.de> wrote:
> Am 19.03.2014 14:39, schrieb Jan Friesse: >> 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 >> > Okay, now i used: > > libqb = 0.17.0 > corosync = 2.3.1 > pacemaker = 1.1.11 > > But now i get this error again: > > CC corosync.o > corosync.c:238:33: error: unknown type name ‘cmap_handle_t’ > corosync.c: In function ‘mcp_read_config’: > corosync.c:382:5: error: implicit declaration of function ‘get_config_opt’ > [-Werror=implicit-function-declaration] > corosync.c:382:5: error: nested extern declaration of ‘get_config_opt’ > [-Werror=nested-externs] > corosync.c:382:20: error: ‘config’ undeclared (first use in this function) > corosync.c:382:20: note: each undeclared identifier is reported only once for > each function it appears in > corosync.c:382:28: error: ‘local_handle’ undeclared (first use in this > function) > corosync.c:382:42: error: ‘KEY_PREFIX’ undeclared (first use in this function) > corosync.c:382:53: error: expected ‘)’ before string constant > corosync.c:391:57: error: expected ‘)’ before string constant > corosync.c:392:57: error: expected ‘)’ before string constant > corosync.c:408:57: error: expected ‘)’ before string constant > corosync.c:409:57: error: expected ‘)’ before string constant > corosync.c:268:9: error: unused variable ‘retries’ [-Werror=unused-variable] > cc1: all warnings being treated as errors > make[1]: *** [corosync.o] Fehler 1 > make[1]: Leaving directory `/opt/srccluster/pacemaker-Pacemaker-1.1.11/mcp' > make: *** [core] Fehler 1 > > Any ideas? Perhaps re-run ./configure so that pacemaker is trying to compile against the current version of corosync > >>> 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 >>>> <buch...@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 <buch...@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 >>>>>> buch...@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@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@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 >>>>> >>>>> buch...@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@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@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@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@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 > buch...@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@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
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Pacemaker mailing list: Pacemaker@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