Building Headless, Hardened, Packaged Virtualbox for OS X

Discussions related to using the OSE version of VirtualBox.

Building Headless, Hardened, Packaged Virtualbox for OS X

Postby lachlanmackenzie » 19. Nov 2014, 14:56

Hi, I'm trying to build Virtualbox as headless, hardened and with packaging, but I'm coming up against dependency issues which suggest that this might not be possible.

The build commands are as follows:

./configure --disable-docs --disable-opengl --build-headless
. ./env.sh
kmk
kmk packing

and LocalConfig.kmk has the following added:

VBOX_HEADLESS = 1
VBOX_WITHOUT_ADDITIONS = 1
VBOX_WITHOUT_DOCS = 1
VBOX_OSE = 1
VBOX_WITH_INSTALLER = 1
VBOX_PATH_APP_PRIVATE = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS"
VBOX_PATH_APP_PRIVATE_ARCH = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS"
VBOX_PATH_SHARED_LIBS = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS"
VBOX_PATH_APP_DOCS = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS"
VBOX_WITH_TESTSUITE=
VBOX_WITH_TESTCASES=

When I try to build there seem to be dependencies on graphical components, which is strange given that I'm trying to build headless without opengl.

DevVGA.cpp:5932: error: 'struct VGAState' has no member named 'IVBVACallbacks'.

Building without hardening and packing is fine so I'm wondering if there is an implicit dependency on building a "headed" version for hardening and packaging builds.

Any help would be appreciated.
lachlanmackenzie
 
Posts: 1
Joined: 18. Nov 2014, 18:27

Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest