虚拟机安装VMware Tools出现 The path "" is not a valid path to the 3.11.0-18-generic kernel headers.

来源:互联网 发布:王明明淘宝泳装节直播 编辑:程序博客网 时间:2024/04/30 17:57

可能是version.h没有存在于 3.11.0-18-generic/include/linux 的目录里,解决办法如下:


打开终端,依次输入:

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

sudo -i    
cd /lib/modules/3.11.0-18-generic/build/include     
cp ./generated/uapi/linux/version.hlinux/version.h


然后:

sudo ./vmware-install.pl

......   


Enter the path to the kernel header files for the 3.8.0-29-generic kernel?

/lib/modules/3.11.0-18-generic/build/include    

......

     
一直到完成

  
希望可以帮到你。


0 0
原创粉丝点击