[Centos] keepalived on centos 3.4

Tue Feb 22 22:03:11 UTC 2005
Joe Sauer <jsauer at joesauer.org>

Dag problem found:

diff keepalived-1.1.10-rf.spec keepalived-1.1.10-rf.spec.orig
5c5
< %{!?kernel:%define kernel %(rpm -q kernel-source --qf '%
{RPMTAG_VERSION}-%{RPMTAG_RELEASE}\\n' | tail -1)}
---
> %{!?kernel:%define kernel %(rpm --quiet -q kernel-source --qf '%
{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' | tail -1)}

grumble

-Joe


On Tue, 2005-02-22 at 09:28 -0800, Joe Sauer wrote:
> The topology issue is basically due to fact the default package is being
> build w/o IPVS; which I found a bit odd but it makes sense if you only
> need the vrrp framework. 
> 
> However I've so far been unsuccessful in building it w/ IPVS support.
> 
> exporting IPVS_SUPPORT="_WITH_LVS_" and setting $enable_lvs wasn't
> working in the spec file, before the configure line, nor did setting
> these in the configure.in. 
> >From build output, it looks like the actual issue is that it's missing a
> path to the included ip_vs.h in
> SOURCES/keepalived-1.1.10/debian/include/net/ip_vs.h or the one in the
> kernel source, which is very odd, but if I copy it to where it is
> included it still complains about usability, so something else is going
> on. 
> 
> any assistance or suggestions greatly appreciated. 
> 
> http://dag.wieers.com/packages/keepalived/keepalived-1.1.10-1.rf.src.rpm
> 
> Thanks.
> -Joe
> 
> 
> On Mon, 2005-02-21 at 15:56 -0800, Joe Sauer wrote:
> > On Tue, 2005-02-22 at 00:40 +0100, Dag Wieers wrote:
> > > Like explained in the FAQ (http://dag.wieers.com/home-
> > > made/apt/FAQ.php#E1), 
> > > you need to build with
> > > 
> > >         --define "dist el3"
> > > 
> > > and you need to have the kernel-source package installed in order to
> > > build 
> > > the ipvs support. Please compare it with my buildlogs if you want to 
> > > understand how I am building this in more detail.
> > > 
> > > Can't help with the problem you have though :/
> > > 
> > > Kind regards,
> > 
> > That did indeed fix the build issues. 
> > 
> > Thank you Dag.
> > 
> > -Joe
> > -- 
-- 
--