LinuxSir.cn,穿越时空的Linuxsir!

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

安装vmware的问题,求救。

[复制链接]
发表于 2006-5-29 00:18:39 | 显示全部楼层 |阅读模式
我先安装VMware-workstation-5.0.0-13124.i386.rpm
# cd /usr/src/linux
# make cloneconfig
# make dep clean
# vmware-config.pl
就出现
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

Configuring fallback GTK+ 2.4 libraries.

***
* Updating MIME database in /usr/share/mime...
Wrote 486 strings at 20 - 28ac
Wrote aliases at 28ac - 2a60
Wrote parents at 2a60 - 30b0
Wrote literal globs at 30b0 - 310c
Wrote suffix globs at 310c - 6794
Wrote full globs at 6794 - 67b8
Wrote magic at 67b8 - bf0c
Wrote namespace list at bf0c - bf1c
***
In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

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? [/usr/src/linux/include]

The kernel defined by this directory of header files does not have the same
address space size as your running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
就没有办法往下安装。
发表于 2006-5-29 12:39:57 | 显示全部楼层
问下,补丁装没?
如果没有请搜索下以前的帖子,有补丁的下载地址,我记不清了
vmware-any-any-update101.tar.gz大概是类似这个
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-29 12:56:14 | 显示全部楼层
谢谢你了。我试一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-29 13:08:12 | 显示全部楼层
为什么还是不行了。显示
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 5.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config9/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.16.13-4'

  WARNING: Symbol version dump /usr/src/linux-2.6.16.13-4/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /tmp/vmware-config9/vmmon-only/linux/driver.o
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[2]: *** [/tmp/vmware-config9/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config9/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config9/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.

linux-canj00:/usr/src/linux #
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-29 14:54:02 | 显示全部楼层
置顶里面说
1) 先以root登录
2) # cd /usr/src/linux
# make cloneconfig
# make dep clean
3) # cp /boot/vmlinuz.version.h /usr/src/linux/include/linux/version.h
# cp /boot/vmlinuz.autoconf.h /usr/src/linux/include/linux/autoconf.h
4) # vmware-config.pl
但是我没有找到vmlinuz.version.h vmlinuz.autoconf.h两个文件。
各位高手,求求你们了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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