安装VMware-tools的时候发生的错误

安装VMware-tools的时候发生的错误, 虚拟机系统是ubuntu13.04:

转自: http://stackoverflow.com/questions/18805697/installing-vmware-tools-not-recognizing-path-to-3-8-0-19-generic-kernel-files


Question:

The path "/usr/src/linux-headers-3.8.0-30-generic/include" is not a valid path to the 3.8.0-30-generic kernel headers.

Would you like to change it? [yes]

Enter the path to the kernel header files for the 3.8.0-30-generic kernel? /usr/src/linux-headers-3.8.0-30-generic/include/linux

The path "/usr/src/linux-headers-3.8.0-30-generic/include/linux" is not a valid
path to the 3.8.0-30-generic kernel headers.
Would you like to change it? [yes]


Answer:

A sound solution can be found here: The reason is that in version 3.7 of the Linux kernel, the version.h file needed by the VMWare Tools installer has been relocated. As solution create a symbolic link to version.h at the location where VMWare Tools installer expects it:$ ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h



OK, It worked nicely. ....



你可能感兴趣的:(Vmware-tools)