VMware Tools on ubuntu 11.10



while you try to install VMware Tools on Ubuntu 11.10 , it prompts an Error “None of the pre-built vmmemctl modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmmemctl module
for your system”


Step 1:

First we need to identify the linux-headers kernel version. Type #uname -r to know the version.


Please ensure the latest kernel version is installed on the linux machine. This can be identified by #apt-cache search <kernel version> & install the latest version by specifying the version #apt-get install linux-headers-<kernel version> or

#apt-get install build-essential linux-headers-$(uname -r)

Step 3:

Re-run the VMware tool script # ./vmware-install.pl , it will prompt for the header files path, by default it will give you /usr/src/linux/include. you should provide the latest path /usr/src/linux-headers-3.0.0-12-generic/include and try to install. If the installation is successful enjoy..

Step 4:

If you receive an error like the path “/usr/src/linux-headers-3.0.0-12-generic/include” is a kernel header file, but it doesnot contain the “/linux/version.h” as expected. You need to fix the kernel header path by linking the following fiile

$ cd /lib/modules/$(uname -r)/build/include/linux
$ ln -s ../generated/utsrelease.h
$ ln -s ../generated/autoconf.h

Specify the header directory in first terminal:


where xxx is the kernel release version. You can get it from the following command.

Step 5:

Re-run the vmware tools script again. The installation will be successful.




Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: