安裝VMware-tools的時候發生的錯誤

安裝VMware-tools的時候發生的錯誤, 虛擬機系統是ubuntu13.04: linux

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


Question: api

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. spa

Would you like to change it? [yes] get

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 it



OK, It worked nicely. .... io

相關文章
相關標籤/搜索