[Pacemaker] Heartbeat GUI Client Compiling

Ruiyuan Jiang Ruiyuan_Jiang at liz.com
Thu Jan 21 12:12:52 EST 2010


Well, I tried tip first which downloaded from http://hg.clusterlabs.org/pacemaker/pygui/archive/tip.tar.bz2. That one did even worse for me. Here is what I got when I ran bootstrap for that version which did not pass "bootstrap" step and I posted the result on this mailing list but nobody answered me. It is on Redhat Enterprise server v5.3.

# /home/rc6/Pacemaker-Python-GUI-1a20774cb1e6> ./bootstrap --with-heartbeat-support
Autoconf package autoconf found.
Automake package automake-1.9 found.
Libtool package libtool found.
aclocal-1.9
aclocal:configure.in:57: warning: macro `AM_PO_SUBDIRS' not found in library
autoheader
libtoolize --ltdl --force --copy
aclocal-1.9
aclocal:configure.in:57: warning: macro `AM_PO_SUBDIRS' not found in library
automake-1.9 --add-missing --include-deps --copy
configure.in: installing `./install-sh'
configure.in: installing `./missing'
cim/Makefile.am: installing `./depcomp'
lib/mgmt/Makefile.am: installing `./compile'
autoconf
configure.in:56: error: possibly undefined macro: AC_PROG_INTLTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:57: error: possibly undefined macro: AM_PO_SUBDIRS

./bootstrap exiting due to error (sorry!).
# /home/rc6/Pacemaker-Python-GUI-1a20774cb1e6>


Ruiyuan

-----Original Message-----
From: Yan Gao [mailto:ygao at novell.com] 
Sent: Wednesday, January 20, 2010 11:58 PM
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] Heartbeat GUI Client Compiling

Hi,

Ruiyuan Jiang wrote:
> Hi, all
> 
> I downloaded the v1.4 GUI source code, 4d3288030a84. 
> I compiled it with the option:
> 
> # ./bootstrap --with-heartbeat-support
> # make
> 
> The bootstrap step passed no problem. It failed at make:
> 
> ...
> 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/local/include/heartbeat -I/usr/local/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
> mgmt_lib.c:40:34: error: clplumbing/cl_malloc.h: No such file or directory
> In file included from /usr/local/include/pacemaker/crm/common/util.h:32,
>                  from mgmt_lib.c:51:
> /usr/local/include/heartbeat/heartbeat.h:144:1: error: "HADEBUGVAL" redefined
> In file included from mgmt_lib.c:49:
> mgmt_internal.h:30:1: error: this is the location of the previous definition
> In file included from mgmt_lib.c:51:
> /usr/local/include/pacemaker/crm/common/util.h:156: error: expected ')' before '*' token
> /usr/local/include/pacemaker/crm/common/util.h:157: error: expected ')' before '*' token
> /usr/local/include/pacemaker/crm/common/util.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> /usr/local/include/pacemaker/crm/common/util.h:255: error: expected declaration specifiers or '...' before 'xmlNode'
> mgmt_lib.c: In function 'init_mgmt_lib':
> mgmt_lib.c:75: error: 'cl_free' undeclared (first use in this function)
> mgmt_lib.c:75: error: (Each undeclared identifier is reported only once
> mgmt_lib.c:75: error: for each function it appears in.)
> mgmt_lib.c:79: error: 'cl_malloc' undeclared (first use in this function)
> mgmt_lib.c:79: error: 'cl_realloc' undeclared (first use in this function)
> cc1: warnings being treated as errors
> mgmt_lib.c: In function 'reg_msg':
> mgmt_lib.c:131: warning: implicit declaration of function 'cl_strdup'
> mgmt_lib.c:131: warning: passing argument 2 of 'g_hash_table_insert' makes pointer from integer without a cast
> mgmt_lib.c: In function 'reg_event':
> mgmt_lib.c:175: warning: passing argument 2 of 'g_hash_table_replace' makes pointer from integer without a cast
> gmake[2]: *** [libhbmgmt_la-mgmt_lib.lo] Error 1
> gmake[2]: Leaving directory `/home/rc6/Pacemaker-Python-GUI-4d3288030a84/mgmt/daemon'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/rc6/Pacemaker-Python-GUI-4d3288030a84/mgmt'
> make: *** [all-recursive] Error 1
> 
> Am I missing something here? I also tried with option: --enable-fatal-warnings=no but no help. Thanks in advance.
Please use the tip of the repo. That's stable enough.

-- 
Yan Gao <ygao at novell.com>
Software Engineer
China Server Team, OPS Engineering, Novell, Inc.

_______________________________________________
Pacemaker mailing list
Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker



This message (including any attachments) is intended
solely for the specific individual(s) or entity(ies) named
above, and may contain legally privileged and
confidential information. If you are not the intended 
recipient, please notify the sender immediately by 
replying to this message and then delete it.
Any disclosure, copying, or distribution of this message,
or the taking of any action based on it, by other than the
intended recipient, is strictly prohibited.





More information about the Pacemaker mailing list