I noticed that VMware’s documentation on how to install VMware Tools on FreeBSD is badly broken, so here’s the way that I was able to install it.
Install perl5, compat6x
You’ll need to install the pre-requisites by doing the following:
cd /usr/ports/lang/perl5.20 && make install clean cd /usr/ports/misc/compat6x && make install clean
Add Perl Compatibility
Due to changes to FREEBSD rules, you need to run the following line
ln -s /usr/local/bin/perl /usr/bin/perl
Mount Tools and Installation
Next you’ll need to start the VMware Tools Installation on your FreeBSD VM from ESXi. Once that has been started, log into your FreeBSD VM, and run the following:
mkdir -p /cdrom mount -t cd9660 /dev/cd0 /cdrom cd /tmp tar zxpf /cdrom/vmware-freebsd-tools.tar.gz umount /cdrom cd vmware-tools-distrib ./vmware-install.pl
Once that is complete, you can stop the VMware Tools installation in ESXi, and ensure the ESXi sees the VMware Tools are Available and Current on the VM. Once that has been verified, you are finished!