http://blog.csdn.net/bobbat/article/details/38568885
Install VMware Tools To resolve issues where kernel header path cannot be found
When installing VMware Tools, when running vmware-config-tools.pl, always prompt
The path "is not valid.
What's the location of the directory of C headers files that match your running kernel?
Input/usr/src/linux-headers-3.13.0-32-generic/include or/lib/modules/3.8.0-26-generic/build/include both prompt "The path ... is Not valid. ".
1. Update or install Linux headers
sudo apt-get update && sudo apt-get install build-essential linux-headers-$ (uname-r)
2. The associated file is that VMware Tools considers the path invalid because it cannot find the files.
cd/lib/modules/$ (uname-r)/build/include/linux
sudo ln-s. /generated/utsrelease.h
sudo ln-s. /generated/autoconf.h
The first two headers are all there, or there will be problems. After the following this also link to the normal installation of VMware Tools, it has been a great hardship ....
sudo ln-s. /generated/uapi/linux/version.h
3. Perform the installation again OK, run vmware-config-tools.pl also no problem
sudo./vmware-install.pl
Installing VMware Tools cannot find the kernel header file