I recently install my first copy of Ubuntu 13.04 Server into a vmware vm.
During the install of vmware tools i can across and issue with the kernel header files.
The error asks for the location of the kernel header files.
Here’s how i fixed it.
Firstly i needed to install the pre-req’s for vmware tools.
sudo apt-get install build-essential linux-headers-$(uname -r)
Then we need to make some links.
cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h
sudo ln -s ../generated/uapi/linux/version.h
Now you should be able to install vmware tools by just tapping enter.