<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Andrew,<br>
another steps forward...but I receive a new error :-(<br>
<br>
<small>mv -f .deps/libhbmgmt_la-mgmt_lib.Tpo
.deps/libhbmgmt_la-mgmt_lib.Plo<br>
/bin/sh ../../libtool --tag=CC   --tag=CC   --mode=compile gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include 
-I../../include -I../../libltdl  -I../../libltdl -I../../linux-ha
-I../../linux-ha -I../..          -I../.. 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/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_crm.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_crm.Tpo -c
-o libhbmgmt_la-mgmt_crm.lo `test -f 'mgmt_crm.c' || echo
'./'`mgmt_crm.c<br>
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include
-I../../include -I../../include -I../../libltdl -I../../libltdl
-I../../linux-ha -I../../linux-ha -I../.. -I../..
-I/usr/local/include/glib-2.0 -I/usr/local/lib/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_crm.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_crm.Tpo -c
mgmt_crm.c  -fPIC -DPIC -o .libs/libhbmgmt_la-mgmt_crm.o<br>
<font color="#ff0000">cc1: warnings being treated as errors<br>
mgmt_crm.c: In function ‘on_cleanup_rsc’:<br>
mgmt_crm.c:1307: error: passing argument 9 of ‘delete_attr’ makes
integer from pointer without a cast<br>
/usr/include/pacemaker/crm/cib_util.h:65: note: expected ‘gboolean’ but
argument is of type ‘void *’<br>
mgmt_crm.c:1307: error: too many arguments to function ‘delete_attr’<br>
mgmt_crm.c:1316: error: passing argument 9 of ‘update_attr’ makes
integer from pointer without a cast<br>
/usr/include/pacemaker/crm/cib_util.h:51: note: expected ‘gboolean’ but
argument is of type ‘char *’<br>
mgmt_crm.c:1316: error: too many arguments to function ‘update_attr’<br>
gmake[2]: *** [libhbmgmt_la-mgmt_crm.lo] Error 1<br>
gmake[2]: Leaving directory
`/usr/src/clusterlabd_dep/Pacemaker-Python-GUI-0f1490eaa8d8/mgmt/daemon'<br>
gmake[1]: *** [all-recursive] Error 1<br>
gmake[1]: Leaving directory
`/usr/src/clusterlabd_dep/Pacemaker-Python-GUI-0f1490eaa8d8/mgmt'<br>
make: *** [all-recursive] Error 1</font><br>
</small><br>
Could you please help me?<br>
<br>
Regards,<br>
Roberto.<br>
<br>
On 05/20/2010 01:02 PM, Roberto Giordani wrote:
<blockquote cite="mid:4BF516C2.4070603@libero.it" type="cite">
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <small><big>Hello Andrew,<br>
I'm trying to build on Opensuse 11.2 64bit the Python gui now, using
the last source available on <a moz-do-not-send="true"
 class="moz-txt-link-freetext"
 href="http://hg.clusterlabs.org/pacemaker/">http://hg.clusterlabs.org/pacemaker/</a><br>
but after<br>
./ConfigureMe configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --with-group-id=90 --with-ccmuser-id=90
--disable-rpath<br>
  </big><br>
pacemaker-mgmt configuration:<br>
  Version                  = 2.0 (Build:
0f1490eaa8d83db534385670fdcbd154407d51cc)<br>
  Prefix                   = /usr<br>
  Executables              = /usr/sbin<br>
  Man pages                = /usr/share/man<br>
  Libraries                = /usr/lib64<br>
  Header files             = /usr/include<br>
  Arch-independent files   = /usr/share<br>
  State information        = /var<br>
  System configuration     = /etc<br>
  Init (rc) scripts        = /etc/init.d<br>
  Use system LTDL          = yes<br>
  HA group name            = haclient<br>
  HA user name             = hacluster<br>
  Build snmp subagent      = no<br>
  SNMP libraries           = <br>
  With Heartbeat support   = 1<br>
  With AIS support         = corosync<br>
  With AIS prefix          = /usr<br>
  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<br>
  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<br>
  Libraries                = -lbz2 -lplumb -lpils -lxml2 -lc -lpam -lrt
-ldl  -lltdl<br>
  <br>
  <big>Tying to build, I receive the following error</big><br>
  <br>
Making all in mgmt<br>
gmake[2]: Entering directory
`/usr/src/clusterlabd_dep/Pacemaker-Python-GUI-0f1490eaa8d8/lib/mgmt'<br>
python pymgmt.i<br>
  File "pymgmt.i", line 1<br>
    %module pymgmt<br>
    ^<br>
SyntaxError: invalid syntax<br>
gmake[2]: [pymgmt_wrap.c] Error 1 (ignored)<br>
/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<br>
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<br>
gcc: ./pymgmt_wrap.c: No such file or directory<br>
gcc: no input files<br>
gmake[2]: *** [_pymgmt_la-pymgmt_wrap.lo] Error 1</small><br>
  <br>
Could you please what's wrong?<br>
  <br>
Regards,<br>
Roberto.<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pacemaker mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>

Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a></pre>
</blockquote>
<br>
</body>
</html>