crifan@crifan-Kubuntu8:~/download/vmware$ ls
 vmware-tools-distrib VMwareTools-e.x.p-84113.tar.gz
 crifan@crifan-Kubuntu8:~/download/vmware$ cd vmware-tools-distrib/
 crifan@crifan-Kubuntu8:~/download/vmware/vmware-tools-distrib$ ls
 bin doc etc FILES INSTALL installer lib vmware-install.pl
 crifan@crifan-Kubuntu8:~/download/vmware/vmware-tools-distrib$ sudo ./vmware-install.pl
 [sudo] password for crifan:
 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 e.x.p build-84113 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
 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-16-generic/build/include]
Extracting the sources of the vmmemctl module.
Building the vmmemctl module.
Using 2.6.x kernel build system.
 make: Entering directory `/tmp/vmware-config0/vmmemctl-only’
 make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
 CC [M] /tmp/vmware-config0/vmmemctl-only/backdoorGcc32.o
 CC [M] /tmp/vmware-config0/vmmemctl-only/os.o
 CC [M] /tmp/vmware-config0/vmmemctl-only/vmballoon.o
 LD [M] /tmp/vmware-config0/vmmemctl-only/vmmemctl.o
 Building modules, stage 2.
 MODPOST 1 modules
 CC      /tmp/vmware-config0/vmmemctl-only/vmmemctl.mod.o
 LD [M] /tmp/vmware-config0/vmmemctl-only/vmmemctl.ko
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
 cp -f vmmemctl.ko ./../vmmemctl.o
 make: Leaving directory `/tmp/vmware-config0/vmmemctl-only’
 The vmmemctl module loads perfectly into the 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: Entering directory `/tmp/vmware-config0/vmhgfs-only’
 make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
 CC [M] /tmp/vmware-config0/vmhgfs-only/backdoor.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/backdoorGcc32.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/bdhandler.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLite.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/dentry.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/dir.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/file.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/filesystem.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/fsutil.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsBd.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsUtil.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/inode.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/kernelStubsLinux.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/link.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/messageBackdoor.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/message.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/module.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/page.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/request.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/rpcout.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/staticEscape.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/stubs.o
 CC [M] /tmp/vmware-config0/vmhgfs-only/super.o
 LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.o
 Building modules, stage 2.
 MODPOST 1 modules
 CC      /tmp/vmware-config0/vmhgfs-only/vmhgfs.mod.o
 LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.ko
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
 cp -f vmhgfs.ko ./../vmhgfs.o
 make: Leaving directory `/tmp/vmware-config0/vmhgfs-only’
 The vmhgfs module loads perfectly into the 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: Entering directory `/tmp/vmware-config0/vmxnet-only’
 make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
 CC [M] /tmp/vmware-config0/vmxnet-only/vmxnet.o
 Building modules, stage 2.
 MODPOST 1 modules
 CC      /tmp/vmware-config0/vmxnet-only/vmxnet.mod.o
 LD [M] /tmp/vmware-config0/vmxnet-only/vmxnet.ko
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
 cp -f vmxnet.ko ./../vmxnet.o
 make: Leaving directory `/tmp/vmware-config0/vmxnet-only’
 The vmxnet module loads perfectly into the running kernel.
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
 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: Entering directory `/tmp/vmware-config0/vmblock-only’
 make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
 CC [M] /tmp/vmware-config0/vmblock-only/linux/block.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/control.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/dbllnklst.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/dentry.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/file.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/filesystem.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/inode.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/module.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/stubs.o
 CC [M] /tmp/vmware-config0/vmblock-only/linux/super.o
 LD [M] /tmp/vmware-config0/vmblock-only/vmblock.o
 Building modules, stage 2.
 MODPOST 1 modules
 CC      /tmp/vmware-config0/vmblock-only/vmblock.mod.o
 LD [M] /tmp/vmware-config0/vmblock-only/vmblock.ko
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
 cp -f vmblock.ko ./../vmblock.o
 make: Leaving directory `/tmp/vmware-config0/vmblock-only’
 The vmblock module loads perfectly into the running kernel.
None of the pre-built vmsync modules for VMware Tools is suitable for your
 running kernel. Do you want this program to try to build the vmsync module for
 your system (you need to have a C compiler installed on your system)? [yes]
 Extracting the sources of the vmsync module.
Building the vmsync module.
Using 2.6.x kernel build system.
 make: Entering directory `/tmp/vmware-config0/vmsync-only’
 make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
 CC [M] /tmp/vmware-config0/vmsync-only/sync.o
 LD [M] /tmp/vmware-config0/vmsync-only/vmsync.o
 Building modules, stage 2.
 MODPOST 1 modules
 CC      /tmp/vmware-config0/vmsync-only/vmsync.mod.o
 LD [M] /tmp/vmware-config0/vmsync-only/vmsync.ko
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
 cp -f vmsync.ko ./../vmsync.o
 make: Leaving directory `/tmp/vmware-config0/vmsync-only’
 The vmsync module loads perfectly into the running kernel.
