Hyve.com - VMware Tools Error

Hyve.com - VMware Tools Error

We were recently installing vmware tools on CentOS 6.x on an old VSphere 4 cloud installation. We selected the VMXNet 3 network card for the virtual server.

To Install VMWare tools we ran the following commands:

mount /dev/cdrom /mnt/
cd /mnt/
rpm --install VMwareTools-4.0.0-261974.i386.rpm
/usr/bin/vmware-config-tools.pl

On installation of VMWare tools, we received the following error:

None of the pre-built vmhgfs modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmhgfs module for your system (you need to have a C compiler installed on your system

I thought I would share the solution with you.

Install the following via yum:

yum install gcc
yum install make
yum install kernel-dev*
Make sure installed kernel matches the above by doing a yum update kernel

Rerun vmware tools and choose the following when prompted:

Path to Kernel header files:

/usr/src/kernels/2.6.32-220.4.2.el6.x86_64/include/

Path to gcc:
/usr/bin/gcc

Thats it, not that complex. Let me know if you need any help with this or of we missed anything
Version history
Revision #:
1 of 1
Last update:
‎04-10-2012 04:35 AM
Updated by: