当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装VM虚拟机错误 在线等待
帖子发表于 : 2009-11-07 0:07 
头像

注册: 2009-03-28 21:11
帖子: 84
送出感谢: 0 次
接收感谢: 0 次
sun@sun:/vmware-distrib$ sudo ./vmware-install.pl
Creating a new VMware Workstation installer database using the tar4 format.

Installing VMware Workstation.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware]

The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes] yes

In which directory do you want to install the manual files?
[/usr/share/man]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]

The installation of VMware Workstation 6.0.5 build-109488 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Workstation for the first time, you need to configure it
by invoking the following command: "/usr/bin/vmware-config.pl". Do you want
this program to invoke the command for you now? [yes] yes

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the theme 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] 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.28-16-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.28-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.28-16-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
在包含自 /tmp/vmware-config0/vmmon-only/./include/x86.h:21 的文件中,
从 /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
/tmp/vmware-config0/vmmon-only/./include/x86apic.h:79:1: 警告: “APIC_BASE_MSR”重定义
在包含自 /usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/fixmap_32.h:29 的文件中,
从 /usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/fixmap.h:5,
从 /usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/apic.h:8,
从 /usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/smp.h:13,
从 include/linux/smp.h:30,
从 include/linux/topology.h:33,
从 include/linux/mmzone.h:763,
从 include/linux/gfp.h:4,
从 include/linux/kmod.h:22,
从 include/linux/module.h:13,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:12:
/usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/apicdef.h:132:1: 警告: 这是先前定义的位置
在包含自 /tmp/vmware-config0/vmmon-only/./include/x86.h:24 的文件中,
从 /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
/tmp/vmware-config0/vmmon-only/./include/x86paging.h:61:1: 警告: “PTE_PFN_MASK”重定义
在包含自 /usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/paravirt.h:7 的文件中,
从 /usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/irqflags.h:55,
从 include/linux/irqflags.h:57,
从 /usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/system.h:11,
从 /usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/processor.h:17,
从 include/linux/prefetch.h:14,
从 include/linux/list.h:6,
从 include/linux/module.h:9,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:12:
/usr/src/linux-headers-2.6.28-16-generic/arch/x86/include/asm/page.h:22:1: 警告: 这是先前定义的位置
在包含自 /tmp/vmware-config0/vmmon-only/linux/vmhost.h:13 的文件中,
从 /tmp/vmware-config0/vmmon-only/linux/driver.c:115:
/tmp/vmware-config0/vmmon-only/./include/compat_semaphore.h:5:27: 错误: asm/semaphore.h:没有该文件或目录
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.28-16-generic'
make: *** [vmmon.ko] 错误 2
make:离开目录“/tmp/vmware-config0/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.

sun@sun:/vmware-distrib$ sudo vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装VM虚拟机错误 在线等待
帖子发表于 : 2009-11-07 0:15 
头像

注册: 2008-03-25 15:49
帖子: 25876
地址: 谁知道?
送出感谢: 8
接收感谢: 10
头文件不匹配么?
代码:
uname -r

代码:
apt-get install linux-header-`uname -r`


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译