vmware安装ubuntu12.04版本的vm tools时 遇到:
Searching for a valid kernel header path...
The path "" is not a valid path to the 3.8.0-19-generic kernel headers.
Would you like to change it? [yes]
解决方法:
一、安装build-essential和linux-headers
$ sudo apt-get install build-essential linux-headers-`uname -r`
或者
$ sudo apt-get install build-essential
$ sudo apt-get install linux-headers-`uname -r`
其中:
二、
$ sudo -i
# cd /lib/modules/ 3.8.0-19-generic/build/include
注: 3.8.0-19-generic替换为 uname -r 命令显示的内容
# cp ./generated/uapi/linux/version.h linux/version.h
三、
$ sudo ./vmware-install.pl