[Pacemaker] build pacemaker package (./ConfigureMe package)

Junko IKEDA ikedaj at intellilink.co.jp
Mon Jan 21 05:33:10 EST 2008


> you can also try "make drpm" (also carried over from heartbeat) which
> passes the --nodeps option to avoid the problem below

Thank you for your advice.
Now they're saying;

# ./ConfigureMe bootstrap --enable-snmp --with-heartbeat-support
--without-ais-support 2>&1 | tee configure-pacemaker.log
# make 2>&1 | tee make-pacemaker.log
# make drpm 2>&1 | tee drpm-pacemaker.log

gmake[1]: Entering directory `/root/tmp/src/pacemaker-6be96ba752a0/debian'
gmake[1]: *** No rule to make target `heartbeat.dirs', needed by `distdir'.
Stop.
gmake[1]: Leaving directory `/root/tmp/src/pacemaker-6be96ba752a0/debian'
make: *** [distdir] Error 1

How can I set distdir?
Sorry for idle question.

> 
> >>>
> >>> rm -f pacemaker.tar.gz
> >>> hg archive -t tgz pacemaker.tar.gz
> >>> echo Rebuilt pacemaker.tar.gz on `date`
> >>> Rebuilt pacemaker.tar.gz on Mon Jan 21 11:51:19 JST 2008
> >>> /usr/bin/rpmbuild -ta pacemaker.tar.gz </dev/null;
> >>> error: Failed build dependencies:
> >>>       openais-devel is needed by pacemaker-0.6.0-1.x86_64
> >>> gmake: *** [rpm] Error 1
> >>>
> >>>
> >>> pacemaker.spec in pacemaker.tar.gz which created by " hg archive"
> >>> includes
> >> a
> >>> configuration, "With AIS support = 1".
> >>
> >> I know it's the wrong way...
> >
> > Yeah, it's really broken to have configure generate the spec file.
> > But I'll change it so that by default it tries to build both (and
> > continues as long as one cluster stack is detected)
> >
> >>
> >> I tried to edit pacemaker.spec directly before running ConfigureMe.
> >>
> >> # vim pacemaker.spec
> >> --- pacemaker.spec.org  2008-01-21 14:50:51.000000000 +0900
> >> +++ pacemaker.spec      2008-01-21 15:01:23.000000000 +0900
> >> @@ -13,7 +13,7 @@
> >> %define with_extra_warnings    0
> >> %define with_debugging         0
> >> %define without_fatal_warnings         1
> >> -%define with_ais_support        1
> >> +%define with_ais_support               0
> >> %define with_heartbeat_support  1
> >>
> >> # hg commit -u 'junko' -m 'change pacemaker.spec'
> 
> it should no longer be necessary to commit the change in order to build
> make (d)rpm now use the copy of pacemaker.spec in the top directory
> instead of what's in the tarball
> 
> so you now have two ways to make it work :-)
> - edit the spec file, or
> - use "make drpm"
> 
> >>
> >> # hg update
> >> # ./ConfigureMe package --with-heartbeat-support --without-ais-
> >> support 2>&1
> >> | tee configure-pacemaker.log
> >>
> >> It worked.
> >>
> >> Thanks,
> >> Junko
> >>
> >>
> >> _______________________________________________
> >> Pacemaker mailing list
> >> Pacemaker at clusterlabs.org
> >> http://list.clusterlabs.org/mailman/listinfo/pacemaker
> >
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-pacemaker.log
Type: application/octet-stream
Size: 22159 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20080121/52b8279e/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-pacemaker.log
Type: application/octet-stream
Size: 12650 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20080121/52b8279e/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drpm-pacemaker.log
Type: application/octet-stream
Size: 1218 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20080121/52b8279e/attachment-0005.obj>


More information about the Pacemaker mailing list