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

Junko IKEDA ikedaj at intellilink.co.jp
Mon Jan 21 21:01:42 EST 2008


> > # ./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?
> 
> 
> I think actually that the makefile is trying to build something that
> it shouldn't.
>      http://hg.clusterlabs.org/pacemaker/stable-0.6/rev/e123e899602b
> 
> I wonder how this worked in the past

Have nobody used?
By the way, "/usr/src/packages/SOURCES/" is for suse...
There isn't such a directory on redhat, it has "/usr/src/redhat/SOURCES"
instead.

Another is the following three lines in pacemaker.spec.

%if %with_ais_support
%{_libexecdir}/lcrso/pacemaker.lcrso
%endif

Now I try to configure without ais-support, but "%with_ais_support" is set
as 1 in spec file,
so pacemaker.lcrso is needed despite "make drpm".


RPM build errors:
    File not found:
/var/tmp/pacemaker-0.6.0-build/usr/libexec/lcrso/pacemaker.lcrso
make: *** [drpm] Error 1


Thanks,
Junko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-drpm.log
Type: application/octet-stream
Size: 150649 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20080122/e15f2ee3/attachment-0001.obj>


More information about the Pacemaker mailing list