[Pacemaker] pacemaker-mgmt compile error
Michael Fung
mike at 3open.org
Wed Jun 23 02:23:45 UTC 2010
> autoconf
> > configure.in:56: error: possibly undefined macro: AC_PROG_INTLTOOL
> Looks like you need the intltool package.
Thanks Dejan. That solved the problem.
Later, when I do "./Configure make"
It gives:
=======
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 = -L/usr/lib -lnetsnmp
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
Making all in replace
[snip]
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_tls_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]: *** [libhbmgmttls_la-mgmt_tls_lib.lo] Error 1
make[2]: Leaving directory
`/root/tmp/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/tmp/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib'
make: *** [all-recursive] Error 1
=====
Any ideas please?
Thanks,
Michael
More information about the Pacemaker
mailing list