None of the pre-built vmci modules for VMware Tools is suitable for your
 running kernel. Do you want this program to try to build the vmci module for
 your system (you need to have a C compiler installed on your system)? [yes]
Extracting the sources of the vmci module.
Building the vmci module.
Using 2.6.x kernel build system.
 make: Entering directory `/tmp/vmware-config0/vmci-only’
 make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
 CC [M] /tmp/vmware-config0/vmci-only/kernelStubsLinux.o
 CC [M] /tmp/vmware-config0/vmci-only/vmciDatagram.o
 CC [M] /tmp/vmware-config0/vmci-only/vmci_drv.o
 CC [M] /tmp/vmware-config0/vmci-only/vmciEvent.o
 CC [M] /tmp/vmware-config0/vmci-only/vmciGuestDs.o
 CC [M] /tmp/vmware-config0/vmci-only/vmciGuestKernelIf.o
 CC [M] /tmp/vmware-config0/vmci-only/vmciKernelIf.o
 CC [M] /tmp/vmware-config0/vmci-only/vmciProcess.o
 CC [M] /tmp/vmware-config0/vmci-only/vmciQueuePair.o
 CC [M] /tmp/vmware-config0/vmci-only/vmciUtil.o
 LD [M] /tmp/vmware-config0/vmci-only/vmci.o
 Building modules, stage 2.
 MODPOST 1 modules
 CC      /tmp/vmware-config0/vmci-only/vmci.mod.o
 LD [M] /tmp/vmware-config0/vmci-only/vmci.ko
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
 cp -f vmci.ko ./../vmci.o
 make: Leaving directory `/tmp/vmware-config0/vmci-only’
 The vmci module loads perfectly into the running kernel.
None of the pre-built vsock modules for VMware Tools is suitable for your
 running kernel. Do you want this program to try to build the vsock module for
 your system (you need to have a C compiler installed on your system)? [yes]
Extracting the sources of the vsock module.
Building the vsock module.
Using 2.6.x kernel build system.
 make: Entering directory `/tmp/vmware-config0/vsock-only’
 make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
 CC [M] /tmp/vmware-config0/vsock-only/linux/af_vsock.o
 In file included from /tmp/vmware-config0/vsock-only/linux/af_vsock.c:92:
 /tmp/vmware-config0/vsock-only/./include/compat_wait.h:64: error: conflicting types for 鈥榩oll_i
 nitwait鈥?include/linux/poll.h:65: error: previous declaration of 鈥榩oll_initwait鈥?was here
 /tmp/vmware-config0/vsock-only/linux/af_vsock.c:260: warning: initialization from incompatible
 pointer type
 /tmp/vmware-config0/vsock-only/linux/af_vsock.c: In function 鈥榑_VSockVmciCreate鈥?
 /tmp/vmware-config0/vsock-only/linux/af_vsock.c:1789: warning: passing argument 1 of 鈥榮k_alloc鈥? makes pointer from integer without a cast
 /tmp/vmware-config0/vsock-only/linux/af_vsock.c:1789: warning: passing argument 3 of 鈥榮k_alloc鈥? makes integer from pointer without a cast
 /tmp/vmware-config0/vsock-only/linux/af_vsock.c:1789: warning: passing argument 4 of 鈥榮k_alloc鈥? makes pointer from integer without a cast
 make[2]: *** [/tmp/vmware-config0/vsock-only/linux/af_vsock.o] Error 1
 make[1]: *** [_module_/tmp/vmware-config0/vsock-only] Error 2
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
 make: *** [vsock.ko] Error 2
 make: Leaving directory `/tmp/vmware-config0/vsock-only’
 Unable to build the vsock module.
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.]
None of the pre-built vmxnet3 modules for VMware Tools is suitable for your
 running kernel. Do you want this program to try to build the vmxnet3 module
 for your system (you need to have a C compiler installed on your system)?
 [yes]
