While running the /usr/bin/vmware-config-tools.pl script during the VMware Tools installation, you might need to manually build the VMware Tools kernel modules on an Ubuntu guest. For example, if the guest does not have support for prebuilt kernel modules (PBMs), you will need to build them manually. PBMs are a collection of Linux drivers that facilitate optimal operation of the virtual machine.
If the /usr/bin/vmware-config-tools.pl script cannot locate prebuilt kernel modules for your guest, the following message appears:
None of the pre-built vmmemctl modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmmemctl module for your system (you need to have a C compiler installed on your system)? [yes]
Solution: Press Y to continue the install process.
If the /usr/bin/vmware-config-tools.pl script cannot find a C compiler program on your system, one of the following messages appears:
Solution: Run the apt-get install build-essential command to install the packages needed to build the kernel modules.
Solution: Provide the complete name of a binary 'make' file.
- Press Y to continue. The following message appears: What is the location of the 'make' program on your machine?
- Enter the complete name of a binary 'make' file. If you do not provide the complete name, the following message appears: The answer "<binary file name> is invalid. It must be the complete name of a binary file.
If the script cannot locate the C header files in the default directory, /usr/src/linux/include, the following message appears:
What is the location of the directory of C header files that match your running kernel?
Solution: In a terminal window, run the following commands to install the Linux C header files: