Vmware Tools perl script is actually building the vmtools on your machine. First thing you need to do is update your system so you don’t get a module mismatch.
Once the system is updated reboot.
When the system comes back just add kernel headers by running
yum install kernel-devel
You can now run the vmware tools script again.