On Wed, Mar 19, 2008 at 11:40 AM, Andrew Beekhof <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 19, 2008 at 4:44 PM, Serge Dubrouski <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Then my other questions is: Who supports current Heartbeat packages
> > > > suitable for Pacemaker and where I can get sources for them with
> > > > appropriate .spec files?
> > >
> > > Source rpms are available at the link below:
> > >
> > > http://download.opensuse.org/repositories/server:/ha-clustering/
> >
> > Got source RPM for Fedora 6.0 and used heartbeat.spec file for there
> > to build packages for CentOS 4.0.
> > With some tweaks I was able to build RPMs but not all that I wanted.
> > I've got these:
> >
> > -rw-r--r-- 1 root root 1240053 Mar 19 09:20 stonith-2.1.3-1.i386.rpm
> > -rw-r--r-- 1 root root 203643 Mar 19 09:20
> > heartbeat-ldirectord-2.1.3-1.i386.rpm
> > -rw-r--r-- 1 root root 262921 Mar 19 09:20
> heartbeat-devel-2.1.3-1.i386.rpm
> > -rw-r--r-- 1 root root 6229896 Mar 19 09:20 heartbeat-2.1.3-1.i386.rpm
> > -rw-r--r-- 1 root root 296815 Mar 19 09:21 pils-2.1.3-1.i386.rpm
> >
> > I also wanted heartbeat-common, heartbeat-resources
>
> They come from the spec-file in the source rpm (look in the
> /usr/src/packages/SPECS directory or whatever RH uses).
> Alan's spec file doesn't follow the same structure.
>
That's much better! I was able to build CentOS 4.0 packages without
any real problem. For those who is interested procedures are really
simple:
1. Get src packages (heartbeat, pcaemaker-heartbeat( for Fedora distro
and install them on CentOS.
2. Go to /usr/src/redhat/SPECS and run:
rpmbuild -bb heartbeat.spec for building heartbeat packages
rpmbuild -bb pacmaker.spec for building pacemaker-heartbeat package
For Andrew: make rpm is broken in source package. I can give more
details if you need them.
--
Serge Dubrouski.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems