[Pacemaker] pygui error to install on Ubuntu 10.04

Luana C. Rocha luanac.rocha at gmail.com
Tue Sep 14 19:13:33 UTC 2010


  Hi,

Again, thank you all for the help.

Yan,

The devel packages are installed:

apt-get install libheartbeat2-dev pacemaker-dev heartbeat heartbeat-dev 
libheartbeat2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libheartbeat2-dev is already the newest version.
pacemaker-dev is already the newest version.
heartbeat is already the newest version.
heartbeat-dev is already the newest version.
libheartbeat2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

These are the packages versions:

dpkg -l pacemaker
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  pacemaker      1.0.8+hg15494- HA cluster resource manager


dpkg -l heartbeat
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  heartbeat      1:3.0.3-1ubunt Subsystem for High-Availability Linux

After your last message I've installed a few other packages:

apt-get install gcc g++ make autoconf automake gawk
apt-get install gettext-tools intltool
apt-get install gettext intltool
apt-get install cluster-glue cluster-glue-dev
apt-get install pkg-config
apt-get install libglib2.0-dev
apt-get install libcluster-glue-dev
apt-get install heartbeat
apt-get install heartbeat-dev libheartbeat2-dev pacemaker-dev
apt-get install python-xml
apt-get install heartbeat-dev
apt-get install libheartbeat2-dev pacemaker-dev heartbeat heartbeat-dev 
libheartbeat2-dev
apt-get install libheartbeat2-dev pacemaker-dev heartbeat heartbeat-dev 
libheartbeat2-dev
apt-get install libpam-devperm libpam0g-dev
apt-get install python-dev
apt-get install swig
apt-get install gnutls-bin python-gnutls
apt-get install libcurl4-gnutls-dev  libgnutls-dev
apt-get install libxml2-dev
apt-get install libbz2-dev libbz2
apt-get install libbz2-1.0 libbz2-dev
apt-get install uuid-dev
apt-get install libnm-glib-dev libxmmsclient++-glib-dev 
libxmmsclient-glib-dev
apt-get install libglib2.0-0 libglib2.0-dev
apt-get install libglibmm-2.4-dev

*I had some progress, but now i've got stucked again, with the error 
above: *

root at squid01:/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0# 
./ConfigureMe install --with-heartbeat-support
Configure flags for Debian GNU/Linux: --prefix=/usr --sysconfdir=/etc 
--localstatedir=/var --mandir=/usr/share/man --disable-rpath
Running ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--mandir=/usr/share/man --disable-rpath --with-heartbeat-support
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.35.2... 0.41.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
Our Host OS: linux-gnu/i686-pc-linux-gnu
configure: Sanitizing prefix: /usr
configure: Sanitizing exec_prefix: NONE
configure: Sanitizing ais_prefix: /usr
configure: Sanitizing INITDIR:
checking which init (rc) directory to use... /etc/init.d
configure: Sanitizing libdir: ${exec_prefix}/lib
checking which lib directory to use... /usr/lib
configure: WARNING: libexecdir directory (/usr/libexec) does not exist!
configure: WARNING: sharedstatedir directory (/usr/com) does not exist!
configure: WARNING: docdir directory (/usr/share/doc/pacemaker-mgmt) 
does not exist!
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) 
-std=gnu99
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... 
${prefix}/lib/python2.6/dist-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.6/dist-packages
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 
object... ok
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for glibtool... $(SHELL) $(top_builddir)/libtool
checking for glibtool or libtool*... $(SHELL) $(top_builddir)/libtool 
has been found.
checking for gmake... no
checking for make... make
checking for gmake or make... make has been found.
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for lynx... no
checking for w3m... /usr/bin/w3m
checking for pod2man... /usr/bin/pod2man
checking for route... /sbin/route
checking for rpmbuild... no
checking for rpm... no
checking for netstat... /bin/netstat
checking for ping... /bin/ping
checking for ifconfig... /sbin/ifconfig
checking for ssh... /usr/bin/ssh
checking for scp... /usr/bin/scp
checking for python... (cached) /usr/bin/python
checking for mail... no
checking for getent... /usr/bin/getent
checking for ip... /sbin/ip
checking for xml2-config... /usr/bin/xml2-config
checking for reboot... /sbin/reboot
checking for poweroff... /sbin/poweroff
checking for whoami... /usr/bin/whoami
checking for swig... /usr/bin/swig
checking for egrep... (cached) /bin/grep -E
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for hg... no
checking for gzip... /bin/gzip
checking for tar... /bin/tar
checking for md5... no
checking for test... /usr/bin/test
checking for pkg-config... /usr/bin/pkg-config
checking for mktemp... /bin/mktemp
checking if chown works for non-root... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for sched_getscheduler in -lposix4... no
checking for dlopen in -lc... no
checking for dlopen in -ldl... (cached) yes
checking for sched_getscheduler in -lrt... yes
checking for getopt_long in -lgnugetopt... no
checking for pam_start in -lpam... yes
using /usr/bin/pkg-config glib-2.0
checking where is python installed... using /usr/bin/python
checking if netstat supports -f inet flag... no
checking ping option for timeout - w or t... -w1
checking ifconfig option to list interfaces...
checking for locale directory... /usr/share/locale
checking for RPM directory... not found
checking for gettext in -lc... yes
checking for special glib includes: ... -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include
checking for glib library flags... -lglib-2.0
checking for ANSI C header files... (cached) yes
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking tcpd.h usability... no
checking tcpd.h presence... no
checking for tcpd.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/reboot.h usability... yes
checking sys/reboot.h presence... yes
checking for sys/reboot.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_var.h... no
checking for netinet/ip_compat.h... no
checking for netinet/ip_fw.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for linux/watchdog.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking for getpeerucred... no
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking for sys/ucred.h... no
checking sys/cred.h usability... no
checking sys/cred.h presence... no
checking for sys/cred.h... no
checking xti.h usability... no
checking xti.h presence... no
checking for xti.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for special libxml2 includes... -I/usr/include/libxml2
checking for xmlReadMemory in -lxml2... yes
checking for linux/icmpv6.h... yes
./configure: line 16699: test: too many arguments
checking libxml/xpath.h usability... yes
checking libxml/xpath.h presence... yes
checking for libxml/xpath.h... yes
checking for CRYPTO_free in -lcrypto... no
checking for size_t... yes
checking for facilitynames in syslog.h... yes
checking for preprocessor stringizing operator... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for type struct tm ... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for lt_dlopen in -lltdl... yes
configure: Using installed ltdl
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking curses/curses.h usability... no
checking curses/curses.h presence... no
checking for curses/curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking hb_config.h usability... yes
checking hb_config.h presence... no
configure: WARNING: hb_config.h: accepted by the compiler, rejected by 
the preprocessor!
configure: WARNING: hb_config.h: proceeding with the compiler's result
checking for hb_config.h... yes
checking glue_config.h usability... yes
checking glue_config.h presence... no
configure: WARNING: glue_config.h: accepted by the compiler, rejected by 
the preprocessor!
configure: WARNING: glue_config.h: proceeding with the compiler's result
checking for glue_config.h... yes
checking for HA_HBCONF_DIR in glue_config.h... /etc/ha.d/
checking for HB_RA_DIR in glue_config.h... /etc/ha.d/resource.d/
checking for HA_LIBDIR in glue_config.h... 
/tmp/extract_define.HA_LIBDIR.3116.c: In function 'main':
/tmp/extract_define.HA_LIBDIR.3116.c:3: error: 'HA_LIBDIR' undeclared 
(first use in this function)
/tmp/extract_define.HA_LIBDIR.3116.c:3: error: (Each undeclared 
identifier is reported only once
/tmp/extract_define.HA_LIBDIR.3116.c:3: error: for each function it 
appears in.)
./configure: line 5400: /tmp/extract_define.HA_LIBDIR.3116: No such file 
or directory

