Hi,

I had a problem with keepalived source package in debian sarge.

Linux kernel is 2.4.27-2-686-smp.

Viewing bug reports of this package appears:

"After modifying it to use 2.4.27 kernel-headers and rebuilding, it works"

Well, if I compile it (./configure ; make ; make install) it works, but if  I 
build the binary package (dpkg-buildpackage) the package is not valid and 
continues with the same error:

"Keepalived_healthcheckers: IPVS: Module is wrong version"

What I realized is that when configure script is runned by dpgk-buildpackge 
linux kernel version is supposed to be 2.6.0-test7 which is the version against 
was compiled libc (in fact there is a read operation to /lib/libc-2.3.2.so 
throught  /lib/libc.so.6 (a symbolic link)). If you run uname -r you get the 
correct kernel version and there is only one kernel headers in the system under 
/usr/src/linux (2.4.27-2-686-smp). For this reason when I compile it it links 
libipvs-2.6 instead of libipvs-2.4.

I tried changing in configure the conftest.c:

fprintf (fp, "%s\n", UTS_RELEASE); to fprintf (fp, "%s\n", "2.4.27-2-686-smp");

and then all went ok but there are a lot of errors during compilation. That 
time it generated the correct libipvs makefile, libipvs-2.4. So I supposed that 
there is something wrong during the debianization of the package for 2.4 
kernels.

I am not been able to solve it, yet. I hope this can be useful to improve 
keepalive source package.

Best wishes,

José Angel de Bustos Pérez

-- 
_______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

Reply via email to