vmware-server安装失败

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
头像
hqwxyz
帖子: 141
注册时间: 2008-05-04 23:25

vmware-server安装失败

#1

帖子 hqwxyz » 2008-05-28 12:20

运行如下命令,下载并开始安装:
wget http://download3.vmware.com/software/vm ... 996.tar.gz
tar xzvf VMware-server-1.0.1-29996.tar.gz
sudo apt-get install linux-headers-`uname -r` build-essential xinetd
cd vmware-server-distrib
sudo ./vmware-install.pl

然后,系统报告:
None of the pre-built vmmon modules for VMware Server 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.24-17-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.24-17-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-17-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:48:
/tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:161: 错误: 与‘uintptr_t’类型冲突
include/linux/types.h:40: 错误: ‘uintptr_t’的上一个声明在此
在包含自 /tmp/vmware-config1/vmmon-only/linux/driver.h:20 的文件中,
从 /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: 警告: “VMW_HAVE_EPOLL”未定义
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: 警告: “VMW_HAVE_EPOLL”未定义
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: 错误: 与‘poll_initwait’类型冲突
include/linux/poll.h:65: 错误: ‘poll_initwait’的上一个声明在此
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: 警告: 在‘_syscall1’的声明中,类型默认为‘int’
/tmp/vmware-config1/vmmon-only/linux/driver.c:145: 警告: 从不兼容的指针类型初始化
/tmp/vmware-config1/vmmon-only/linux/driver.c:149: 警告: 从不兼容的指针类型初始化
/tmp/vmware-config1/vmmon-only/linux/driver.c: 在函数‘LinuxDriver_Ioctl’中:
/tmp/vmware-config1/vmmon-only/linux/driver.c:1657: 错误: ‘struct mm_struct’没有名为‘dumpable’的成员
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-17-generic'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config1/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.html".

Execution aborted.

往下就不知道该怎么办了,请求帮助。谢谢!
尝试中
dell640M
麦克风/投影仪还没有正常工作
vvvli
帖子: 441
注册时间: 2006-10-26 7:02

#2

帖子 vvvli » 2008-05-28 12:45

需要patch vmware-any-any-update116
头像
hqwxyz
帖子: 141
注册时间: 2008-05-04 23:25

#3

帖子 hqwxyz » 2008-05-28 13:53

vvvli 写了:需要patch vmware-any-any-update116
试过,还是不行。谢谢。
尝试中
dell640M
麦克风/投影仪还没有正常工作
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#4

帖子 oneleaf » 2008-05-28 17:49

vmware server的版本太低。使用 1.0.5 的版本。
头像
lhw828
帖子: 2797
注册时间: 2007-03-15 16:58
来自: 湖北武汉
联系:

#5

帖子 lhw828 » 2008-05-28 19:22

我不用虚拟机里现在
头像
hqwxyz
帖子: 141
注册时间: 2008-05-04 23:25

#6

帖子 hqwxyz » 2008-05-29 10:33

公司的erp软件要在win下面跑阿,兄弟,否则的话我也不想用虚拟机的。
尝试中
dell640M
麦克风/投影仪还没有正常工作
头像
fanqo
帖子: 67
注册时间: 2007-10-03 9:40
来自: 山东济宁

#7

帖子 fanqo » 2008-06-06 23:49

mark,我也遇到了同样的问题,为什么呢? :?: :?: :?: :?:
头像
fanqo
帖子: 67
注册时间: 2007-10-03 9:40
来自: 山东济宁

#8

帖子 fanqo » 2008-06-07 0:20

恩,就是版本低,去这里下载新的。http://download3.vmware.com/software/vm ... 891.tar.gz[/url]
回复