printf: usage: printf [-v var] format [arguments]
checking for HA_LIBHBDIR in glue_config.h... /usr/lib/heartbeat
checking for HA_VARRUNDIR in glue_config.h... /var/run
checking for HA_VARLIBHBDIR in glue_config.h... /var/lib/heartbeat
checking for OCF_ROOT_DIR in glue_config.h... /usr/lib/ocf
checking for OCF_RA_DIR in glue_config.h... /usr/lib/ocf/resource.d/
checking for HA_APIGROUP in glue_config.h... haclient
checking for HA_CCMUSER in glue_config.h... hacluster
checking for hg... /usr/local/hg
checking build revision... 18332eae086e5c64bf1f2ae80eba52b72c409963
checking for PILLoadPlugin in -lpils... yes
checking for G_main_add_IPC_Channel in -lplumb... yes
checking for msgfromIPC_timeout... yes
checking for struct lrm_ops.fail_rsc... yes
checking for ll_cluster_new in -lhbclient... yes
checking for native AIS... try
checking openais/saAis.h usability... no
checking openais/saAis.h presence... no
checking for openais/saAis.h... no
checking corosync/coroipcc.h usability... yes
checking corosync/coroipcc.h presence... yes
checking for corosync/coroipcc.h... yes
checking for OpenAIS branch... corosync
checking for coroipcc_msg_send_reply_receive in -lcoroipcc... yes
checking for supported stacks...  heartbeat corosync
checking for ucd-snmp/snmp.h... no
checking net-snmp/net-snmp-config.h usability... no
checking net-snmp/net-snmp-config.h presence... no
checking for net-snmp/net-snmp-config.h... no
checking whether gcc -std=gnu99 supports "-fgnu89-inline"... yes
checking whether gcc -std=gnu99 supports "-Wall"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-prototypes"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-declarations"... yes
checking whether gcc -std=gnu99 supports "-Wstrict-prototypes"... yes
checking whether gcc -std=gnu99 supports 
"-Wdeclaration-after-statement"... yes
checking whether gcc -std=gnu99 supports "-Wpointer-arith"... yes
checking whether gcc -std=gnu99 supports "-Wwrite-strings"... yes
checking whether gcc -std=gnu99 supports "-Wcast-qual"... yes
checking whether gcc -std=gnu99 supports "-Wcast-align"... yes
checking whether gcc -std=gnu99 supports "-Wbad-function-cast"... yes
checking whether gcc -std=gnu99 supports "-Winline"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-format-attribute"... yes
checking whether gcc -std=gnu99 supports "-Wformat=2"... yes
checking whether gcc -std=gnu99 supports "-Wformat-security"... yes
checking whether gcc -std=gnu99 supports "-Wformat-nonliteral"... yes
checking whether gcc -std=gnu99 supports "-Wno-long-long"... yes
checking whether gcc -std=gnu99 supports "-Wno-strict-aliasing"... yes
checking whether gcc -std=gnu99 supports "-std=iso9899:199409"... yes
Enabling ANSI Compatibility on this platform
checking whether gcc -std=gnu99 supports "-Werror"... yes
Enabling Fatal Warnings (-Werror) on this platform
checking for alphasort... yes
checking for inet_pton... yes
checking for NoSuchFunctionName... no
checking for scandir... yes
checking for setenv... yes
checking for strerror... yes
checking for unsetenv... yes
checking for strnlen... yes
checking for strndup... yes
checking for daemon... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for getopt... yes
checking for fcntl... yes
checking for flock... yes
checking for inet_aton... yes
checking for mallinfo... yes
checking for mallopt... yes
checking for __default_morecore... yes
checking for seteuid... yes
checking for setegid... yes
checking for getpeereid... no
checking for setproctitle... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzBuffToBuffCompress  in -lbz2... yes
checking for sigignore... no
checking whether gcc -std=gnu99 supports "-funsigned-char"... yes
checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for libgnutls-config... no
checking for gnutls_init in -lgnutls... no
checking for valgrind... no
checking for gawk... /usr/bin/gawk
Supressing make details:
checking for cimserver... no
checking for sfcbd... no
checking for owcimomd... no
configure: WARNING: Cimom not found, MOF will not be installed!
checking for headers required to compile python extensions... found
checking for /etc/pam.d/common-account... yes
checking for /etc/pam.d/common-auth... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README
config.status: creating debian/Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating include/mgmt/Makefile
config.status: creating lib/Makefile
config.status: creating lib/mgmt/Makefile
config.status: creating cim/Makefile
config.status: creating cim/mof/Makefile
config.status: creating cim/mof/register_providers.sh
config.status: creating cim/mof/unregister_providers.sh
config.status: creating mgmt/Makefile
config.status: creating mgmt/daemon/Makefile
config.status: creating mgmt/client/Makefile
config.status: creating mgmt/client/haclient.py
config.status: creating mgmt/client/crm_gui.desktop
config.status: creating mgmt/client/mgmtcmd.py
config.status: creating po/Makefile.in
config.status: creating replace/Makefile
config.status: creating snmp_subagent/Makefile
config.status: creating snmp_subagent/SNMPAgentSanityCheck
config.status: creating tsa_plugin/Makefile
config.status: creating tsa_plugin/testrun.sh
config.status: creating tsa_plugin/linuxha-adapter
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/mgmt_config.h
config.status: include/mgmt_config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: setting ALL_LINGUAS in configure.in is obsolete
config.status: creating po/Makefile
config.status: executing libtool commands
config.status: executing po/stamp-it commands

pacemaker-mgmt configuration:
   Version                  = 2.0 (Build: 
18332eae086e5c64bf1f2ae80eba52b72c409963)
   Prefix                   = /usr
   Executables              = /usr/sbin
   Man pages                = /usr/share/man
   Libraries                = /usr/lib
   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
Running make install
Making install in replace
make[1]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/replace'
make[2]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/replace'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/replace'
make[1]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/replace'
Making install in include
make[1]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include'
Making install in mgmt
make[2]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include/mgmt'
make[3]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include/mgmt'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/heartbeat/mgmt" || /bin/mkdir -p 
"/usr/include/heartbeat/mgmt"
  /usr/bin/install -c -m 644 mgmt_client.h mgmt_common.h mgmt.h 
mgmt_tls.h '/usr/include/heartbeat/mgmt'
make[3]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include/mgmt'
make[2]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include/mgmt'
make[2]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include'
if [ -r ha_version.h -a ! -w ha_version.h ]; then    \
         hgv="";                        \
         echo "Saved Version";                 \
     elif [ -f "../.hg_archival.txt" ]; then            \
         hgv="`/bin/grep -E node: ""../.hg_archival.txt""`";            \
         echo "Hg Archived Version: ${hgv}";        \
     elif [ -x /usr/local/hg -a -d ../.hg ]; then        \
         hgv="`/usr/local/hg -R ".." id`";            \
         echo "Hg Live Version: ${hgv}";         \
     elif [ -r ha_version.h ]; then                \
         hgv="";                        \
         echo "Hg Saved Live Version";             \
         cat ha_version.h;                 \
     else                            \
         hgv="Unknown";                    \
         echo "Unknown Hg Version";            \
     fi ;                            \
     if [ X"${hgv}" != "X" ]; then                    \
       echo "/* ${hgv} */" > ha_version.h;                 \
       echo "#define HA_HG_VERSION \"${hgv}\"" >> ha_version.h;     \
     fi
Hg Archived Version: node: 18332eae086e5c64bf1f2ae80eba52b72c409963
make[3]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/heartbeat" || /bin/mkdir -p "/usr/include/heartbeat"
  /usr/bin/install -c -m 644 mgmt_config.h '/usr/include/heartbeat'
make[3]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include'
make[2]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include'
make[1]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/include'
Making install in lib
make[1]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib'
Making install in mgmt
make[2]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt'
make[3]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt'
/bin/bash 
/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/install-sh -d 
/var/lib/heartbeat/mgmt
chgrp haclient //var/lib/heartbeat/mgmt
chmod 770 //var/lib/heartbeat/mgmt
test -z "/usr/lib" || /bin/mkdir -p "/usr/lib"
  /bin/bash ../../libtool --tag=CC    --mode=install /usr/bin/install 
