On 03/09/11 18:10, Jakob Curdes wrote:
> 
>> I have no problem compiling this, even providing an rpm when done, but I 
>> have no clue why make complains abount missing files in the mgmtd directory.
>> Am I using the wrong source perhaps? I used the source from
>> http://hg.clusterlabs.org/pacemaker/pygui/archive/tip.tar.bz2
>> as indicated on the clusterlabs website.
> I got a bit further, I installed the cluster-glue from current source 
> and additionally "swig", "pam-devel", "libxslt-devel" and 
> "gnutls-devel"  - thanks for the "swig" hint, Yan!
> This solved the "syntax error" problem.
> 
> But now I get a different error much later in compiling:
> 
> mkdir .libs
>   gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include 
> -I../../include -I../../include -I../../libltdl -I../../libltdl 
> -I../../linux-ha -I../../linux-ha -I../.. -I../.. 
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
> -I/usr/include/libxml2 -I../../include -I../../include -I../../libltdl 
> -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -g -O2 
> -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-inline -Wall 
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
> -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings 
> -Wcast-qual -Wcast-align -Wbad-function-cast -Winline 
> -Wmissing-format-attribute -Wformat=2 -Wformat-security 
> -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ansi 
> -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT 
> libhbmgmt_la-mgmt_lib.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_lib.Tpo -c 
> mgmt_lib.c  -fPIC -DPIC -o .libs/libhbmgmt_la-mgmt_lib.o
> cc1: warnings being treated as errors
> mgmt_lib.c: In function 'init_mgmt_lib':
> mgmt_lib.c:95: warning: implicit declaration of function 
> 'is_heartbeat_cluster'
> gmake[2]: *** [libhbmgmt_la-mgmt_lib.lo] Error 1
> 
> Still another component missing or what is up here? I still use the 
> source from the above link on the clusterlabs website, which is 
> equivalent to "Pacemaker-Python-GUI-999c06bac9da".

The latest code is compatible with pacemaker-1.1. If you adopted
pacemaker-1.0, you'll need pacemaker-mgmt-2.0.0:
http://hg.clusterlabs.org/pacemaker/pygui/archive/18332eae086e.tar.bz2

Regards,
  Yan
-- 
Yan Gao <[email protected]>
Software Engineer
China Server Team, OPS Engineering, Novell, Inc.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to