On Thu, 2010-03-18 at 12:02 -0300, Frank Pani wrote:
> Hi - we have the very same issue.
>
>
> We are interested in stonith/heartbeat and have the following Heartbeat,
> Cluster Glue, and Resource Agents. We have download v3.0.2 for heartbeat.
>
>
> For us, we are using RHEL v5.3 and because these components are not
> available in binary form from the distributor we have compiled these
> components ourselves with success.
>
>
> Ursula, any direction on this would be grateful. Seems that simply a file
> is just missing in the latest build. Thanks.
>
>
> - Frank Pani
Frank,
looks like the snipl stonith part requires adaptions to the latest
download files on linux-ha.org.
After downloading these files to my system, I could compile snipl after
applying this patch to the snipl Makefile (see the new include directory
HEARTBEATINCDIR):
---
Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: src/Makefile
===================================================================
--- src.orig/Makefile
+++ src/Makefile
@@ -26,6 +26,7 @@ LIBDIR = ${PREFIX}/${LIB_STRING
STONITHLIBDIR = ${PREFIX}/${LIB_STRING}/stonith
INCDIR = ${PREFIX}/include
STONITHINCDIR = ${INCDIR}/stonith
+HEARTBEATINCDIR = ${INCDIR}/heartbeat
MANDIR = ${PREFIX}/share/man
LIB_LPAR =
LIB_VM =
@@ -38,7 +39,7 @@ OWNER = $(shell id -un)
GROUP = $(shell id -gn)
GLIB2_HEADERS = `pkg-config --cflags glib-2.0`
-CFLAGS += -DUNIX=1 -DST_TEXTDOMAIN='"stonith"' -g -O2 -Wall -I. -I
$(INCDIR) -I$(STONITHINCDIR)
+CFLAGS += -DUNIX=1 -DST_TEXTDOMAIN='"stonith"' -g -O2 -Wall -I. -I
$(INCDIR) -I$(STONITHINCDIR) -I$(HEARTBEATINCDIR)
all: all_config all_sniplapi all_vmsmapi all_snipl all_stonith
install: install_subdirs install_config install_sniplapi
install_vmsmapi install_snipl install_stonith
Regards, Ursula Braun
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390