LinuxSir.cn,穿越时空的Linuxsir!

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

关于Vmware配置的问题

[复制链接]
发表于 2004-12-7 00:06:06 | 显示全部楼层 |阅读模式
当允许vmware时出现下面信息

[root@wanglab bin]# vmware

VMware Workstation Error:
VMware Workstation is installed, but it has not been (correctly) configured for
your running kernel.  To (re-)configure it, your system administrator must find and run "vmware-config.pl".  For more information, please read file "INSTALL" in the VMware Workstation documentation directory.

Press "Enter" to continue...

[root@wanglab bin]#

从上面的信息可知应该是vmware没有配置好,于是我有执行vmware-config.pl
结果出现下面的信息

[root@wanglab bin]# ./vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
   Virtual machine monitor                     [  \x{786E}\x{5B9A}  ]

Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel.  Do you want this script 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.

Argument "gcc (GCC) 3" isn't numeric in numeric ge (>=) at ./vmware-config.pl line 1493, <STDIN> line 1.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is a kernel header file directory, but it doesnot contain the file "linux/version.h" as expected.  This can happen if the
kernel has never been built, or if you have invoked the "make mrproper" command
in your kernel directory.  In any case, you may want to rebuild your kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

请教该怎么做?该如何编译vmware的modules?
另外,vmware-confg.pl是用perl写的,我将1493行的 >= 改为 ge 之后再运行
vmware-config.pl时,出现下面的信息


Stopping VMware services:
   Virtual machine monitor                                 [  \x{786E}\x{5B9A}  ]

Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel.  Do you want this script 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.

As of April 2002, gcc version 3 and later is not yet a supported compiler by theLinux kernel development team. Have a look at Documentation/Changes in your
kernel source directory to get the correct compiler installed. Do you want to gowith compiler "/usr/bin/gcc" version gcc (GCC) 3.2.2 20030222 (Red Hat Linux
3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
? [no]

请各位大侠予以点拨!
谢谢!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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