<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<span id="result_box" class="short_text" lang="en"><span>I guess</span>
<span class="">you got:</span></span><br>
automake<br>
autoconf<br>
libtool-ltdl-devel<br>
libuuid-devel<br>
pkgconfig<br>
python (or python-devel if that's preferred as a build dependency)<br>
glib2-devel<br>
libxml2-devel<br>
libxslt-devel <br>
bzip2-devel<br>
gnutls-devel<br>
pam-devel<br>
libqb-devel<br>
<br>
show us gcc -v <br>
<br>
Rafal<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">W dniu 2016-05-06 o 12:51, Jim Rippon
pisze:<br>
</div>
<blockquote cite="mid:2e4d63ba21371f47467c0534936c2db1@rippon.me.uk"
type="cite">Hi guys
<br>
<br>
I'm new to the list so apologies if I'm way off base, but I wonder
if someone can help me please?
<br>
<br>
I'm looking to build private RPMs for pacemaker and any
dependencies for Amazon Linux because I have as yet been unable to
get the CentOS binaries to install successfully.
<br>
<br>
I've got libqb and libqb-devel RPMs built successfully (also not
available in amazon linux repos) and installed on my build
instance, but I am getting errors when making pacemaker from tag
Pacemaker-1.1.14
<br>
<br>
I am doing the following:
<br>
<br>
git checkout --force Pacemaker-1.1.14
<br>
git clean -fdx
<br>
./autogen.sh
<br>
./configure # with options suggested by autogen.sh
<br>
make
<br>
<br>
I then receive the following errors from lib/common and the make
fails:
<br>
<br>
In file included from ../../include/crm_internal.h:33:0,
<br>
from ipc.c:19:
<br>
ipc.c: In function 'crm_ipcs_flush_events':
<br>
../../include/crm/common/logging.h:140:23: error: format '%d'
expects argument of type 'int', but argument 10 has type 'ssize_t'
[-Werror=format=]
<br>
static struct qb_log_callsite *trace_cs = NULL; \
<br>
^
<br>
../../include/crm/common/logging.h:254:37: note: in expansion of
macro 'do_crm_log_unlikely'
<br>
# define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE,
fmt , ##args)
<br>
^
<br>
ipc.c:497:13: note: in expansion of macro 'crm_trace'
<br>
crm_trace("Event %d to %p[%d] (%d compressed bytes) sent",
<br>
^
<br>
../../include/crm/common/logging.h:140:23: error: format '%d'
expects argument of type 'int', but argument 10 has type 'ssize_t'
[-Werror=format=]
<br>
static struct qb_log_callsite *trace_cs = NULL; \
<br>
^
<br>
../../include/crm/common/logging.h:254:37: note: in expansion of
macro 'do_crm_log_unlikely'
<br>
# define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE,
fmt , ##args)
<br>
^
<br>
ipc.c:500:13: note: in expansion of macro 'crm_trace'
<br>
crm_trace("Event %d to %p[%d] (%d bytes) sent: %.120s",
<br>
^
<br>
../../include/crm/common/logging.h:140:23: error: format '%s'
expects argument of type 'char *', but argument 11 has type 'void
*' [-Werror=format=]
<br>
static struct qb_log_callsite *trace_cs = NULL; \
<br>
^
<br>
../../include/crm/common/logging.h:254:37: note: in expansion of
macro 'do_crm_log_unlikely'
<br>
# define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE,
fmt , ##args)
<br>
^
<br>
ipc.c:500:13: note: in expansion of macro 'crm_trace'
<br>
crm_trace("Event %d to %p[%d] (%d bytes) sent: %.120s",
<br>
^
<br>
../../include/crm/common/logging.h:140:23: error: format '%d'
expects argument of type 'int', but argument 12 has type 'ssize_t'
[-Werror=format=]
<br>
static struct qb_log_callsite *trace_cs = NULL; \
<br>
^
<br>
../../include/crm/common/logging.h:254:37: note: in expansion of
macro 'do_crm_log_unlikely'
<br>
# define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE,
fmt , ##args)
<br>
^
<br>
ipc.c:512:9: note: in expansion of macro 'crm_trace'
<br>
crm_trace("Sent %d events (%d remaining) for %p[%d]: %s (%d)",
<br>
^
<br>
ipc.c: In function 'crm_ipcs_sendv':
<br>
../../include/crm/common/logging.h:140:23: error: format '%d'
expects argument of type 'int', but argument 8 has type 'ssize_t'
[-Werror=format=]
<br>
static struct qb_log_callsite *trace_cs = NULL; \
<br>
^
<br>
../../include/crm/common/logging.h:254:37: note: in expansion of
macro 'do_crm_log_unlikely'
<br>
# define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE,
fmt , ##args)
<br>
^
<br>
ipc.c:661:13: note: in expansion of macro 'crm_trace'
<br>
crm_trace("Response %d sent, %d bytes to %p[%d]",
header->qb.id, rc, c->ipcs, c->pid);
<br>
^
<br>
ipc.c: In function 'crm_ipc_close':
<br>
../../include/crm/common/logging.h:140:23: error: format '%p'
expects a matching 'void *' argument [-Werror=format=]
<br>
static struct qb_log_callsite *trace_cs = NULL; \
<br>
^
<br>
../../include/crm/common/logging.h:254:37: note: in expansion of
macro 'do_crm_log_unlikely'
<br>
# define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE,
fmt , ##args)
<br>
^
<br>
ipc.c:831:9: note: in expansion of macro 'crm_trace'
<br>
crm_trace("Disconnecting %s IPC connection %p (%p.%p)",
client->name, client, client->ipc);
<br>
^
<br>
cc1: all warnings being treated as errors
<br>
<br>
Any help appreciated
<br>
<br>
Jim
<br>
<br>
_______________________________________________
<br>
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a>
<br>
<br>
Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
<br>
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>
<br>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
<br>
</blockquote>
<br>
</body>
</html>