VMware Tools的经典安裝方法

註1:#表註解,$表提示符號
註2:gcc-4.0改成gcc
註3:VMwareTools-5.5.1-19175.tar.gz 依版本不用而異
# Install gcc-4.0, make, and appropriate Linux kernel headers
$ sudo apt-get install gcc-4.0 make linux-headers-$(uname -r)
# Create a symlink for gcc -> gcc-4.0
$ sudo ln -s /usr/bin/gcc-4.0 /usr/bin/gcc
Select VM > Install VMware Tools from the VMware Workstation menu to mount the Tools ISO image.
# Extract and install the Tools.
$ cd /tmp
$ tar xvfz /cdrom/VMwareTools-5.5.1-19175.tar.gz
$ cd vmware-tools-distrib
$ sudo ./vmware-install.pl
*********************************************************
*********************************************************
以下為執行上述指令後的結果,
.....(因Buffer不夠,遺失一小部分解壓過程的畫面)
vmware-tools-distrib/lib/bin32/
vmware-tools-distrib/lib/bin32/vmware-tpvmlp
vmware-tools-distrib/lib/bin32/vmware-toolbox-gtk
vmware-tools-distrib/lib/bin32/vmware-toolbox
vmware-tools-distrib/lib/bin32/xorg71/
vmware-tools-distrib/lib/bin32/xorg71/vmware-user
vmware-tools-distrib/lib/bin32/xorg71/vmware-user-wrapper
vmware-tools-distrib/lib/bin32/vmware-user
vmware-tools-distrib/lib/bin32/vmware-user-wrapper
vmware-tools-distrib/lib/bin32/vmware-hgfsclient
vmware-tools-distrib/lib/bin32/vmware-xferlogs
vmware-tools-distrib/lib/bin64/
vmware-tools-distrib/lib/bin64/vmware-tpvmlp
vmware-tools-distrib/lib/bin64/vmware-toolbox-gtk
vmware-tools-distrib/lib/bin64/vmware-toolbox
vmware-tools-distrib/lib/bin64/xorg71/
vmware-tools-distrib/lib/bin64/xorg71/vmware-user
vmware-tools-distrib/lib/bin64/xorg71/vmware-user-wrapper
vmware-tools-distrib/lib/bin64/vmware-user
vmware-tools-distrib/lib/bin64/vmware-user-wrapper
vmware-tools-distrib/lib/bin64/vmware-hgfsclient
vmware-tools-distrib/lib/bin64/vmware-xferlogs
vmware-tools-distrib/lib/configurator/
vmware-tools-distrib/lib/configurator/xautostart.conf
vmware-tools-distrib/lib/configurator/pam.d/
vmware-tools-distrib/lib/configurator/pam.d/vmware-guestd
vmware-tools-distrib/lib/configurator/pam.d/vmware-guestd-x64
vmware-tools-distrib/lib/configurator/XFree86-3/
vmware-tools-distrib/lib/configurator/XFree86-3/XF86Config
vmware-tools-distrib/lib/configurator/XFree86-3/XF86_VMware
vmware-tools-distrib/lib/configurator/XFree86-4/
vmware-tools-distrib/lib/configurator/XFree86-4/4.x/
vmware-tools-distrib/lib/configurator/XFree86-4/4.x/vmware_drv.o
vmware-tools-distrib/lib/configurator/XFree86-4/4.2.x/
vmware-tools-distrib/lib/configurator/XFree86-4/4.2.x/vmware_drv.o
vmware-tools-distrib/lib/configurator/XFree86-4/4.2.x/libshadowfb.a
vmware-tools-distrib/lib/configurator/XFree86-4/4.2.x/libxaa.a
vmware-tools-distrib/lib/configurator/XFree86-4/4.2.x/vmmouse_drv.o
vmware-tools-distrib/lib/configurator/XFree86-4/4.3.x/
vmware-tools-distrib/lib/configurator/XFree86-4/4.3.x/vmware_drv.o
vmware-tools-distrib/lib/configurator/XFree86-4/4.3.x/vmmouse_drv.o
vmware-tools-distrib/lib/configurator/XFree86-4/4.3.x_64/
vmware-tools-distrib/lib/configurator/XFree86-4/4.3.x_64/vmware_drv.o
vmware-tools-distrib/lib/configurator/XFree86-4/4.3.x_64/vmmouse_drv.o
vmware-tools-distrib/lib/configurator/XFree86-4/XF86Config-4
vmware-tools-distrib/lib/configurator/XOrg/
vmware-tools-distrib/lib/configurator/XOrg/6.7.x/
vmware-tools-distrib/lib/configurator/XOrg/6.7.x/vmware_drv.o
vmware-tools-distrib/lib/configurator/XOrg/6.7.x/vmmouse_drv.o
vmware-tools-distrib/lib/configurator/XOrg/6.7.x_64/
vmware-tools-distrib/lib/configurator/XOrg/6.7.x_64/vmware_drv.o
vmware-tools-distrib/lib/configurator/XOrg/6.7.x_64/vmmouse_drv.o
vmware-tools-distrib/lib/configurator/XOrg/6.8.x/
vmware-tools-distrib/lib/configurator/XOrg/6.8.x/vmware_drv.o
vmware-tools-distrib/lib/configurator/XOrg/6.8.x/vmmouse_drv.o
vmware-tools-distrib/lib/configurator/XOrg/6.8.x_64/
vmware-tools-distrib/lib/configurator/XOrg/6.8.x_64/vmware_drv.o
vmware-tools-distrib/lib/configurator/XOrg/6.8.x_64/vmmouse_drv.o
vmware-tools-distrib/lib/configurator/XOrg/7.0/
vmware-tools-distrib/lib/configurator/XOrg/7.0/vmware_drv.so
vmware-tools-distrib/lib/configurator/XOrg/7.0/vmmouse_drv.so
vmware-tools-distrib/lib/configurator/XOrg/7.0_64/
vmware-tools-distrib/lib/configurator/XOrg/7.0_64/vmware_drv.so
vmware-tools-distrib/lib/configurator/XOrg/7.0_64/vmmouse_drv.so
vmware-tools-distrib/lib/configurator/XOrg/7.1/
vmware-tools-distrib/lib/configurator/XOrg/7.1/vmware_drv.so
vmware-tools-distrib/lib/configurator/XOrg/7.1/vmmouse_drv.so
vmware-tools-distrib/lib/configurator/XOrg/7.1_64/
vmware-tools-distrib/lib/configurator/XOrg/7.1_64/vmware_drv.so
vmware-tools-distrib/lib/configurator/XOrg/7.1_64/vmmouse_drv.so
vmware-tools-distrib/lib/configurator/vmmemctl.sh
vmware-tools-distrib/lib/hlp/
vmware-tools-distrib/lib/hlp/images/
vmware-tools-distrib/lib/hlp/images/index.gif
vmware-tools-distrib/lib/hlp/images/indexx.gif
vmware-tools-distrib/lib/hlp/images/next.gif
vmware-tools-distrib/lib/hlp/images/nextx.gif
vmware-tools-distrib/lib/hlp/images/prev.gif
vmware-tools-distrib/lib/hlp/images/prevx.gif
vmware-tools-distrib/lib/hlp/images/toc.gif
vmware-tools-distrib/lib/hlp/images/tocx.gif
vmware-tools-distrib/lib/hlp/index.htm
vmware-tools-distrib/lib/hlp/ix.htm
vmware-tools-distrib/lib/hlp/toc.htm
vmware-tools-distrib/lib/hlp/tools_about.htm
vmware-tools-distrib/lib/hlp/tools_controlpanel.htm
vmware-tools-distrib/lib/hlp/tools_devices.htm
vmware-tools-distrib/lib/hlp/tools_intro.htm
vmware-tools-distrib/lib/hlp/tools_options.htm
vmware-tools-distrib/lib/hlp/tools_scripts.htm
vmware-tools-distrib/lib/hlp/tools_service.htm
vmware-tools-distrib/lib/hlp/tools_shrink.htm
vmware-tools-distrib/lib/lib32/
vmware-tools-distrib/lib/lib32/libglib-1.2.so.0/
vmware-tools-distrib/lib/lib32/libglib-1.2.so.0/LICENSE
vmware-tools-distrib/lib/lib32/libglib-1.2.so.0/COPYRIGHT
vmware-tools-distrib/lib/lib32/libglib-1.2.so.0/libglib-1.2.so.0
vmware-tools-distrib/lib/lib32/libgmodule-1.2.so.0/
vmware-tools-distrib/lib/lib32/libgmodule-1.2.so.0/LICENSE
vmware-tools-distrib/lib/lib32/libgmodule-1.2.so.0/COPYRIGHT
vmware-tools-distrib/lib/lib32/libgmodule-1.2.so.0/libgmodule-1.2.so.0
vmware-tools-distrib/lib/lib32/libgdk-1.2.so.0/
vmware-tools-distrib/lib/lib32/libgdk-1.2.so.0/LICENSE
vmware-tools-distrib/lib/lib32/libgdk-1.2.so.0/COPYRIGHT
vmware-tools-distrib/lib/lib32/libgdk-1.2.so.0/libgdk-1.2.so.0
vmware-tools-distrib/lib/lib32/libgtk-1.2.so.0/
vmware-tools-distrib/lib/lib32/libgtk-1.2.so.0/LICENSE
vmware-tools-distrib/lib/lib32/libgtk-1.2.so.0/COPYRIGHT
vmware-tools-distrib/lib/lib32/libgtk-1.2.so.0/libgtk-1.2.so.0
vmware-tools-distrib/lib/lib32/libXrender.so.1/
vmware-tools-distrib/lib/lib32/libXrender.so.1/libXrender.so.1
vmware-tools-distrib/lib/lib32/libvmGuestLib.so
vmware-tools-distrib/lib/lib32/libvmGuestLibJava.so
vmware-tools-distrib/lib/lib64/
vmware-tools-distrib/lib/lib64/libglib-1.2.so.0/
vmware-tools-distrib/lib/lib64/libglib-1.2.so.0/LICENSE
vmware-tools-distrib/lib/lib64/libglib-1.2.so.0/COPYRIGHT
vmware-tools-distrib/lib/lib64/libglib-1.2.so.0/libglib-1.2.so.0
vmware-tools-distrib/lib/lib64/libgmodule-1.2.so.0/
vmware-tools-distrib/lib/lib64/libgmodule-1.2.so.0/LICENSE
vmware-tools-distrib/lib/lib64/libgmodule-1.2.so.0/COPYRIGHT
vmware-tools-distrib/lib/lib64/libgmodule-1.2.so.0/libgmodule-1.2.so.0
vmware-tools-distrib/lib/lib64/libgdk-1.2.so.0/
vmware-tools-distrib/lib/lib64/libgdk-1.2.so.0/LICENSE
vmware-tools-distrib/lib/lib64/libgdk-1.2.so.0/COPYRIGHT
vmware-tools-distrib/lib/lib64/libgdk-1.2.so.0/libgdk-1.2.so.0
vmware-tools-distrib/lib/lib64/libgtk-1.2.so.0/
vmware-tools-distrib/lib/lib64/libgtk-1.2.so.0/LICENSE
vmware-tools-distrib/lib/lib64/libgtk-1.2.so.0/COPYRIGHT
vmware-tools-distrib/lib/lib64/libgtk-1.2.so.0/libgtk-1.2.so.0
vmware-tools-distrib/lib/lib64/libXrender.so.1/
vmware-tools-distrib/lib/lib64/libXrender.so.1/libXrender.so.1
vmware-tools-distrib/lib/sbin32/
vmware-tools-distrib/lib/sbin32/vmware-guestd
vmware-tools-distrib/lib/sbin32/vmware-checkvm
vmware-tools-distrib/lib/sbin32/vmware-tools-upgrader
vmware-tools-distrib/lib/sbin32/vmware-hgfsmounter
vmware-tools-distrib/lib/sbin32/vmware-vmdesched
vmware-tools-distrib/lib/sbin64/
vmware-tools-distrib/lib/sbin64/vmware-guestd
vmware-tools-distrib/lib/sbin64/vmware-checkvm
vmware-tools-distrib/lib/sbin64/vmware-tools-upgrader
vmware-tools-distrib/lib/sbin64/vmware-hgfsmounter
vmware-tools-distrib/lib/sbin64/vmware-vmdesched
vmware-tools-distrib/lib/vmware-vmci/
vmware-tools-distrib/lib/vmware-vmci/lib/
vmware-tools-distrib/lib/vmware-vmci/lib/libvmci.so.0.0.0
vmware-tools-distrib/lib/vmware-vmci/lib/libvmci.so.0
vmware-tools-distrib/lib/vmware-vmci/lib/libvmci.so
vmware-tools-distrib/lib/vmware-vmci/lib64/
vmware-tools-distrib/lib/vmware-vmci/lib64/libvmci.so.0.0.0
vmware-tools-distrib/lib/vmware-vmci/lib64/libvmci.so.0
vmware-tools-distrib/lib/vmware-vmci/lib64/libvmci.so
vmware-tools-distrib/lib/vmware-vmci/include/
vmware-tools-distrib/lib/vmware-vmci/include/vmci/
vmware-tools-distrib/lib/vmware-vmci/include/vmci/vmci_defs.h
vmware-tools-distrib/lib/vmware-vmci/include/vmci/vmci_call_defs.h
vmware-tools-distrib/lib/vmware-vmci/include/vmci/vm_basic_types.h
vmware-tools-distrib/lib/vmware-vmci/include/vmci/vmcilib.h
vmware-tools-distrib/bin/
vmware-tools-distrib/bin/vmware-uninstall-tools.pl
vmware-tools-distrib/bin/vmware-config-tools.pl
vmware-tools-distrib/bin/vm-support
vmware-tools-distrib/etc/
vmware-tools-distrib/etc/not_configured
vmware-tools-distrib/etc/tpvmlp.conf
vmware-tools-distrib/etc/installer.sh
vmware-tools-distrib/etc/poweron-vm-default
vmware-tools-distrib/etc/resume-vm-default
vmware-tools-distrib/etc/suspend-vm-default
vmware-tools-distrib/etc/poweroff-vm-default
vmware-tools-distrib/vmware-install.pl
vmware-tools-distrib/doc/
vmware-tools-distrib/doc/README
vmware-tools-distrib/doc/vmware-vmci/
vmware-tools-distrib/doc/vmware-vmci/samples/
vmware-tools-distrib/doc/vmware-vmci/samples/README
vmware-tools-distrib/doc/vmware-vmci/samples/datagramApp.c
vmware-tools-distrib/doc/vmware-vmci/samples/sharedMemApp.c
vmware-tools-distrib/doc/INSTALL
vmware-tools-distrib/installer/
vmware-tools-distrib/installer/services.sh
vmware-tools-distrib/INSTALL
vmware-tools-distrib/FILES
tony@tony-ubuntu:/tmp$ cd vmware-tools-distrib
tony@tony-ubuntu:/tmp/vmware-tools-distrib$ sudo ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.  This may take from several minutes to over an hour
depending upon its size.
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] y
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] y
The installation of VMware Tools 6.0.0 build-45731 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] y
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] y
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.22-14-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.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /tmp/vmware-config0/vmmemctl-only/os.o
  SHIPPED /tmp/vmware-config0/vmmemctl-only/vmmemctl1.o
  LD [M]  /tmp/vmware-config0/vmmemctl-only/vmmemctl.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: could not find /tmp/vmware-config0/vmmemctl-only/.vmmemctl1.o.cmd for /tmp/vmware-config0/vmmemctl-only/vmmemctl1.o
  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.22-14-generic'
