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

Andrew Beekhof beekhof at gmail.com
Tue Jan 22 07:34:17 UTC 2008


On Jan 22, 2008, at 3:01 AM, Junko IKEDA wrote:

>>> # ./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?

Thats the weird part... anyone that built the package should have  
encountered this - including me.

>
> 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".

ok
so the only option is to set with_ais_support to 0 before running make  
rpm

at least you don't need to commit the change anymore

> RPM build errors:
>    File not found:
> /var/tmp/pacemaker-0.6.0-build/usr/libexec/lcrso/pacemaker.lcrso
> make: *** [drpm] Error 1
>
>
> Thanks,
> Junko
> <make-drpm.log>_______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list