当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Ubuntu虚拟机如何安装wmware tools
帖子发表于 : 2009-05-14 0:46 

注册: 2008-09-23 4:45
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
Ubuntu虚拟机如何安装wmware tools 我很菜,请大侠们讲清楚点啊! sudo apt-get install 命令不行
:em20


页首
 用户资料  
 
2 楼 
 文章标题 : Re: Ubuntu虚拟机如何安装wmware tools
帖子发表于 : 2009-05-14 1:03 

注册: 2008-09-23 4:45
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
litide@litide-desktop:~/桌面/vmware-tools-distrib$ sudo ./vmware-install.pl
[sudo] password for litide:
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

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-tools]

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






In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]
The installation of VMware Tools 6.0.2 build-59824 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-tools.pl".

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

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl 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-19-generic/build/include]
Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make:进入目录'/dev/shm/vmware-config0/vmmemctl-only'
make -C /lib/modules/2.6.24-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /dev/shm/vmware-config0/vmmemctl-only/os.o
在包含自 /dev/shm/vmware-config0/vmmemctl-only/os.c:40 的文件中:
/dev/shm/vmware-config0/vmmemctl-only/compat_wait.h:37:5: 警告: “VMW_HAVE_EPOLL”未定义
/dev/shm/vmware-config0/vmmemctl-only/compat_wait.h:43:5: 警告: “VMW_HAVE_EPOLL”未定义
In file included from /dev/shm/vmware-config0/vmmemctl-only/os.c:40:
/dev/shm/vmware-config0/vmmemctl-only/compat_wait.h:60: 错误: 与‘poll_initwait’类型冲突
include/linux/poll.h:65: 错误: ‘poll_initwait’的上一个声明在此
make[2]: *** [/dev/shm/vmware-config0/vmmemctl-only/os.o] 错误 1
make[1]: *** [_module_/dev/shm/vmware-config0/vmmemctl-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [vmmemctl.ko] 错误 2
make:离开目录“/dev/shm/vmware-config0/vmmemctl-only”
Unable to build the vmmemctl module.

The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

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

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make:进入目录'/dev/shm/vmware-config1/vmhgfs-only'
make -C /lib/modules/2.6.24-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /dev/shm/vmware-config1/vmhgfs-only/backdoor.o
CC [M] /dev/shm/vmware-config1/vmhgfs-only/backdoorGcc32.o
CC [M] /dev/shm/vmware-config1/vmhgfs-only/bdhandler.o
In file included from /dev/shm/vmware-config1/vmhgfs-only/dbllnklst.h:14,
from /dev/shm/vmware-config1/vmhgfs-only/vmrpc.h:17,
from /dev/shm/vmware-config1/vmhgfs-only/hgfsBd.h:14,
from /dev/shm/vmware-config1/vmhgfs-only/bdhandler.c:29:
/dev/shm/vmware-config1/vmhgfs-only/vm_basic_types.h:170: 错误: 与‘uintptr_t’类型冲突
include/linux/types.h:40: 错误: ‘uintptr_t’的上一个声明在此
在包含自 /dev/shm/vmware-config1/vmhgfs-only/request.h:21 的文件中,
从 /dev/shm/vmware-config1/vmhgfs-only/bdhandler.c:34:
/dev/shm/vmware-config1/vmhgfs-only/compat_wait.h:37:5: 警告: “VMW_HAVE_EPOLL”未定义
/dev/shm/vmware-config1/vmhgfs-only/compat_wait.h:43:5: 警告: “VMW_HAVE_EPOLL”未定义
In file included from /dev/shm/vmware-config1/vmhgfs-only/request.h:21,
from /dev/shm/vmware-config1/vmhgfs-only/bdhandler.c:34:
/dev/shm/vmware-config1/vmhgfs-only/compat_wait.h:60: 错误: 与‘poll_initwait’类型冲突
include/linux/poll.h:65: 错误: ‘poll_initwait’的上一个声明在此
make[2]: *** [/dev/shm/vmware-config1/vmhgfs-only/bdhandler.o] 错误 1
make[1]: *** [_module_/dev/shm/vmware-config1/vmhgfs-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [vmhgfs.ko] 错误 2
make:离开目录“/dev/shm/vmware-config1/vmhgfs-only”
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

pcnet32 34820 0
Unloading pcnet32 module

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

None of the pre-built vmxnet modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmxnet module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make:进入目录'/dev/shm/vmware-config2/vmxnet-only'
make -C /lib/modules/2.6.24-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /dev/shm/vmware-config2/vmxnet-only/vmxnet.o
In file included from /dev/shm/vmware-config2/vmxnet-only/vmxnet.c:37:
/dev/shm/vmware-config2/vmxnet-only/vm_basic_types.h:170: 错误: 与‘uintptr_t’类型冲突
include/linux/types.h:40: 错误: ‘uintptr_t’的上一个声明在此
/dev/shm/vmware-config2/vmxnet-only/vmxnet.c: 在函数‘vmxnet_probe_device’中:
/dev/shm/vmware-config2/vmxnet-only/vmxnet.c:687: 错误: 隐式声明函数‘SET_MODULE_OWNER’
make[2]: *** [/dev/shm/vmware-config2/vmxnet-only/vmxnet.o] 错误 1
make[1]: *** [_module_/dev/shm/vmware-config2/vmxnet-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [vmxnet.ko] 错误 2
make:离开目录“/dev/shm/vmware-config2/vmxnet-only”
Unable to build the vmxnet module.

The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can install the driver
by running vmware-config-tools.pl again after making sure that gcc, binutils,
make and the kernel sources for your running kernel are installed on your
machine. These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

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

None of the pre-built vmblock modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmblock module
for your system (you need to have a C compiler installed on your system)?
[yes]

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make:进入目录'/dev/shm/vmware-config3/vmblock-only'
make -C /lib/modules/2.6.24-19-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /dev/shm/vmware-config3/vmblock-only/linux/block.o
在包含自 /dev/shm/vmware-config3/vmblock-only/linux/os.h:21 的文件中,
从 /dev/shm/vmware-config3/vmblock-only/linux/block.c:12:
/dev/shm/vmware-config3/vmblock-only/./include/compat_wait.h:37:5: 警告: “VMW_HAVE_EPOLL”未定义
/dev/shm/vmware-config3/vmblock-only/./include/compat_wait.h:43:5: 警告: “VMW_HAVE_EPOLL”未定义
In file included from /dev/shm/vmware-config3/vmblock-only/linux/os.h:21,
from /dev/shm/vmware-config3/vmblock-only/linux/block.c:12:
/dev/shm/vmware-config3/vmblock-only/./include/compat_wait.h:60: 错误: 与‘poll_initwait’类型冲突
include/linux/poll.h:65: 错误: ‘poll_initwait’的上一个声明在此
In file included from /dev/shm/vmware-config3/vmblock-only/linux/vmblockInt.h:26,
from /dev/shm/vmware-config3/vmblock-only/linux/block.c:15:
/dev/shm/vmware-config3/vmblock-only/./include/vm_basic_types.h:170: 错误: 与‘uintptr_t’类型冲突
include/linux/types.h:40: 错误: ‘uintptr_t’的上一个声明在此
make[2]: *** [/dev/shm/vmware-config3/vmblock-only/linux/block.o] 错误 1
make[1]: *** [_module_/dev/shm/vmware-config3/vmblock-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [vmblock.ko] 错误 2
make:离开目录“/dev/shm/vmware-config3/vmblock-only”
Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a host and
dropping or pasting them onto your guest (host to guest drag and drop and file
copy/paste). The rest of the software provided by VMware Tools is designed to
work independently of this feature (including guest to host drag and drop and
file copy/paste).

If you would like the host to guest drag and drop and file copy/paste features,
you can install the driver by running vmware-config-tools.pl again after making
sure that gcc, binutils, make and the kernel sources for your running kernel
are installed on your machine. These packages are available on your
distribution's installation CD.
[ Press Enter key to continue ]

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
provides a new communication capability with the Host, primarily for
development at the moment. Would you like to enable this feature? [no]



Detected X.org version 0.0.0.



No drivers for X.org version: 0.0.0.


Please choose one of the following display sizes that X will start with (1 -
15):

[1] "640x480"
[2]< "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x900"
[10] "1400x1050"
[11] "1440x900"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:

[2] 1

Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
DMA setup: done
Guest operating system daemon: done

The configuration of VMware Tools 6.0.2 build-59824 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To make use of the virtual printer, you will need to restart the CUPS service

Enjoy,

--the VMware team

litide@litide-desktop:~/桌面/vmware-tools-distrib$


页首
 用户资料  
 
3 楼 
 文章标题 : Re: Ubuntu虚拟机如何安装wmware tools
帖子发表于 : 2009-05-15 23:44 

注册: 2009-05-15 16:30
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
没有一个与你系统配套的现成vmmemctl 模块
需要自己build一个,但是在编译的时候出现问题
个人认为可以在网上找一个vmmemctl 模块代替或者自行修改compat_wait.h等文件解决问题


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

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Sogou [Spider] 和 3 位游客


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

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

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