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

2011-02-21 Thread Andrew Beekhof
On Tue, Feb 15, 2011 at 5:57 PM, Holger Teutsch holger.teut...@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@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


___
Pacemaker mailing list: Pacemaker@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


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

2011-02-21 Thread Andrew Beekhof
On Mon, Feb 21, 2011 at 10:30 AM, Andrew Beekhof and...@beekhof.net wrote:
 On Tue, Feb 15, 2011 at 5:57 PM, Holger Teutsch holger.teut...@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

Btw. Your patch doesn't work for me.  Probably due to the above.

 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@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



___
Pacemaker mailing list: Pacemaker@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


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

2011-02-15 Thread Holger Teutsch
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).

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.specMon Feb 14 15:25:13 2011 +0100
+++ b/pacemaker.specTue 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@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