[Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS
Ruiyuan Jiang
Ruiyuan_Jiang at liz.com
Mon May 3 14:37:02 UTC 2010
Hi, Andrew
I have to admit one more or the main reason why I am compiling myself. Linux HA stated that the software runs on Solaris. I might use Linux HA for my Solaris (SPARC) system if OpenAIS or Corosync does not support Solaris. I don't think there is a pre-compiled package for Solaris. If I can successfully compile on Linux, it is a lot easier for me to find the problem when I am trying on Solaris if there is a problem when I use the same procedure.
Ryan
-----Original Message-----
From: Andrew Beekhof [mailto:andrew at beekhof.net]
Sent: Monday, May 03, 2010 3:09 AM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS
On Fri, Apr 30, 2010 at 4:48 PM, Ruiyuan Jiang <Ruiyuan_Jiang at liz.com> wrote:
> No particular reason, Andrew. It is just that I know where is the files are being installed on the system instead of spread around.
You lost me here.
Running "rpm -qlp some_package_file.rpm" will tell you where things
are going to be placed.
And it places them there in accordance with the Fedora and LSB rules...
Can I suggest that if you're being blocked by compile errors like this
one, then you don't have enough expertise to be compiling your own
packages.
>
> Ryan
>
> -----Original Message-----
> From: Andrew Beekhof [mailto:andrew at 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_Jiang at 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 at 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 at 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 at 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 at 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.
More information about the Pacemaker
mailing list