曲径通幽论坛

标题: 安装 VMWare tools 时 The path "/usr/bin/gcc" is not valid path to t [打印本页]

作者: beyes    时间: 2011-6-2 15:32
标题: 安装 VMWare tools 时 The path "/usr/bin/gcc" is not valid p
在 Debian 系的发行版上,如果安装 vmware tools 时,经常会遇到如下提示:
Searching for GCC...
The path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes]
这是默认情况下,没有安装 gcc 以及内核头文件造成的,光安装 gcc 不行,安装完了即使在 /usr/bin/ 里可以看到 gcc,但仍然会看到上面的错误,解决办法:
$sudo aptitude install gcc-4.3 linux-headers-`uname -r` -y





欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) Powered by Discuz! X3.2