[Pacemaker] puzzled

Paul Walsh Paul.Walsh at bcu.ac.uk
Mon Sep 15 09:10:40 UTC 2008


Andrew Beekhof wrote:
> On Mon, Sep 15, 2008 at 10:26, David Lee <t.d.lee at durham.ac.uk> wrote:
>> On Sat, 13 Sep 2008, Andrew Beekhof wrote:
>>
>>> On Sep 12, 2008, at 11:11 AM, Paul Walsh wrote:
>>>
>>> [...]
>>>> With pacemaker it's a different story...
>>>>
>>>> # ./ConfigureMe bootstrap --with-heartbeat-support --without-ais-
>>>> support
>>>>
>>>> Configure flags for Solaris: --disable-ldirectord --prefix=/opt/
>>>> LXHAhb --sysconfdir=/etc/opt/LXHAhb
>>>> --localstatedir=/var/opt/LXHAhb --with-pkgname=LXHAhb
>>> That looks wrong.  s/LXHAhb/pcmk/ since the former is used by heartbeat.
>> I agree that the output looks wrong.  But the input (a fairly simple
>> "ConfigureMe") looks right.
>>
>> Andrew: Might the "s/LXHAhb/pcmk/" need to be made within "ConfigureMe"?
> 
> Definitely.  I was hoping you'd try it and send me a patch once it works :-)
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
> 
> 
Like this you mean?:

diff -r f6a559bcc40f ConfigureMe
--- a/ConfigureMe       Mon Sep 15 04:24:49 2008 +0200
+++ b/ConfigureMe       Mon Sep 15 10:09:41 2008 +0100
@@ -141,7 +141,7 @@

 ConfigureSolaris() {
   # PKGNAME: see comment in "configure.in"
-  PKGNAME="LXHAhb"
+  PKGNAME="pcmk"
   FLAGS="--disable-ldirectord --prefix=/opt/$PKGNAME --sysconfdir=/etc/opt/$PKGNAME --localstatedir=/var/opt/$PKGNAME
--with-pkgname=$PKGNAME --disable-rpath"
   CFENV="Solaris"
   PACKAGECMD="$MAKE_CMD pkg"

diff -r f6a559bcc40f configure.in
--- a/configure.in      Mon Sep 15 04:24:49 2008 +0200
+++ b/configure.in      Mon Sep 15 10:09:41 2008 +0100
@@ -127,7 +127,7 @@
 AC_ARG_WITH(pkgname,
     [  --with-pkgname=name     name for pkg (typically for Solaris) ],
     [ PKGNAME="$withval" ],
-    [ PKGNAME="LXHAhb" ],
+    [ PKGNAME="pcmk" ],
   )
 AC_SUBST(PKGNAME)


-- 
Paul Walsh




More information about the Pacemaker mailing list