# SLES kernel headers

**URL:** <https://forums.suse.com/t/sles-kernel-headers/21790>\
**Category:** SLES Configure-Administer\
**Created:** [September 1, 2011, 6:56pm UTC](https://forums.suse.com/t/sles-kernel-headers/21790 "2011-09-01T18:56:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [September 1, 2011, 6:56pm UTC](https://forums.suse.com/t/sles-kernel-headers/21790/1 "2011-09-01T18:56:02Z")

</div>

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](http://forums.novell.com/member.php?userid=1513)  
View this thread: [http://forums.novell.com/showthread.php?t=444052](http://forums.novell.com/showthread.php?t=444052)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [September 1, 2011, 7:01pm UTC](https://forums.suse.com/t/sles-kernel-headers/21790/2 "2011-09-01T19:01:07Z")

</div>

On Thu, 01 Sep 2011 15:56:02 GMT  
jgosney [jgosney@no-mx.forums.novell.com](mailto: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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [September 1, 2011, 7:03pm UTC](https://forums.suse.com/t/sles-kernel-headers/21790/3 "2011-09-01T19:03:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [September 1, 2011, 9:26pm UTC](https://forums.suse.com/t/sles-kernel-headers/21790/4 "2011-09-01T21:26:02Z")

</div>

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](http://forums.novell.com/member.php?userid=1513)  
View this thread: [http://forums.novell.com/showthread.php?t=444052](http://forums.novell.com/showthread.php?t=444052)
