On 03/09/11 15:18, Jakob Curdes wrote: > Hi folks, > > I am trying to install an up-to-date HA with heartbeat 3.0, pacemaker > 1.0 and corosync 1.2 on a CentOS 5.5 system. > The RPMs from clusterlabs did most of the job; however for some purposes > I would like to have the GUI on the system. > Unfortunately I do not see a packaged version for the GUI matching the > 3.x line (where the management daemon has been moved into the GUI > package). The only rpm's I could find are 2.1 versions without mgmtd. > When I try to install the source package from > > http://hg.clusterlabs.org/pacemaker/pygui/archive/tip.tar.bz2 It supports both heartbeat and corosync based stack.
> > I get a strange python error: > > gmake[2]: Entering directory > `/usr/local/src/Pacemaker-Python-GUI-999c06bac9da/lib/mgmt' > python pymgmt.i > File "pymgmt.i", line 1 > %module pymgmt > ^ > SyntaxError: invalid syntax > gmake[2]: [pymgmt_wrap.c] Error 1 (ignored) > if /bin/sh ../../libtool --tag=CC --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include > -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl > -I../../libltdl -I../.. -I../.. -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 > -I/usr/include/python2.4 -I../../include -w -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 > _pymgmt_la-pymgmt_wrap.lo -MD -MP -MF ".deps/_pymgmt_la-pymgmt_wrap.Tpo" -c > -o _pymgmt_la-pymgmt_wrap.lo `test -f 'pymgmt_wrap.c' || echo > './'`pymgmt_wrap.c; \ > then mv -f ".deps/_pymgmt_la-pymgmt_wrap.Tpo" > ".deps/_pymgmt_la-pymgmt_wrap.Plo"; else rm -f > ".deps/_pymgmt_la-pymgmt_wrap.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include > -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl > -I../../libltdl -I../.. -I../.. -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.4 > -I../../include -w -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 _pymgmt_la-pymgmt_wrap.lo -MD -MP -MF > .deps/_pymgmt_la-pymgmt_wrap.Tpo -c ./pymgmt_wrap.c -fPIC -DPIC -o > .libs/_pymgmt_la-pymgmt_wrap.o > gcc: ./pymgmt_wrap.c: No such file or directory > gcc: no input files > gmake[2]: *** [_pymgmt_la-pymgmt_wrap.lo] Error 1 Do you have swig installed? It's required for build. 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
