Which version of FreeBSD is this on? Is the system source present in /usr/src?
On what version of FreeBSD? And did you update the ports tree beforehand?
Yes, VirtualBox requires a kernel module (emulators/virtualbox-ose-kmod) and if you install from ports it needs the sources in /usr/src to compile. The handbook really should mention this but doesn't.Do I need /usr/src ?
Welcome to FreeBSD 11.0-CURRENT. Currently there seem to be problems with VirtualBox: https://lists.freebsd.org/pipermail/freebsd-current/2016-March/059909.htmlI have just done a complete re-install of FreeBSD using FreeBSD 11.0, so maybe I shouldn't expect it to build. I installed the ports tree yesterday.
Yes, VirtualBox requires a kernel module (emulators/virtualbox-ose-kmod) and if you install from ports it needs the sources in /usr/src to compile. The handbook really should mention this but doesn't.