[Pacemaker] Packages for Opensuse 11.3 don't build / install

Andrew Beekhof andrew at beekhof.net
Mon Feb 21 09:30:23 UTC 2011


On Tue, Feb 15, 2011 at 5:57 PM, Holger Teutsch <holger.teutsch at web.de> wrote:
> Hi,
> the packages from rpm-next(64bit) for opensuse 11.3 do not install there (at least true for 1.1.4 and 1.1.5).

Are they on corosync yet?
If so, then they need to fix the pkgconfig file so that:

   	LCRSODIR=`$PKGCONFIG corosync --variable=lcrsodir`

is correct for that system.
Probably best to file a bug with the distro

> The plugin is in
> ./usr/lib/lcrso/pacemaker.lcrso
>
> but should be in
> ./usr/lib64/lcrso/pacemaker.lcrso
>
> I think the patch below (borrowed from the 'official' packages) cures.
> Regards
> Holger
>
>
> diff -r 43a11c0daae4 pacemaker.spec
> --- a/pacemaker.spec    Mon Feb 14 15:25:13 2011 +0100
> +++ b/pacemaker.spec    Tue Feb 15 17:50:27 2011 +0100
> @@ -1,3 +1,7 @@
> +%if 0%{?suse_version}
> +%define _libexecdir %{_libdir}
> +%endif
> +
>  %global gname haclient
>  %global uname hacluster
>  %global pcmk_docdir %{_docdir}/%{name}
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list