Running on vSphere 4.1, I installed a VM with Fedora 12 on it (Kernel version: 2.6.32.21-168.fc12.x86_64) and when I tried to install VMware Tools, I kept getting an error at the step that said:
“What is the location of the directory of C header files that match your running kernel?”
There are countless posts around the internet with people looking for help with this.
I searched and searched online but could not find a solution that worked for me, until I came across this site, which I followed and it worked perfectly!
http://www.crazyhawt.com/2010/01/25/quick-guide-installing-vmware-tools-with-fedora-12/
The steps are copied below for reference (from the above site).
- Download Fedora 12.
- Install the OS.
- Boot up the virtual machine.
- Open up the Terminal.
- Run “su” and type your root password to gain administrative control.
- Run “yum update” to update all the packages to the newest version.
- Reboot.
- Open up the Terminal.
- Run “yum install kernel-devel kernel-headers gcc mkinitrd”
- Reboot.
- Click the menu option in your VMware application to install VMware tools. This should put a compressed folder on the desktop.
- Expand the zip file and using the terminal, navigate into the newly created directory.
- As the root user, type “./vmware-install.pl”
- When it asks you questions and prompts you for a response, just hit enter. Everything should be properly configured at this point.
- Reboot when the script finishes. That’s it!