Category: General

If you get the 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

You need to compile

 mount /dev/cdrom /mnt/
    cd /mnt/
    rpm --install VMwareTools-4.0.0-261974.i386.rpm
   

/usr/bin/vmware-config-tools.pl

yum install gcc
yum install make
yum install kernel-dev*

Path to gcc:
/usr/bin/gcc

Path to Kernel header files:

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

Make sure installed kernel matches the above by doing a yum update kernel

If you have new Linux kernel e.g; "2.6.32-279.22.1.el6.x86_64" then use the following kernel header file and keep saying 'Yes' for everything:
/lib/modules/2.6.32-279.22.1.el6.x86_64/build/include/ 

To check your linux kernal version, Use the following command:
uname -r

Linux

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count: