[Pacemaker] Building pacemaker RPM for EL6 failing
Shawn Paul Smith
shawn at npario.com
Fri Jan 4 02:51:11 UTC 2013
Thanks, that worked quite well. However, you might be interested to know that it only worked for version 1.1.8-1 source RPM. If I used the 1.1.8-4 version, it gives an error about not finding a file in ~/rpmbuild/BUILDROOT/usr/libexec/lcrso/pacemaker.lcrso or something like that.
This still fixes my problem, so thank you very much!
-----Original Message-----
From: Andrew Beekhof [mailto:andrew at beekhof.net]
Sent: Thursday, January 03, 2013 5:30 PM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] Building pacemaker RPM for EL6 failing
On Thu, Jan 3, 2013 at 1:51 PM, Shawn Paul Smith <shawn at npario.com> wrote:
> Hello. I am attempting to create RPMs for RHEL/CentOS 6.3 to install
> a Pacemaker 1.1.8 with Corosync 2.X cluster. I've so far done these
> steps on a fresh CentOS 6.3 install:
>
>
>
> ===Install Dependancies===
>
> sudo yum install rpm-build redhat-rpm-config gcc-c++ nss-devel libtool
> doxygen check-devel automake libtool-ltdl-devel glib2-devel
> libxml2-devel libxslt-devel python-devel bzip2-devel gnutls-devel
> openssl-devel libuuid-devel pam-devel ncurses-devel docbook-style-xsl
> bison byacc flex help2man
>
>
>
> ===Build LibQB===
>
> wget
> http://clusterlabs.org/rpm-next/rhel-6/src/libqb-0.14.2-1.el6.src.rpm
>
> rpmbuild --rebuild libqb-0.14.2-1.el6.src.rpm
>
> cd ~/rpmbuild/RPMS
>
> sudo yum install ./libqb*.rpm
>
> mkdir /tmp/harpms
>
> cp libqb*.rpm /tmp/harpms/
>
>
>
> ===Build Corosync===
>
> cd
>
> wget http://corosync.org/download/corosync-2.1.1.tar.gz
>
> tar xvzf corosync-2.1.1.tar.gz
>
> cd corosync-2.1.1
>
> ./configure
>
> make rpm
>
> cd x86_64
>
> sudo yum install corosync*.rpm
>
> cp corosync*.rpm /tmp/harpms
>
>
>
> ===Build Pacemaker===
>
> cd
>
> wget
> http://clusterlabs.org/rpm-next/rhel-6/src/pacemaker-1.1.8-4.el6.src.r
> pm
>
> rpmbuild --rebuild --without doc pacemaker-1.1.8-4.el6.src.rpm
>
>
>
> At this point, it fails, due to requiring clusterlib-devel. However,
> corosynclib-devel no longer supplies the libconfdb it is looking for.
Try:
rpmbuild --rebuild --without doc --without cman pacemaker-1.1.8-4.el6.src.rpm
>
> Attempting to build the RPM's from the source tarball results in some
> confusion, as it seems to think it is running on Fedora.
>
>
>
> Any hints on what I am doing wrong?
>
>
> _______________________________________________
> 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://bugs.clusterlabs.org
>
_______________________________________________
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://bugs.clusterlabs.org
More information about the Pacemaker
mailing list