root@ubuntu:/home/srfisk/vm/vmware-tools-distrib# ./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
Stopping services for vmware-tools-thinprint
vmware-tools-thinprint stop/waiting
File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.3.
update-initramfs: Generating /boot/initrd.img-3.16.0-30-generic
The removal of VMware Tools 9.6.4 build-2441333 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]
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 9.6.4 build-2441333 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 vmci has already been installed on this system by another installer
or package and will not be modified by this installer.
The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.
The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.
The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.
The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes]
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...
Detected the kernel headers at "/lib/modules/3.16.0-30-generic/build/include".
The path "/lib/modules/3.16.0-30-generic/build/include" appears to be a valid
path to the 3.16.0-30-generic kernel headers.
Would you like to change it? [no]
Using 2.6.x kernel build system.
make: Entering directory `/tmp/modconfig-L5vuQE/vmhgfs-only'
/usr/bin/make -C /lib/modules/3.16.0-30-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-30-generic'
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/backdoor.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/backdoorGcc64.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/bdhandler.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/cpName.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/cpNameLite.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/dentry.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/dir.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/file.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/filesystem.o
CC [M] /tmp/modconfig-L5vuQE/vmhgfs-only/fsutil.o
/tmp/modconfig-L5vuQE/vmhgfs-only/file.c: In function ‘HgfsAioRead’:
/tmp/modconfig-L5vuQE/vmhgfs-only/file.c:791:4: error: implicit declaration of function ‘generic_file_aio_read’ [-Werror=implicit-function-declaration]
result = generic_file_aio_read(iocb, iov, numSegs, offset);
^
/tmp/modconfig-L5vuQE/vmhgfs-only/file.c: In function ‘HgfsAioWrite’:
/tmp/modconfig-L5vuQE/vmhgfs-only/file.c:863:4: error: implicit declaration of function ‘generic_file_aio_write’ [-Werror=implicit-function-declaration]
result = generic_file_aio_write(iocb, iov, numSegs, offset);
^
cc1: some warnings being treated as errors
make[2]: *** [/tmp/modconfig-L5vuQE/vmhgfs-only/file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/tmp/modconfig-L5vuQE/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.16.0-30-generic'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/modconfig-L5vuQE/vmhgfs-only'
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 ] ^C
Execution aborted.