[Pacemaker] Building a Corosync 1.4.1 RPM package for SLES11 SP1
Steven Dake
sdake at redhat.com
Thu Sep 1 16:42:11 UTC 2011
On 08/31/2011 11:39 PM, Sebastian Kaps wrote:
> Hi,
>
> I'm trying to compile Corosync v1.4.1 from source[1] and create an RPM
> x86_64 package for SLES11 SP1.
> When running "make rpm" the build process complains about a broken
> dependency for the nss-devel package.
> The package is not installed on the system - mozilla-nss (non-devel),
> however, is.
>
> I'd be fine if I could just build the package without using the nss libs.
> I have no problem compiling Corosync using "./configure --disable-nss &&
> make", but I see no way for
> doing that with the "make rpm" command.
>
> Alternatively I'd compile everything --with-nss, but I can't install the
> mozilla-nss-devel package,
> because the version on the SLE11-SP1-SDK DVD is older than the installed
> mozilla-nss package (3.12.6-3.1.1
> vs. 3.12.8-1.2.1) and creates a conflict when I try to install it.
>
> [1] ftp://corosync.org/downloads/corosync-1.4.1/corosync-1.4.1.tar.gz
Thanks for pointing out this problem with the build tools for corosync.
nss should be conditionalized. This would allow rpmbuild --with-nss or
rpmbuild --without-nss from the default rpm builds. I would send a
patch to the openais ml to resolve this problem but it is not operating
at the moment, so I'll send one here for you to give a spin.
Regards
-steve
More information about the Pacemaker
mailing list