On Tue, 2008-12-16 at 13:47 +0100, Andrew Beekhof wrote:
> On Tue, Dec 16, 2008 at 13:38, Brice Figureau <[email protected]> 
> wrote:
> > On Mon, 2008-12-15 at 15:30 +0100, Andrew Beekhof wrote:
> >> On Mon, Dec 15, 2008 at 14:04, Brice Figureau <[email protected]> 
> >> wrote:
> >> > Hi,
> >> >
> >> > I'm currently running a mysql/drbd master/slave cluster based on a
> >> > custom packaged version of Pacemaker 0.6.5 and Heartbeat 2.1.3 for
> >> > debian Lenny.
> >> >
> >> > I want to upgrade to Pacemaker 1.0 / Heartbeat 2.99, and I have a few
> >> > questions:
> >> >  * does the Etch package released on the OpenSUSE build service are
> >> > compatible with debian Lenny? I'd love to use them instead of rolling my
> >> > own versions ;-)
> >>
> >> I dont know.
> >> But you can use the instructions here for building your own:
> >>    http://www.clusterlabs.org/mw/Install#Debian_Builds
> >
> > Yes, that's what I started to do. Heartbeat built without any issues,
> > but Pacemaker stopped on:
> >        cp
> > -a 
> > /home/brice/debs/ha-2.99/Pacemaker-1-0-6f1e8e0e7203/debian/tmp/usr/lib/service_crm.a
> >  debian/pacemaker-dev//usr/lib/
> > cp: cannot stat
> > `/home/brice/debs/ha-2.99/Pacemaker-1-0-6f1e8e0e7203/debian/tmp/usr/lib/service_crm.a':
> >  No such file or directory
> > dh_install: command returned error code 256
> > make: *** [install-stamp] Error 1
> > dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit
> > status 2
> >
> > I removed the offending line in debian/pacemaker-dev.install, and
> > rebuilt, then it choked on:
> > install -d `pwd`/debian/pacemaker//usr/lib/openais/lcrso
> > install -m0644 `pwd`/debian/tmp//usr/lib/openais/lcrso/pacemaker.lcrso \
> >
> > `pwd`/debian/pacemaker//usr/lib/openais/lcrso/pacemaker.lcrso
> > install: cannot stat
> > `/home/brice/debs/ha-2.99/Pacemaker-1-0-6f1e8e0e7203/debian/tmp//usr/lib/openais/lcrso/pacemaker.lcrso':
> >  No such file or directory
> > make: *** [install-stamp] Error 1
> > dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit
> > status 2
> >
> > Maybe I'm missing a dependency somewhere...
> > If somebody knows what's wrong, let me know.
> 
> openais(-devel)
> you can either install it, or remove the references to
> pacemaker.lcrso and service_crm.a
> 
> you only need them if you're planning to switch to the openais stack
> (instead of heartbeat)

libopenais2, libopenais-dev and openais all version 0.83 (as of lenny)
were installed prior to the build, but it seems to fails because it
couldn't find the openais message library during the configure phase. I
guess debian's openais build is either not correct or not complete.

I removed completely openais (and the reference to pacemaker.lcrso and
such) and the build succeeded. I'll now have to test that it indeed
works.

Thanks,
-- 
Brice Figureau <[email protected]>

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to