[Pacemaker] Pacemaker compilation problem with or without --without-heartbeat option

Hunny Bunny tmphb at yahoo.com
Wed Dec 16 16:41:56 UTC 2009


Andrew,
Thank you very much for your reply.

I'll verify that CFLAGS were set according to your suggestions and recompile again all the packages in the cluster environment.

Thanks again,
Alex 

--- On Wed, 12/16/09, Andrew Beekhof <andrew at beekhof.net> wrote:

From: Andrew Beekhof <andrew at beekhof.net>
Subject: Re: [Pacemaker] Pacemaker compilation problem with or without --without-heartbeat option
To: pacemaker at oss.clusterlabs.org
Date: Wednesday, December 16, 2009, 10:52 AM



On Tue, Dec 15, 2009 at 6:01 PM, Hunny Bunny <tmphb at yahoo.com> wrote:

Andrew,
Thank very much you for your prompt reply.
I did in fact install cluster glue before I tried to install Pacemaker.


All of it though?  Including the headers and .so files? 
I compiled and installed these packages in the following order:

1. DRBD
2. Corosync 
3. OpenAIS
4. Cluster Glue

5. Resource Agents
6. Tried to install Pacemaker.

All applications were installed under --prefix=/usr/local/cluster to keep them all in one place.

Thats probably going to cause problems.
Make sure you set CFLAGS appropriately before you run configure.  Ie. CLFAGS="-I/usr/local/cluster/include -L/usr/local/cluster/lib"
 You can see the common configuration file at the bottom.

Everything was compiling and installing smoothly but Pacemaker.
Could you tell me please if I messed up the order in which these applications should be installed.

Thank you in advance for any hint or help,


Alex



--- On Tue, 12/15/09, Andrew Beekhof <andrew at beekhof.net> wrote:


From: Andrew Beekhof <andrew at beekhof.net>
Subject: Re: [Pacemaker] Pacemaker compilation problem with or without --without-heartbeat option
To: pacemaker at oss.clusterlabs.org

Date: Tuesday, December 15, 2009, 8:31 AM



On Tue, Dec 15, 2009 at 12:25 AM, Hunny Bunny <tmphb at yahoo.com> wrote:



Hello folkz,
I'm trying to compile Pacemaker for using it with openAIS stack.

However, when I execute my configuration file with or without 

--with-ais --without-heartbeat options it gives me this error:

<--------- snipped --------->
configure: error: in `/var/build/Pacemaker/Pacemaker-1-0-b488dfc5c653':
configure: error: Core Heartbeat utility libraries not found: no


See `config.log' for more details.
<--------- snipped ---------->

But I don't want to use Heartbeat anyway and disable it in config file.



There are a couple of libraries that we need from what used to be heartbeat.You'll need to build and install cluster-glue. 


Why Pacemaker complains about this?
Could somebody please point me to the remedy for this problem.

Thank you in advance,


Alex

P.S. my Pacemaker_Conf  file is below

#!/bin/bash

export PREFIX=/usr/local/cluster

../autogen.sh && ./configure
 \
--prefix=$PREFIX \
--sbindir=$PREFIX/sbin \
--bindir=$PREFIX/bin \
--libdir=$PREFIX/lib \
--libexecdir=$PREFIX/libexec \
--includedir=$PREFIX/include \
--sysconfdir=/etc \
--datarootdir=$PREFIX/share \


--datadir=$PREFIX/share \
--datarootdir=$PREFIX/share \
--mandir=$PREFIX/man \
--docdir=$PREFIX/doc/pacemaker \
--infodir=$PREFIX/info \
--localstatedir=$PREFIX/var \
--with-initdir=/etc/init.d \
--with-ais \


--with-ais-prefix=$PREFIX \
--with-lcrso-dir=$PREFIX/libexec/lcrso \
--with-snmp \
--with-esmtp \
--without-heartbeat \
--enable-thread-safe \
--disable-fatal-warnings





      
_______________________________________________

Pacemaker mailing list

Pacemaker at oss.clusterlabs.org

http://oss.clusterlabs.org/mailman/listinfo/pacemaker





-----Inline Attachment Follows-----

_______________________________________________
Pacemaker mailing list
Pacemaker at oss.clusterlabs.org

http://oss.clusterlabs.org/mailman/listinfo/pacemaker



      
_______________________________________________

Pacemaker mailing list

Pacemaker at oss.clusterlabs.org

http://oss.clusterlabs.org/mailman/listinfo/pacemaker





-----Inline Attachment Follows-----

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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091216/f069a5e8/attachment-0002.htm>


More information about the Pacemaker mailing list