[PATCH]: fix fence_vm run during build [was Re: ccs_config_validate in cluster 3.0.X]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 31, 2009 at 08:18:06AM +0100, Fabio Massimo Di Nitto wrote:
> Guido Günther wrote:
> >On Wed, Oct 28, 2009 at 11:36:30AM +0100, Fabio M. Di Nitto wrote:
> >>Hi everybody,
> >>
> >>as briefly mentioned in 3.0.4 release note, a new system to validate the
> >>configuration has been enabled in the code.
> >>
> >>What it does
> >>------------
> >>
> >>The general idea is to be able to perform as many sanity checks on the
> >>configuration as possible. This check allows us to spot the most common
> >>mistakes, such as typos or possibly invalid values, in cluster.conf.
> >This is great. For what it's worth: I've pushed Cluster 3.0.4 into
> >Debian experimental a couple of days ago.
> >Cheers,
> > -- Guido
> >
> 
> Hi Guido,
> 
> thanks for pushing the packages to Debian.
> 
> Please make sure to forward bugs related to this check so we can
> address them quickly.
> 
> Lon update the FAQ on our wiki to help debugging issues related to RelaxNG.
> 
> It would be nice if you could do a package check around
> (corosync/openais/cluster) and send us any local patch you have. I
> have noticed at least corosync has one that is suitable for
> upstream.
> I didn´t have time to look at cluster.

Attached patches fixed the build if you don't have liblogthread already
installed. Needed to run fence_xvm.
Cheers,
 -- Guido

From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@xxxxxxxxxxx>
Date: Mon, 2 Nov 2009 19:44:09 +0100
Subject: [PATCH] add LD_LIBRARY_PATH so we find liblogthread

---
 fence/agents/xvm/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/xvm/Makefile b/fence/agents/xvm/Makefile
index 6215263..31b277f 100644
--- a/fence/agents/xvm/Makefile
+++ b/fence/agents/xvm/Makefile
@@ -61,7 +61,7 @@ ${TARGET3}: ${OBJS3}
 
 $(MANTARGET): $(TARGET1) ${SRCDIR}/fence/agents/lib/fence2man.xsl
 	set -e && \
-	./$(TARGET1) -o metadata > .$@.tmp && \
+	LD_LIBRARY_PATH=${logtlibdir} ./$(TARGET1) -o metadata > .$@.tmp && \
 	xsltproc ${SRCDIR}/fence/agents/lib/fence2man.xsl .$@.tmp > $@
 
 clean: generalclean
-- 
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux