runyou@runyou-desktop:~/Desktop/vmware-tools-distrib$ sudo ./vmware-install.pl
Password:
A previous installation of VMware software has been detected.
The previous installation was made by the tar installer (version 3).
Keeping the tar3 installer database format.
Uninstalling the tar installation of VMware Tools.
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:-ne done
Guest filesystem driver:-ne done
The removal of VMware Tools 5.0.0 build-13124 for Linux completed successfully.
Thank you for having tried this software.
Installing the content of the package.
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 5.0.0 build-13124 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:-ne done
Guest filesystem driver:-ne done
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]
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.17-10-generic/build/include]
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.17-10-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
In file included from /tmp/vmware-config0/vmhgfs-only/vm_assert.h:29,
from /tmp/vmware-config0/vmhgfs-only/cpName.c:17:
/tmp/vmware-config0/vmhgfs-only/vm_basic_defs.h:208:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
In file included from /tmp/vmware-config0/vmhgfs-only/vm_assert.h:29,
from /tmp/vmware-config0/vmhgfs-only/cpNameLinux.c:13:
/tmp/vmware-config0/vmhgfs-only/vm_basic_defs.h:208:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config0/vmhgfs-only/dev.o
In file included from /tmp/vmware-config0/vmhgfs-only/vm_assert.h:29,
from /tmp/vmware-config0/vmhgfs-only/main.h:27,
from /tmp/vmware-config0/vmhgfs-only/dev.c:19:
/tmp/vmware-config0/vmhgfs-only/vm_basic_defs.h:208:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config0/vmhgfs-only/driver.o
In file included from /tmp/vmware-config0/vmhgfs-only/vm_assert.h:29,
from /tmp/vmware-config0/vmhgfs-only/main.h:27,
from /tmp/vmware-config0/vmhgfs-only/driver.c:15:
/tmp/vmware-config0/vmhgfs-only/vm_basic_defs.h:208:5: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmhgfs-only/driver.c:3962: warning: initialization from incompatible pointer type
CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsUtil.o
In file included from /tmp/vmware-config0/vmhgfs-only/vmware.h:24,
from /tmp/vmware-config0/vmhgfs-only/hgfsUtil.c:11:
/tmp/vmware-config0/vmhgfs-only/vm_basic_defs.h:208:5: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmhgfs-only/hgfsUtil.c:12:
/tmp/vmware-config0/vmhgfs-only/vm_basic_asm.h:48:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config0/vmhgfs-only/main.o
In file included from /tmp/vmware-config0/vmhgfs-only/vm_assert.h:29,
from /tmp/vmware-config0/vmhgfs-only/main.h:27,
from /tmp/vmware-config0/vmhgfs-only/main.c:26:
/tmp/vmware-config0/vmhgfs-only/vm_basic_defs.h:208:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config0/vmhgfs-only/staticEscape.o
In file included from /tmp/vmware-config0/vmhgfs-only/vm_assert.h:29,
from /tmp/vmware-config0/vmhgfs-only/staticEscape.c:15:
/tmp/vmware-config0/vmhgfs-only/vm_basic_defs.h:208:5: warning: "_MSC_VER" is not defined
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.o
Building modules, stage 2.
MODPOST
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.17-10-generic'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'
The module loads perfectly in the running kernel.
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.17-10-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /tmp/vmware-config0/vmxnet-only/vmxnet.o
In file included from /tmp/vmware-config0/vmxnet-only/vmxnet.c:34:
/tmp/vmware-config0/vmxnet-only/vm_version.h:58:8: warning: "VMX86_ALPHA" is not defined
/tmp/vmware-config0/vmxnet-only/vm_version.h:60:10: warning: "VMX86_BETA" is not defined
/tmp/vmware-config0/vmxnet-only/vm_version.h:66:10: warning: "VMX86_RELEASE" is not defined
/tmp/vmware-config0/vmxnet-only/vm_version.h:68:10: warning: "VMX86_OPT" is not defined
/tmp/vmware-config0/vmxnet-only/vm_version.h:70:10: warning: "VMX86_DEBUG" is not defined
Building modules, stage 2.
MODPOST
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.17-10-generic'
cp -f vmxnet.ko ./../vmxnet.o
make: Leaving directory `/tmp/vmware-config0/vmxnet-only'
The module loads perfectly in the running kernel.
Detected X.org version 7.1.
Problem extracting verion of X.org
Execution aborted.