Compilation of VMWare-tools on Ubuntu Hardy
After installing VMWare server on Ubuntu 8:04 we will certainly want to get inside even VMWare-tools, ie instruments that allow us a doubt the most intense use of our virtual machine.
Here's the procedure:
- sudo apt-get install build-essential linux-headers-$ (uname-r);
- tar-xzf VMwareTools-1.0.6-91891.tar.gz;
- cd vmware-tools-distrib /
- sudo. / vmware-install.pl
But your experience with these tools might be frustrating if there was help in this post that explains how to work around 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 file included from include / linux / string.h: 11,
from / tmp/vmware-config0/vmhgfs-only/cpName.h: 18
from / tmp/vmware-config0/vmhgfs-only/cpName.c: 18:
include / 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 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 module vmhgfs.
The problem was solved on the forum vmware simply using open-vmware-tools to build the kernel module and then install vmware-tools normally (sudo. / Vmware-install.pl):
- 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 i in *; do mv $ (i) $ (i)-only; tar-cf $ (i). tar $ (i)-only; done
- cd ../../../
- mv-f open-vm-tools-* / modules / linux / *. tar vmware-tools-distrib/lib/modules/source /
- cd vmware-tools-distrib /
- sudo. / vmware-install.pl
Now everything is OK!
Related posts ...
New rails 2.1 by Mad on June 3rd, 2008
.
Wallpapoz by Mad on April 21st, 2008
Wallpapoz is an 'application for Gnome that allows you to configure desktop wallpapers in unique way.
Samsung sgh U700 evo, hsdpa and ubuntu hardy by Mad on June 1st, 2008
My Connections summer, because moving from 'habitual residence for some years, availed themselves of modem Gprs / Umts.
Kde 4.1 's development ... by Mad on May 30th, 2008
Kde 4.
Do you like my desktop? By Mad on May 27th, 2008
Change style to your desktop is an activity that many consider puerile (with a touch of snobbism in my opinion), but I consider that a good exercise for relaxation, among other things to enjoy a pleasant view helps both the concentration of 'user that of 'utonto, vulgarly said.
If the site is to your liking subscribers subscribing to the free RSS Feed. Thanks for visiting!














12 August 2008 at 1:42 pm
Thank you!
--
MC
31 October 2008 at 4:56 pm
Well done. Thank you very much.
21 June 2009 at 7:29 pm
Ottimo anche x me. fat! But I had to also install the package "libx11-dev", because I gave the error "guestAppPosixX11.c: 38:22: error: X11/Xlib.h: No such file or directory" and blocked the completion ...