-c   libhbmgmttls.la libhbmgmtclient.la libhbmgmtcommon.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libhbmgmttls.so.0.0.0 
/usr/lib/libhbmgmttls.so.0.0.0
libtool: install: (cd /usr/lib && { ln -s -f libhbmgmttls.so.0.0.0 
libhbmgmttls.so.0 || { rm -f libhbmgmttls.so.0 && ln -s 
libhbmgmttls.so.0.0.0 libhbmgmttls.so.0; }; })
libtool: install: (cd /usr/lib && { ln -s -f libhbmgmttls.so.0.0.0 
libhbmgmttls.so || { rm -f libhbmgmttls.so && ln -s 
libhbmgmttls.so.0.0.0 libhbmgmttls.so; }; })
libtool: install: /usr/bin/install -c .libs/libhbmgmttls.lai 
/usr/lib/libhbmgmttls.la
libtool: install: warning: relinking `libhbmgmtclient.la'
libtool: install: (cd 
/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt; 
/bin/bash /home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/libtool  
--tag CC --tag CC --mode=relink gcc -std=gnu99 -I../../include 
-I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl 
-I../../libltdl -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 -o libhbmgmtclient.la -rpath /usr/lib 
libhbmgmtclient_la-mgmt_client_lib.lo -lglib-2.0 libhbmgmttls.la 
../../replace/libreplace.la -lbz2 -lplumb -lpils -lxml2 -lc -lpam -lrt 
-ldl -lltdl )
libtool: relink: gcc -std=gnu99 -shared  
.libs/libhbmgmtclient_la-mgmt_client_lib.o  -Wl,--whole-archive 
../../replace/.libs/libreplace.a -Wl,--no-whole-archive  -L/usr/lib 
-lhbmgmttls -luuid -lglib-2.0 -lbz2 -lplumb -lpils -lxml2 -lc -lpam -lrt 
-ldl -lltdl    -Wl,-soname -Wl,libhbmgmtclient.so.0 -o 
.libs/libhbmgmtclient.so.0.0.0
libtool: install: /usr/bin/install -c .libs/libhbmgmtclient.so.0.0.0T 
/usr/lib/libhbmgmtclient.so.0.0.0
libtool: install: (cd /usr/lib && { ln -s -f libhbmgmtclient.so.0.0.0 
libhbmgmtclient.so.0 || { rm -f libhbmgmtclient.so.0 && ln -s 
libhbmgmtclient.so.0.0.0 libhbmgmtclient.so.0; }; })
libtool: install: (cd /usr/lib && { ln -s -f libhbmgmtclient.so.0.0.0 
libhbmgmtclient.so || { rm -f libhbmgmtclient.so && ln -s 
libhbmgmtclient.so.0.0.0 libhbmgmtclient.so; }; })
libtool: install: /usr/bin/install -c .libs/libhbmgmtclient.lai 
/usr/lib/libhbmgmtclient.la
libtool: install: /usr/bin/install -c .libs/libhbmgmtcommon.so.0.0.0 
/usr/lib/libhbmgmtcommon.so.0.0.0
libtool: install: (cd /usr/lib && { ln -s -f libhbmgmtcommon.so.0.0.0 
libhbmgmtcommon.so.0 || { rm -f libhbmgmtcommon.so.0 && ln -s 
libhbmgmtcommon.so.0.0.0 libhbmgmtcommon.so.0; }; })
libtool: install: (cd /usr/lib && { ln -s -f libhbmgmtcommon.so.0.0.0 
libhbmgmtcommon.so || { rm -f libhbmgmtcommon.so && ln -s 
libhbmgmtcommon.so.0.0.0 libhbmgmtcommon.so; }; })
libtool: install: /usr/bin/install -c .libs/libhbmgmtcommon.lai 
/usr/lib/libhbmgmtcommon.la
libtool: install: /usr/bin/install -c .libs/libhbmgmttls.a 
/usr/lib/libhbmgmttls.a
libtool: install: chmod 644 /usr/lib/libhbmgmttls.a
libtool: install: ranlib /usr/lib/libhbmgmttls.a
libtool: install: /usr/bin/install -c .libs/libhbmgmtclient.a 
/usr/lib/libhbmgmtclient.a
libtool: install: chmod 644 /usr/lib/libhbmgmtclient.a
libtool: install: ranlib /usr/lib/libhbmgmtclient.a
libtool: install: /usr/bin/install -c .libs/libhbmgmtcommon.a 
/usr/lib/libhbmgmtcommon.a
libtool: install: chmod 644 /usr/lib/libhbmgmtcommon.a
libtool: install: ranlib /usr/lib/libhbmgmtcommon.a
libtool: finish: 
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" 
ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
    /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
      during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
      during linking
    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/lib/heartbeat-gui" || /bin/mkdir -p "/usr/lib/heartbeat-gui"
  /usr/bin/install -c -m 644 pymgmt.py '/usr/lib/heartbeat-gui'
test -z "/usr/lib/heartbeat-gui" || /bin/mkdir -p "/usr/lib/heartbeat-gui"
  /bin/bash ../../libtool --tag=CC    --mode=install /usr/bin/install 
-c   _pymgmt.la '/usr/lib/heartbeat-gui'
libtool: install: /usr/bin/install -c .libs/_pymgmt.so.0.0.0 
/usr/lib/heartbeat-gui/_pymgmt.so.0.0.0
libtool: install: (cd /usr/lib/heartbeat-gui && { ln -s -f 
_pymgmt.so.0.0.0 _pymgmt.so.0 || { rm -f _pymgmt.so.0 && ln -s 
_pymgmt.so.0.0.0 _pymgmt.so.0; }; })
libtool: install: (cd /usr/lib/heartbeat-gui && { ln -s -f 
_pymgmt.so.0.0.0 _pymgmt.so || { rm -f _pymgmt.so && ln -s 
_pymgmt.so.0.0.0 _pymgmt.so; }; })
libtool: install: /usr/bin/install -c .libs/_pymgmt.lai 
/usr/lib/heartbeat-gui/_pymgmt.la
libtool: install: /usr/bin/install -c .libs/_pymgmt.a 
/usr/lib/heartbeat-gui/_pymgmt.a
libtool: install: chmod 644 /usr/lib/heartbeat-gui/_pymgmt.a
libtool: install: ranlib /usr/lib/heartbeat-gui/_pymgmt.a
libtool: finish: 
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" 
ldconfig -n /usr/lib/heartbeat-gui
----------------------------------------------------------------------
Libraries have been installed in:
    /usr/lib/heartbeat-gui

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
      during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
      during linking
    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt'
make[2]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt'
make[2]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib'
make[3]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib'
make[2]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib'
make[1]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib'
Making install in mgmt
make[1]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/mgmt'
Making install in daemon
make[2]: Entering directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/mgmt/daemon'
/bin/bash ../../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/include/glib-2.0 
-I/usr/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_lib.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_lib.Tpo -c 
-o libhbmgmt_la-mgmt_lib.lo `test -f 'mgmt_lib.c' || echo './'`mgmt_lib.c
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/include/glib-2.0 -I/usr/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_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
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                  from /usr/include/glib-2.0/glib.h:34,
                  from mgmt_lib.c:33:
/usr/include/glib-2.0/glib/gthread.h: In function âg_once_init_enterâ:
/usr/include/glib-2.0/glib/gthread.h:348: error: cast discards 
qualifiers from pointer target type
make[2]: *** [libhbmgmt_la-mgmt_lib.lo] Error 1
make[2]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/mgmt/daemon'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory 
`/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/mgmt'
make: *** [install-recursive] Error 1
root at squid01:/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100914/db64cdd1/attachment-0002.htm>


More information about the Pacemaker mailing list