cp -f vmmemctl.ko ./../vmmemctl.o
make: Leaving directory `/tmp/vmware-config0/vmmemctl-only'
The module loads perfectly in the running kernel.
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.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-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/dbllnklst.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/eventManager.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/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/rpcin.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.22-14-generic'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'
Unable to make a vmhgfs module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vmhgfs.o': -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.
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                34308  0
Unloading pcnet32 module
Extracting the sources of the vmxnet module.
Building the vmxnet module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmxnet-only'
make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /tmp/vmware-config1/vmxnet-only/vmxnet.o
/tmp/vmware-config1/vmxnet-only/vmxnet.c: In function ‘vmxnet_tx’:
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1220: error: ‘struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1222: error: ‘struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1223: error: ‘struct sk_buff’ has no member named ‘h’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1226: error: ‘struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1367: error: ‘struct sk_buff’ has no member named ‘h’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1367: error: ‘struct sk_buff’ has no member named ‘h’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1367: error: ‘struct sk_buff’ has no member named ‘h’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1367: error: ‘struct sk_buff’ has no member named ‘h’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1367: error: ‘struct sk_buff’ has no member named ‘h’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1367: error: ‘struct sk_buff’ has no member named ‘h’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1368: error: ‘struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1368: error: ‘struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1368: error: ‘struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1368: error: ‘struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1445: error: ‘struct sk_buff’ has no member named ‘h’
/tmp/vmware-config1/vmxnet-only/vmxnet.c:1446: error: ‘struct sk_buff’ has no member named ‘h’
make[2]: *** [/tmp/vmware-config1/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmxnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [vmxnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/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 ]
Extracting the sources of the vmblock module.
Building the vmblock module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmblock-only'
make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/block.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/control.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/dbllnklst.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/dentry.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/file.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/filesystem.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/inode.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/module.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/stubs.o
  CC [M]  /tmp/vmware-config2/vmblock-only/linux/super.o
  LD [M]  /tmp/vmware-config2/vmblock-only/vmblock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config2/vmblock-only/vmblock.mod.o
  LD [M]  /tmp/vmware-config2/vmblock-only/vmblock.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
cp -f vmblock.ko ./../vmblock.o
make: Leaving directory `/tmp/vmware-config2/vmblock-only'
The module loads perfectly in the running kernel.
[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] y
Extracting the sources of the vmci module.
Building the vmci module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmci-only'
make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /tmp/vmware-config2/vmci-only/dbllnklst.o
  CC [M]  /tmp/vmware-config2/vmci-only/kernelStubsLinux.o
  CC [M]  /tmp/vmware-config2/vmci-only/vmciDatagram.o
  CC [M]  /tmp/vmware-config2/vmci-only/vmci_drv.o
  CC [M]  /tmp/vmware-config2/vmci-only/vmciProcess.o
  CC [M]  /tmp/vmware-config2/vmci-only/vmciResource.o
  CC [M]  /tmp/vmware-config2/vmci-only/vmciSharedMemory.o
  CC [M]  /tmp/vmware-config2/vmci-only/vmciTest.o
  CC [M]  /tmp/vmware-config2/vmci-only/vmciUtil.o
  LD [M]  /tmp/vmware-config2/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config2/vmci-only/vmci.mod.o
  LD [M]  /tmp/vmware-config2/vmci-only/vmci.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
cp -f vmci.ko ./../vmci.o
make: Leaving directory `/tmp/vmware-config2/vmci-only'
The module loads perfectly in the running kernel.
Detected X.org version 1.3.
No drivers for X.org version: 1.3.
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:
[3] 5
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   Guest memory manager:                                               done
   New Host-Guest communications path:                                 done
   Blocking file system:                                               done
   DMA setup:                                                          done
   Guest operating system daemon:                                      done
The configuration of VMware Tools 6.0.0 build-45731 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.
If you wish to configure any experimental features, please run the following
command: "vmware-config-tools.pl --experimental".
Enjoy,
--the VMware team
tony@tony-ubuntu:/tmp/vmware-tools-distrib$
补充:
系統 > 管理 > Synaptic > 搜尋 (依名稱搜尋)
vmware-tools-kernel-modules
找到打勾標記為安裝, 套用
這是Ubuntu最重要的東西, 幾乎所有的軟體都可以從這裡裝, 兩三個滑鼠鍵就裝完
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值