Compilation of VMWare-tools on Ubuntu Hardy
After to have installed VMWare serveur on Ubuntu 8,04 it comes to you sure wants to put to us within also VMWare-tools, ovverosia those instruments that us undoubtedly concur a more intense use of our virtual machine.
Here the procedure:
- I sudo apt-get install build-essential linux-headers-$ (uname - r);
- tar - xzf VMwareTools-1.0.6-91891.tar.gz;
- cd vmware-tools-distrib/
- I sudo ./vmware-install.pl
However your experience with these instruments would risk to being frustrating if this did not come you in aid post that it explains like obviating to the error:
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmhgfs-only'
make - C /lib/modules/2.6.24-19-server/build/include/. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make [1]: Entering directory `/usr/src/linux-headers-2.6.24-19-server'
CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
In rows included from it includes/linux/string.h: 11,
from /tmp/vmware-config0/vmhgfs-only/cpName.h: 18,
from /tmp/vmware-config0/vmhgfs-only/cpName.c: 18:
it includes/linux/types.h: 40: error: conflicting types for `uintptr_t'
/tmp/vmware-config0/vmhgfs-only/vm_basic_types.h: 161: error: previous declaration of `uintptr_t' was to here
make [2]: *** [/tmp/vmware-config0/vmhgfs-only/cpName.o] Error 1
make [1]: *** [_module_/tmp/vmware-config0/vmhgfs-only] Error 2
make [1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-server'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'
Unable to build the vmhgfs module.
The problem has been resolved on the forum of vmware simply using open-vmware-tools in order to create the module of the kernel normally and successively installing vmware-tools (sudo ./vmware-install.pl):
- I sudo apt-get install libproc-dev libdumbnet-dev libicu-dev;
- wget http://mesh.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.07.01-102166.tar.gz;
- tar - xzf open-vm-tools-*.tar.gz
- cd open-vm-tools-*
- ./configure - without-x
- make
- cd modules/linux
- for in *; I give to mv $ {i} $ {i} - only; tar - cf $ {} .tar $ {the} - only; done
- cd ../../../
- mv - f open-vm-tools-*/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/
- cd vmware-tools-distrib/
- I sudo ./vmware-install.pl
Now it is all OK!
Post correlated…
Something that hardy it does not know to make by Mad on June 12th, 2008
After to be be long insenced, ours hardy heron, cucciolo of Canonical house, eccolo ready to receive some critic under form of a little one but annoying bug that an easy and fast management of the cellular ones prevents.
Update of the guide installation and configuration of VirtualBox by Mad on June 12th, 2008
I have carried out update of the guide.
Ubuntu/Debian, vulnerability in Openssl by Mad on June 16th, 2008
Here ready on a silver plate a beautiful security bug for Debian and derived in openssl.
New rails 2,1 by Mad on June 3rd, 2008
.
You want to measure… by Mad on June 24th, 2008
You have wish to measure the speed of your logon of net? Wished to see as time the data come memorizzati in rows? There is.





















12 August 2008 to the 1:42 pm
Thanks!
-
MC