Extracting the sources of the vmxnet3 module.
Building the vmxnet3 module.
Using 2.6.x kernel build system.
 make: Entering directory `/tmp/vmware-config1/vmxnet3-only’
 make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
 CC [M] /tmp/vmware-config1/vmxnet3-only/vmxnet3.o
 /tmp/vmware-config1/vmxnet3-only/vmxnet3.c: In function 鈥榲mxnet3_poll鈥?
 /tmp/vmware-config1/vmxnet3-only/vmxnet3.c:230: error: 鈥榮truct net_device鈥?has no member named
 鈥榪uota鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c:230: warning: type defaults to 鈥榠nt鈥?in declaration
 of 鈥榑y鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c:230: error: 鈥榮truct net_device鈥?has no member named
 鈥榪uota鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c:233: error: 鈥榮truct net_device鈥?has no member named
 鈥榪uota鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c:236: error: too few arguments to function 鈥榥etif_rx_
 complete鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c: In function 鈥榲mxnet3_intr鈥?
 /tmp/vmware-config1/vmxnet3-only/vmxnet3.c:280: error: too few arguments to function 鈥榥etif_rx_
 schedule鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c: In function 鈥榲mxnet3_activate_dev鈥?
 /tmp/vmware-config1/vmxnet3-only/vmxnet3.c:1944: error: implicit declaration of function 鈥榥etif
 _poll_enable鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c: In function 鈥榲mxnet3_quiesce_dev鈥?
 /tmp/vmware-config1/vmxnet3-only/vmxnet3.c:1995: error: implicit declaration of function 鈥榥etif
 _poll_disable鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c: In function 鈥榲mxnet3_probe_device鈥?
 /tmp/vmware-config1/vmxnet3-only/vmxnet3.c:2969: error: 鈥榮truct net_device鈥?has no member named
 鈥榩oll鈥?/tmp/vmware-config1/vmxnet3-only/vmxnet3.c:2970: error: 鈥榮truct net_device鈥?has no member named
 鈥榳eight鈥?make[2]: *** [/tmp/vmware-config1/vmxnet3-only/vmxnet3.o] Error 1
 make[1]: *** [_module_/tmp/vmware-config1/vmxnet3-only] Error 2
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
 make: *** [vmxnet3.ko] Error 2
 make: Leaving directory `/tmp/vmware-config1/vmxnet3-only’
 Unable to build the vmxnet3 module.
The advanced network device driver (vmxnet3 module) is used only for our
 advanced 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 advanced 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 ]
Detected X.org version
 This is a pre-release version of the X server from The X.Org Foundation.
 It is not supported in any way.
 Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
 Select the “xorg” product for bugs you find in this release.
 Before reporting bugs in pre-release versions please check the
 latest version in the X.Org Foundation git repository.
 See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.4.0.90
 Release Date: 5 September 2007
 X Protocol Version 11, Revision 0
 Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu9)
Current Operating System: Linux crifan-Kubuntu8 2.6.24-16-generic #1 SMP Thu
 Apr 10 13:23:42 UTC 2008 i686
 Build Date: 15 April 2008 05:26:17PM
Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Module Loader present
 .
No drivers for X.org version:
 This is a pre-release version of the X server from The X.Org Foundation.
 It is not supported in any way.
 Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
 Select the “xorg” product for bugs you find in this release.
 Before reporting bugs in pre-release versions please check the
 latest version in the X.Org Foundation git repository.
 See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.4.0.90
 Release Date: 5 September 2007
 X Protocol Version 11, Revision 0
 Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu9)
Current Operating System: Linux crifan-Kubuntu8 2.6.24-16-generic #1 SMP Thu
 Apr 10 13:23:42 UTC 2008 i686
 Build Date: 15 April 2008 05:26:17PM
Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Module Loader present
 .
Please choose one of the following display sizes that X will start with (1 –
 15):
[1] “640×480”
 [2] “800×600”
 [3]< “1024×768”
 [4] “1152×864”
 [5] “1280×800”
 [6] “1152×900”
 [7] “1280×1024”
 [8] “1376×1032”
 [9] “1400×900”
 [10] “1400×1050”
 [11] “1440×900”
 [12] “1680×1050”
 [13] “1600×1200”
 [14] “1920×1200”
 [15] “2364×1773”
 Please enter a number between 1 and 15:
[3]
Starting VMware Tools services in the virtual machine:
 Switching to guest configuration:                                   done
 Guest filesystem driver:                                            done
 Mounting HGFS shares:                                              failed
 Guest memory manager:                                               done
 Guest vmxnet fast network device:                                   done
 VM communication interface:                                         done
 Blocking file system:                                               done
 File system sync driver:                                            done
 DMA setup:                                                          done
 Guest operating system daemon:                                      done
The configuration of VMware Tools e.x.p build-84113 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 use the vmxnet driver, restart networking using the following commands:
 /etc/init.d/networking stop
 rmmod pcnet32
 rmmod vmxnet
 modprobe vmxnet
 /etc/init.d/networking start
Enjoy,
–the VMware team
crifan@crifan-Kubuntu8:~/download/vmware/vmware-tools-distrib$
转载请注明:在路上 » vmware installation log