So I lost a few hours of my life today trying to set up a folder share between a Windows 7 host machine running VMWare workstation 11.0 and an Ubuntu guest machine.
I went through the following steps to link a new created shared windows folder .
After restarting the VM I ran the default wmware-config tools, accepting all the defaults
and ended up with the following compile time error from the vmhgfs module
“The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution’s installation CD.
[ Press Enter key to continue ] “
After a lot hunting around I finally discovered that this was a known problem with older versions VMWares tooling , not sure how I managed to recreate it but for what its worth here are the steps to fix the problem
(1)Ensure that latest Workstation 11 is installed.
$sudo apt-get remove open-vm-tools
(3) Check for any missing package updates
$sudo apt-get update
(4) Grab the following source
$sudo git clone https://github.com/rasa/vmware-tools-patches.git
(5) Untar & Patch !
$cd vmware-tools-patches $sudo ./download-tools.sh $sudo ./compile.sh
your shared folder should appear under the following directory