Need C header files for Kubuntu Kernel

[b]I'm trying to install VMWareTools on VMWare Server but during the install I get the message:[/b] Trying to find a suitable vmhgfs module for your running kernel. None of the pre-built vmhgfs modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmhgfs module for your system (you need to have a C compiler installed on your system)? [yes] y Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] The path "/usr/src/linux/include" is not an existing directory. [b] So then I checked my kernel version:[/b] jreed@jreedkubutudesktop:~$ uname -a Linux jreedkubutudesktop 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux [b]Next I tried to download the headers:[/b] jreed@jreedkubutudesktop:~$ sudo apt-get install linux-headers-2.6.12-26 Password: Reading package lists... Done Building dependency tree... Done E: Couldn't find package linux-headers-2.6.12-26[/color] [b]Unsure where to go from here?? [/b]

Comments

You need the headers to match

"snip..."
uname -a
Linux jreedkubutudesktop 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux

"snip..."
sudo apt-get install linux-headers-2.6.12-26

That won't work...try this:
sudo apt-get install linux-headers-2.6.15-26-386

Same problem,

I am having the similar problem but the command you listed doesnt work for me

uname

Post your "uname -a" results.

Then try:
apt-get install kernel-headers-YOURVERSIONHERE

Cheers,
Dave Brown

headers

try this, it's what i use...

sudo apt-get install linux-headers-$(uname -r)

error?

What errors are you getting?

Fixed!

Thanks that's just what I needed to know - it worked great! I really appreciate your help.