SLES kernel headers

I’ve got a SLES11.1 box in a VM environment and I’m trying to install
VM-Tools on it. As part of the install process, Tools looks for the
kernel headers to compile a new kernel. When I run the install, this
part is failing.

Looking on a different 11.1 box, I find the headers in
/lib/modules/2.6.32.36-0-.5-default/build/include but when I check this
particular box, there is no ‘build’ folder under the kernel folder.
I’ve looked in yast software managment and it shows that linux headers
are installed.

Since I’m always cautious about messing with the kernel and this is a
production box, how would I go about installing (or reinstalling) these
kernel headers?


jgosney

jgosney’s Profile: http://forums.novell.com/member.php?userid=1513
View this thread: http://forums.novell.com/showthread.php?t=444052

On Thu, 01 Sep 2011 15:56:02 GMT
jgosney jgosney@no-mx.forums.novell.com wrote:
[color=blue]

I’ve got a SLES11.1 box in a VM environment and I’m trying to install
VM-Tools on it. As part of the install process, Tools looks for the
kernel headers to compile a new kernel. When I run the install, this
part is failing.

Looking on a different 11.1 box, I find the headers in
/lib/modules/2.6.32.36-0-.5-default/build/include but when I check
this particular box, there is no ‘build’ folder under the kernel
folder. I’ve looked in yast software managment and it shows that
linux headers are installed.

Since I’m always cautious about messing with the kernel and this is a
production box, how would I go about installing (or reinstalling)
these kernel headers?

[/color]
Hi
You need kernel-source kernel-syms linux-kernel-headers manke and gcc
installed.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 1 day 23:21, 4 users, load average: 0.07, 0.10, 0.12
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

On Thu, 01 Sep 2011 15:56:02 +0000, jgosney wrote:
[color=blue]

I’ve got a SLES11.1 box in a VM environment and I’m trying to install
VM-Tools on it. As part of the install process, Tools looks for the
kernel headers to compile a new kernel. When I run the install, this
part is failing.[/color]

You might try installing the stock VMware-tools instead (go to the VMware
“VM” menu in the host while the host is running and select “Install VMware
Tools” - that’ll mount the CD ISO on the machine, and you can install the
tools from there. They don’t require any compilation - IIRC, the ISO has
an RPM on it that you just have to install.
[color=blue]

Looking on a different 11.1 box, I find the headers in
/lib/modules/2.6.32.36-0-.5-default/build/include but when I check this
particular box, there is no ‘build’ folder under the kernel folder. I’ve
looked in yast software managment and it shows that linux headers are
installed.

Since I’m always cautious about messing with the kernel and this is a
production box, how would I go about installing (or reinstalling) these
kernel headers?[/color]

So VM-Tools probably isn’t looking to compile a new kernel - it’s likely
in need of them to build a kernel module (which is entirely different).
If you want to use VM-Tools instead, you’ll need to install the kernel
development pattern (I use openSUSE, so on SLE11 it might be called
something different) and make sure you get the kernel-headers package for
your running kernel.

Jim

Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10

malcolmlewis;2133718 Wrote:[color=blue]

On Thu, 01 Sep 2011 15:56:02 GMT
Hi
You need kernel-source kernel-syms linux-kernel-headers manke and gcc
installed.

–[/color]

That got it Malcolm. Thanks!


jgosney

jgosney’s Profile: http://forums.novell.com/member.php?userid=1513
View this thread: http://forums.novell.com/showthread.php?t=444052