vmware workstation 7.1.2中ubuntu安装vmware-tools问题

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
头像
Anew_G
帖子: 6
注册时间: 2010-11-01 22:26
送出感谢: 0
接收感谢: 0

vmware workstation 7.1.2中ubuntu安装vmware-tools问题

#1

帖子 Anew_G » 2010-11-15 19:22

代码: 全选

root@anewg-virtual-machine:/home/anewg/vmware-tools-distrib# sudo ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] 

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

vmware-tools stop/waiting
File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc is backed up to 
/usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc.old.6.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to 
remove it.  Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases is backed up 
to /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases.old.6.

File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is 
backed up to 
/usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.6.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/pango/pangorc, and was about to remove it.  
Somebody else apparently did it already.

File /etc/vmware-tools/vmware-user.desktop is backed up to 
/etc/vmware-tools/vmware-user.desktop.old.6.

File /usr/lib/vmware-tools/lib32/libconf/etc/fonts/fonts.conf is backed up to 
/usr/lib/vmware-tools/lib32/libconf/etc/fonts/fonts.conf.old.6.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/pango/pangox.aliases, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file 
/usr/lib/vmware-tools/lib32/libconf/etc/pango/pango.modules, and was about to 
remove it.  Somebody else apparently did it already.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to 
remove it.  Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules is backed up
to /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules.old.6.

Restoring the kernel initrd image.:
update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.6.

File /etc/updatedb.conf is backed up to /etc/updatedb.conf.old.6.

The removal of VMware Tools 8.4.4 build-301548 for Linux completed 
successfully.

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] 

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

The path "e" is a relative path. Please enter an absolute path.

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 8.4.4 build-301548 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] 

Initializing...


Making sure services for VMware Tools are stopped.



The module vmmemctl has already been installed on this system by another 
installer or package and will not be modified by this installer.  Use the flag 
--clobber-kernel-modules=vmmemctl to override.

In file included from <stdin>:3:
/lib/modules/2.6.35-22-generic/build/include/generated/utsrelease.h:1: warning: "UTS_RELEASE" redefined
/lib/modules/2.6.35-22-generic/build/include/linux/version.h:1: note: this is the location of the previous definition

Before you can compile modules, you need to have the following installed... 

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no] 

Searching for a valid kernel header path...
In file included from <stdin>:3:
/lib/modules/2.6.35-22-generic/build/include/generated/utsrelease.h:1: warning: "UTS_RELEASE" redefined
/lib/modules/2.6.35-22-generic/build/include/linux/version.h:1: note: this is the location of the previous definition
Detected the kernel headers of the running kernel at 
"/lib/modules/2.6.35-22-generic/build/include".
The path "/lib/modules/2.6.35-22-generic/build/include" appears to be a valid 
path to the kernel headers of the running kernel.
Would you like to change it? [no] 

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmhgfs-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/backdoor.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/backdoorGcc32.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpName.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/dentry.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/dir.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/file.o
/tmp/vmware-root/modules/vmhgfs-only/file.c:120: warning: initialization from incompatible pointer type
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/filesystem.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/fsutil.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/inode.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/kernelStubsLinux.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/link.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/message.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/messageBackdoor.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/module.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/page.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/request.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/rpcout.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/stubs.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/super.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/tcp.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/transport.o
  LD [M]  /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make -C $PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= postbuild
make[1]: 正在进入目录 `/tmp/vmware-root/modules/vmhgfs-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-root/modules/vmhgfs-only'
cp -f vmhgfs.ko ./../vmhgfs.o
make:离开目录“/tmp/vmware-root/modules/vmhgfs-only”

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmxnet-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_load_multicast’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2795: error: ‘struct net_device’ has no member named ‘mc_list’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2805: error: ‘struct net_device’ has no member named ‘mc_count’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2806: error: dereferencing pointer to incomplete type
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2807: error: dereferencing pointer to incomplete type
make[2]: *** [/tmp/vmware-root/modules/vmxnet-only/vmxnet.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmxnet-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [vmxnet.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmxnet-only”

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 ] 

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmblock-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/block.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/control.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/dentry.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/file.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/inode.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/module.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/stubs.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/super.o
  LD [M]  /tmp/vmware-root/modules/vmblock-only/vmblock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmblock-only/vmblock.mod.o
  LD [M]  /tmp/vmware-root/modules/vmblock-only/vmblock.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make -C $PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= postbuild
make[1]: 正在进入目录 `/tmp/vmware-root/modules/vmblock-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-root/modules/vmblock-only'
cp -f vmblock.ko ./../vmblock.o
make:离开目录“/tmp/vmware-root/modules/vmblock-only”

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciEvent.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciProcess.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciUtil.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmci_drv.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make -C $PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= postbuild
make[1]: 正在进入目录 `/tmp/vmware-root/modules/vmci-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-root/modules/vmci-only'
cp -f vmci.ko ./../vmci.o
make:离开目录“/tmp/vmware-root/modules/vmci-only”

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciEvent.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciProcess.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciUtil.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmci_drv.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make -C $PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= postbuild
make[1]: 正在进入目录 `/tmp/vmware-root/modules/vmci-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-root/modules/vmci-only'
cp -f vmci.ko ./../vmci.o
make:离开目录“/tmp/vmware-root/modules/vmci-only”
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vsock-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M]  /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciStreamConnect’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3233: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3256: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3268: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciAccept’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3328: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3344: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3378: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciPoll’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:3476: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciStreamSendmsg’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4116: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4153: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4206: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c: In function ‘VSockVmciStreamRecvmsg’:
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4440: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4480: error: ‘struct sock’ has no member named ‘sk_sleep’
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4546: error: ‘struct sock’ has no member named ‘sk_sleep’
make[2]: *** [/tmp/vmware-root/modules/vsock-only/linux/af_vsock.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vsock-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [vsock.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vsock-only”

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and 
host.  The rest of this software provided by VMware Tools is designed to work 
independently of this feature.  If you wish to have the VSOCK 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 the Enter key to continue.] 

The module vmxnet3 has already been installed on this system by another 
installer or package and will not be modified by this installer.  Use the flag 
--clobber-kernel-modules=vmxnet3 to override.

The module pvscsi has already been installed on this system by another 
installer or package and will not be modified by this installer.  Use the flag 
--clobber-kernel-modules=pvscsi to override.


Disabling timer-based audio scheduling in pulseaudio.



Detected Xorg X server version 1.9.0.



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
vmware-tools start/running
The configuration of VMware Tools 8.4.4 build-301548 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 "/usr/bin/vmware-toolbox-cmd" from the
command line or by invoking "/usr/bin/vmware-toolbox" from the command line 
during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and 
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device 
/dev/sr0 ...
root@anewg-virtual-machine:/home/anewg/vmware-tools-distrib#
已经提示enjoy了,重启虚拟机,却不能像以前一样窗口自适应和与主机之间拖拽文件
是安装失败还是这版本tools对10.10没那个功能??

望解答 谢谢!
L.A.M.P
回复

回到 “虚拟机和虚拟化”