VMWARE TOOLS安装出错:THE PATH IS NOT A VALID PATH TO THE 3.11.0.12-GENERIC KERNEL HEADERS

VMWARE TOOLS安装提示THE PATH IS NOT A VALID PATH TO THE GENERIC KERNEL HEADERS 
I solved this problem, I guess. 
Perhaps the version.h does not exists at 3.7.0-7-generic/include/linux directory.

First, make sure install build-essiontial and linux-headers.

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

And then,

sudo -i 
cd /lib/modules/3.7.0-7-generic/build/include 
cp ./generated/uapi/linux/version.h linux/version.h

and then,


$ sudo ./vmware-install.pl

... 
Enter the path to the kernel header files for the 3.7.0-7-generic kernel? /lib/modules/3.7.0-7-generic/build/include 
... 
Done!


This may helpful to you...

posted on 2013-11-07 10:24  Zombiecc  阅读(509)  评论(0编辑  收藏  举报

导航