Hi Sid
On Mon, 2008-04-07 at 18:06 -0700, Sid Stuart wrote:
> The configure script for keepalived requires that the kernel sources be
> installed. If they are not, it generates the following error messages,
>
> configure: WARNING: Cannot determine Linux Kernel version.
>
> configure: WARNING: keepalived will be built without LVS support.
I'm not sure if you're just reporting this, asking for it to be fixed,
or telling us that you did. I'll assume the latter.
> To install the kernel source on Centos, use "yum install kernel-devel"
>
> Once the source is installed, go /usr/src and make a symbolic link from the
> current kernel source directory to /usr/src/linux. On my machine the command
> is,
>
> ln -s kernels/2.6.18-53.1.14.el5-x86_64 linux
Better to use the switch to keepalived's configure script:
--with-kernel-dir=DIR path to linux kernel source directory
in your case,
--with-kernel-dir=/usr/src/kernels/2.6.18-53.1.14.el5-x86_64
Then run ./configure.
If you start linking things, you could run into problems with other apps
since they may not expect to find /usr/src/linux.
Graeme
|