LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem installing VMwareTools on Debian Mint Guest OS (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-vmwaretools-on-debian-mint-guest-os-948526/)

Dragon-slayer 06-04-2012 05:20 PM

Problem installing VMwareTools on Debian Mint Guest OS
 
During the VMware Tools installation program script thing, it asks for "The location of the directory of the C header files matching your running kernel".
I've found my headers in /usr/src/linux-headers2.6.39-2-486, however it returns the error
Code:

The directory of kernel headers (version @@VMWARE@@ UTS-RELEASE) does not match your running kernel (version 2.6.39-2-486).
I cannot find anything in these directories about "@@VMWARE@@ UTS-RELEASE".
I've tried
Code:

$ uname -r
2.6.39-2-486

And
Code:

nano /usr/src/linux-headers-2.6.39-2-486/include/linux/version.h
contains only
Code:

#define LINUX_VERSION_CODE 132647
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

What can I do to make it accept this directory, shall I find the file that mentions "@@VMWARE@@..." or just start a new virtual machine from scratch? I've also got an ubuntu VM that has VMware tools, and it installed with no difficulties at all!

bsat 06-04-2012 11:49 PM

This might help,run the command

sudo apt-get install linux-headers-2.6.39

Dragon-slayer 06-05-2012 05:02 PM

No,
Code:

linux-headers-2.6.39-2-486 is already the newest version.
linux-headers-2.6.39-2-common is already the newest version.

:/


All times are GMT -5. The time now is 10:43 PM.