[vbox-dev] [PATCH] Enable vbox to build on FreeBSD HEAD

Frank Mehnert Frank.Mehnert at Sun.COM
Sun May 3 12:36:29 PDT 2009

On Sunday 03 May 2009, Cezary Morga wrote:
> Bernhard Fröhlich wrote:
> > Thanks, for the patches i've integrated it in the port we are currently
> > working on. The pmap_enter() already got MFCd in r189075 [0] so it's
> > needed for 7-stable too and builds fine now.
> >
> > Progress on the port is good as it already builds on amd64 and i386 on 7
> > and current.
> Well. I couldn't run VirtualBox on my FreeBSD machine. I get:
> Unknown -102 error during initialization of the Runtime
> and when compiled with debugging symbols I get :
> !!Assertion Failed!!
> Expression: g_szrtProcExePath[0] != '\0'
> Location  :
> /home/therek/svn/virtualbox/src/VBox/Runtime/r3/process.cpp(100) char*
> RTProcGetExecutableName(char*, size_t)
> Trace/BPT trap: 5

This happens usually if you starting a debug build (assertions are
disabled in a release build; debug builds are _much_ slower than
release builds) and /proc is not mounted. See 


function rtProcInitExePath().

> My machine:
> FreeBSD 7.1-STABLE FreeBSD 7.1-STABLE #0: Wed Feb 25 08:48:36 CET 2009
> As for the port you're mixing two different install locations (diff below).
> You should either put VirtualBox in typical library location or add
> ldconfig - m /usr/local/share/virtualbox.

Right, the binaries should be installed to ${PREFIX}/bin not ${PREFIX}/sbin.

> What about kernel module?

I can't speak for FreeBSD but for Linux we install the sources for the
kernel modules usually into /usr/share/virtualbox/src or to /usr/src/

Kind regards,

Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090503/5cf7facc/attachment-0001.bin 

More information about the vbox-dev mailing list