LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 672|回复: 2

安装vware出错,帮忙看看怎么回事儿?

[复制链接]
发表于 2006-7-17 10:35:50 | 显示全部楼层 |阅读模式
下面是出错信息:
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.8-2-386/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmmon-only'
make -C /lib/modules/2.6.8-2-386/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
/usr/src/kernel-headers-2.6.8-2
-386/scripts/gcc-version.sh: /usr/src/kernel-headers-2.6.8-2-386/scripts/gcc-version.sh: No such file or directory
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
make[2]: scripts/Makefile.build: No such file or directory
make[2]: *** No rule to make target `scripts/Makefile.build'.  Stop.
make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


我已经安装了kernel-headers:
#uname -a
Linux debian 2.6.8-2-386
#apt-get install kernel-headers-2.6.8-2-386
发表于 2006-7-17 11:49:26 | 显示全部楼层
要打个补丁 vmware-any-any-update101.tar.gz
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-17 18:42:55 | 显示全部楼层
打补丁的时候他会调用
vmware-config.pl
在往下出现的就是上面给出的那个错误!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表