Hello,

For the information of anyone who needs to, here is a patch to the spec
file of heartbeat-2.0.4-1.src.rpm to allow building on Fedora Core 5.
I'm afraid I haven't tested the resulting packages extensively, but they
do at least build.

Malc
--- heartbeat.spec.orig 2006-03-31 11:16:33.000000000 -0500
+++ heartbeat.spec      2006-03-31 11:18:07.000000000 -0500
@@ -13,7 +13,7 @@
 Packager: Alan Robertson <[EMAIL PROTECTED]>
 Source: http://linux-ha.org/download/heartbeat-2.0.4.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildPrereq: glib-devel, , perl, iputils, /usr/bin/ssh, openssl-devel, libnet
+BuildPrereq: glib-devel, , perl, iputils, /usr/bin/ssh, openssl-devel, 
libnet10, glib2-devel,  gnutls-devel, pam-devel, python-devel
 # libnet available from www.ultramonkey.org and others
 Requires: sysklogd, heartbeat-stonith = %{version}-%{release}, heartbeat-pils 
= %{version}-%{release}
 
@@ -1099,7 +1099,7 @@
 #
 #CFLAGS="${RPM_OPT_FLAGS}" \
 #  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-./configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' 
'--with-group-id=90' '--with-ccmuser-id=90' '--libexecdir=/usr/lib64' 
'--libdir=/usr/lib64' '--disable-ansi' '--enable-mgmt' '--enable-snmp-subagent' 
'CFLAGS= -fno-unit-at-a-time' --enable-ltdl-convenience
+./configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' 
'--with-group-id=90' '--with-ccmuser-id=90' '--libexecdir=/usr/lib64' 
'--libdir=/usr/lib64' '--disable-ansi' '--enable-mgmt' '--enable-snmp-subagent' 
'CFLAGS= -fno-unit-at-a-time' --enable-ltdl-convenience --disable-fatal-warnings
 make
 
 ###########################################################
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to