No particular reason, Andrew. It is just that I know where is the files are 
being installed on the system instead of spread around.

Ryan

-----Original Message-----
From: Andrew Beekhof [mailto:and...@beekhof.net] 
Sent: Friday, April 30, 2010 5:56 AM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS

Any reason not to use the EPEL5 packages on www.clusterlabs.org/rpm ?

On Fri, Apr 30, 2010 at 12:08 AM, Ruiyuan Jiang <ruiyuan_ji...@liz.com> wrote:
> Hi, all
>
> I am trying to compiling Pacemaker for Corosync and OpenAIS and got an error 
> from "make".
> Corosync and OpenAIS passed 'make' no problem but not Pacemaker. I downloaded 
> Corosync, OpenAIS and PaceMaker today.
> I have compiled and setup Pacemaker with Heartbeat no problem about two 
> months no problem.
> I followed the steps on the 'install' web page. The platform is RHEL v5.5.
> Here is the error that I got:
>
> ....
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include 
> -I../../include -I../../include -I../../libltdl -I../../libltdl 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g 
> -O2 -I/usr/local/include -I/usr/local/include/heartbeat -I/usr/local/include 
> -ggdb3 -O0 -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return 
> -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels 
> -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline 
> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long 
> -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings 
> -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -fPIC -MT iso8601_fields.lo -MD -MP 
> -MF .deps/iso8601_fields.Tpo -c iso8601_fields.c -o iso8601_fields.o 
> >/dev/null 2>&1
> if /bin/sh ../../libtool --tag=CC  --tag=CC --mode=compile gcc -std=gnu99 
> -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include  
> -I../../include -I../../libltdl  -I../../libltdl  -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2  -g -O2 
> -I/usr/local/include -I/usr/local/include/heartbeat -I/usr/local/include 
> -ggdb3 -O0 -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return 
> -Wbad-function-cast  -Wcast-align -Wdeclaration-after-statement 
> -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral 
> -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
> -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes 
> -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -fPIC -MT remote.lo 
> -MD -MP -MF ".deps/remote.Tpo" -c -o remote.lo remote.c; \
>        then mv -f ".deps/remote.Tpo" ".deps/remote.Plo"; else rm -f 
> ".deps/remote.Tpo"; exit 1; fi
>  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include 
> -I../../include -I../../include -I../../libltdl -I../../libltdl 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g 
> -O2 -I/usr/local/include -I/usr/local/include/heartbeat -I/usr/local/include 
> -ggdb3 -O0 -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return 
> -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels 
> -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline 
> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long 
> -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings 
> -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -fPIC -MT remote.lo -MD -MP -MF 
> .deps/remote.Tpo -c remote.c  -fPIC -DPIC -o .libs/remote.o
> cc1: warnings being treated as errors
> remote.c: In function 'create_tls_session':
> remote.c:74: warning: cast to pointer from integer of different size
> remote.c: In function 'cib_send_remote_msg':
> remote.c:295: warning: cast from pointer to integer of different size
> remote.c: In function 'cib_recv_remote_msg':
> remote.c:311: warning: cast from pointer to integer of different size
> gmake[2]: *** [remote.lo] Error 1
> gmake[2]: Leaving directory `/home/rc6/Pacemaker-1-0-a1bc70f2ea59/lib/common'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/rc6/Pacemaker-1-0-a1bc70f2ea59/lib'
> make: *** [all-recursive] Error 1
>
> Can anyone help me? Thanks.
>
> Ryan
>
>
>
> This message (including any attachments) is intended
> solely for the specific individual(s) or entity(ies) named
> above, and may contain legally privileged and
> confidential information. If you are not the intended
> recipient, please notify the sender immediately by
> replying to this message and then delete it.
> Any disclosure, copying, or distribution of this message,
> or the taking of any action based on it, by other than the
> intended recipient, is strictly prohibited.
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf



This message (including any attachments) is intended
solely for the specific individual(s) or entity(ies) named
above, and may contain legally privileged and
confidential information. If you are not the intended 
recipient, please notify the sender immediately by 
replying to this message and then delete it.
Any disclosure, copying, or distribution of this message,
or the taking of any action based on it, by other than the
intended recipient, is strictly prohibited.


_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf

Reply via email to