在ubuntu10.10中安装VMWare Tool时,遇到The path " " is not valid
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
The path " " is not valid
是因为vmware-config-tools.pl 会在/usr/src/2.6.36-22-generic/include/linux下寻找,define UTS_RELEASE
解决方法如下:
cd /usr/src/2.6.36-22-generic/include
cp -p generated/utsrelease.h linux/utsrelease.h
cp -p generated/autoconf.h linux/autoconf.h
参考 http://forums.fedoraforum.org/showthread.php?p=1367623
本文解决了一个在Ubuntu 10.10上安装VMWare Tools时出现的路径无效问题。通过复制特定文件到指定目录,使得配置脚本能够正确检测到GCC的存在。

2217

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



