On the account I don’t do the process often, I thought it might be a good idea to document the process of what packages I need to install into Ubuntu Linux Guests so that VMware Tools will compile without error.
Follow the steps below and you’ll be able to copy the VMware Tools tar/gzip archive to your host, extract it and then run the vmware-install.pl
Determine the linux kernel version, using uname -a. Make note of the release.
Then install the following packages; (assuming the kernel version from the uname -a is 2.6.27-7-generic)
apt-get install linux-headers-2.6.27=7-generic linux-source-2.6.27 gcc make psmisc