虚拟机安装VMware Tools出现 The path "" is not a valid path to the 3.11.0-18-generic kernel headers.
分类: ubuntu vmware 2014-03-07 23:21 352人阅读 评论(1) 收藏 举报
vmware虚拟机kernelubuntu
可能是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.h linux/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
......
一直到完成
阅读(1022) | 评论(0) | 转发(0) |