[Pacemaker] Build Pacemaker-Python-GUI-0f1490eaa8d8

Roberto Giordani r.giordani at libero.it
Thu May 20 11:02:26 UTC 2010


Hello Andrew,
I'm trying to build on Opensuse 11.2 64bit the Python gui now, using the 
last source available on http://hg.clusterlabs.org/pacemaker/
but after
./ConfigureMe configure --prefix=/usr --sysconfdir=/etc 
--localstatedir=/var --with-group-id=90 --with-ccmuser-id=90 --disable-rpath

pacemaker-mgmt configuration:
   Version                  = 2.0 (Build: 
0f1490eaa8d83db534385670fdcbd154407d51cc)
   Prefix                   = /usr
   Executables              = /usr/sbin
   Man pages                = /usr/share/man
   Libraries                = /usr/lib64
   Header files             = /usr/include
   Arch-independent files   = /usr/share
   State information        = /var
   System configuration     = /etc
   Init (rc) scripts        = /etc/init.d
   Use system LTDL          = yes
   HA group name            = haclient
   HA user name             = hacluster
   Build snmp subagent      = no
   SNMP libraries           =
   With Heartbeat support   = 1
   With AIS support         = corosync
   With AIS prefix          = /usr
   CC_WARNINGS              =  -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
   Mangled CFLAGS           = -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
   Libraries                = -lbz2 -lplumb -lpils -lxml2 -lc -lpam -lrt 
-ldl  -lltdl

Tying to build, I receive the following error

Making all in mgmt
gmake[2]: Entering directory 
`/usr/src/clusterlabd_dep/Pacemaker-Python-GUI-0f1490eaa8d8/lib/mgmt'
python pymgmt.i
   File "pymgmt.i", line 1
     %module pymgmt
     ^
SyntaxError: invalid syntax
gmake[2]: [pymgmt_wrap.c] Error 1 (ignored)
/bin/sh ../../libtool --tag=CC   --tag=CC   --mode=compile gcc 
-std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include 
-I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl 
-I../../libltdl -I../..          -I../..  -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -I/usr/include/libxml2 
-I/usr/include/python2.6 -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
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include 
-I../../include -I../../include -I../../linux-ha -I../../linux-ha 
-I../../libltdl -I../../libltdl -I../.. -I../.. 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/include/libxml2 -I/usr/include/python2.6 -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

Could you please what's wrong?

Regards,
Roberto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100520/46658e2b/attachment-0001.html>


More information about the Pacemaker mailing list