VMware tools cannot find gcc path at install Zentyal

 

The path is not a valid path to the GCC libraries

sudo apt-get update && sudo apt-get install build-essential linux-headers-$(uname -r)

 

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h 

 

The path is not a valid path to the Kernel headers

 

cd /lib/modules/$(uname -r)/build/include/linux 
sudo ln -s ../generated/utsrelease.h 
sudo ln -s ../generated/autoconf.h 
sudo ln -s ../generated/uapi/linux/version.h 

Then use the path below, if the vmware-install.pl does not detect the path of the Kernel headers

/usr/src/linux-headers-$(uname -r)/include

 

 

Mounting the VMWare tools image

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1022525

 

Creds:

http://askubuntu.com/questions/40979/what-is-the-path-to-the-kernel-headers-so-i-can-install-vmware

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1022525