happybird 发表于 2005-1-11 20:10:38

求助!在RC1安装VMWare的问题

我在我的ML中安装了好几个版本的VMware,安装过程不管是RPM包还是tar包都没有问题,每次都是在运行vmware-config.pl时出现问题(如下),不知该怎么解决,请大家帮忙!

# vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                 

Configuring fallback GTK+ 2.4 libraries.

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)?

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?

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config15/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make: Entering directory `/usr/src/linux-2.6.9'
Makefile:461: .config: 没有那个文件或目录
CC /tmp/vmware-config15/vmmon-only/linux/driver.o
/bin/sh: scripts/basic/fixdep: 没有那个文件或目录
make: *** 错误 1
make: *** 错误 2
make: Leaving directory `/usr/src/linux-2.6.9'
make: *** 错误 2
make: Leaving directory `/tmp/vmware-config15/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.

#

tingxx 发表于 2005-1-11 20:17:15

不会呀,我的就可以.
要不这样
你把/boot/config 拷到/usr/src/linux/.config
然后make一下,不用全make完,2-3分钟就把它终断掉

happybird 发表于 2005-1-12 08:55:38

请问这个make是对内核make吗

tingxx 发表于 2005-1-12 09:13:16

是的,
在/usr/src/linux下

llc 发表于 2005-1-12 09:16:18

应该是缺少了kernel-source包所致,vmeare的编译需要引用kernel-source的一些文件,哪位帅哥行行好心,给一个RC1的kernel-source的rpm包的链接吧

happybird 发表于 2005-1-12 11:29:31

RC1的kernel-source的rpm包我已经安装过了(地址是http://magiclinux.org/people/conner/kernel-sourcecode-2.6.9-3mgc.i686.rpm ),可还是一样的,等我晚上回去试试tingxx的办法吧!

happybird 发表于 2005-1-13 09:49:37

昨天晚上我试了一下tingxx的方法,将boot/config 拷到/usr/src/linux/.config后编译总提示出错,但是直接编译内核却成功了,现在我的VMWARE已经可以用了,但是为什么要这样做我还是不太明白,请指教!

tingxx 发表于 2005-1-13 10:30:13

我不是很清楚,我猜想,少的那些文件会在编绎的过程中产生.应该是这样
:mrgreen:

happybird 发表于 2005-1-13 12:27:03

谢谢!
页: [1]
查看完整版本: 求助!在RC1安装VMWare的问题