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

Andrew Beekhof beekhof at gmail.com
Fri Jan 18 03:57:57 EST 2008


On Jan 18, 2008, at 9:45 AM, Junko IKEDA wrote:

>> On Jan 18, 2008, at 5:05 AM, Junko IKEDA wrote:
>>
>>> Hi,
>>>
>>> I have built heartbeat and pacemaker at the dictation of the  
>>> following
>>> instructions.
>>>
>>> http://www.clusterlabs.org/mw/Install
>>>
>>> It worked!
>>> The documentation was very useful.
>>>
>>> but when I tried to build package(./ConfigureMe package),
>>> there were some errors like this;
>>> (OS: Red Hat Enterprise Linux Server release 5.1 (Tikanga))
>>>
>>> pacemaker(changeset: 8730c2044510)
>>> ...
>>> Running gmake rpm
>>
>> ah, that target isn't (yet) supported for pacemaker
>> probably because there is no .spec file included with the project
>> (i'll grab the one we use for the build service packages and add it
>> shortly).
>>
>
> I got heartbeat-2.1.3-3.1.src.rpm and pacemaker- 
> heartbeat-0.6.0-14.1.src.rpm
> for now,
> and could build rpm.
> "rpm -ihv" worked well, but "rpm -e" would fail.
> It seems that there is something wrong around %postun in spec file.
> If "%postun -p /sbin/ldconfig" is there,
> some comments (like ######) shouldn't set before next section.
>
> --- pacemaker.spec.org  2008-01-16 20:38:51.000000000 +0900
> +++ pacemaker.spec      2008-01-18 14:49:46.000000000 +0900
> @@ -209,7 +209,7 @@
> %post -p /sbin/ldconfig
> %postun -p /sbin/ldconfig
>
> -###########################################################
> +
>
> Is it special case on redhat???

possible.  i've fixed it anyway as-per your suggestion.

>
>
>>> This isn't a problem about pacemaker,
>>> heartbeat also generated an error if there was --disable-crm option.
>>
>> the problem here is that "make dist" (which generates the tar-ball)
>> was also run with --disable-crm, so the entire crm directory  
>> structure
>> isn't there.
>> personally I prefer to use 'hg archive -t tgz heartbeat.tar.gz' to
>> create my tarballs.  that way everything is there and there is no
>> chance of any local changes sneaking in accidentally.
>>
>> i'll push up a patch that stops configure looking for those files  
>> if --
>> disable-crm is used
>
>
> Thanks,
> Junko
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list