!I solved this problem, I guess.
Perhaps the version.h does not exists at 3.8.0-29-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.8.0-29-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.8.0-29-generic kernel? /lib/modules/3.8.0-29-generic/build/include
...
Done!
This may helpful to you...
本文提供了解决VMwareTools安装过程中出现的'THEPATHISNOTAVALIDPATHTOTHEGENERICKERNELHEADERS'错误的方法,包括确保已安装必要的构建工具和内核头文件,以及复制相关文件到正确目录,最终成功完成安装。

218

被折叠的 条评论
为什么被折叠?



