Building VirtualBox 5 beta 3 on OSX 10.10 (Yosemite)

Discussions related to using the OSE version of VirtualBox.
Post Reply
arend_dittmer
Posts: 11
Joined: 30. Jan 2010, 23:36
Primary OS: MS Windows XP
VBox Version: OSE self-compiled
Guest OSses: Windows XP

Building VirtualBox 5 beta 3 on OSX 10.10 (Yosemite)

Post by arend_dittmer »

Great new features like encryption coming in VBox 5. Here are some comments on existing build instructions if you want to give it a try. You can also find this on https://www.mypocket7.com/building-virt ... -yosemite/

In conjunction with Building Virtualbox on OSX 10.9 (http://blog.wildducktheories.com/buildi ... -osx-10-9/) this document will enable you to build VirtualBox on OSX 10.10. Many thanks to Jon Seymour for posting his guide, the link to Xcode 4.1 and the corresponding extraction script. We built a beta of version 5 (Version 5.0.0_BETA3_OSE r55737) that we checked out with

Code: Select all

svn co http://www.virtualbox.org/svn/vbox/trunk vbox
We chose to install from the subversion repo as the configure script in the ‘stock’ version does not support the option –with-xcode-dir. Rather than regurgitate all the steps I just want to point out additional changes and steps we had to go through.

1. Install Homebrew as per http://brew.sh With homebrew installed you can then easily install qt and openssl with

Code: Select all

brew install openssl –build-from-source
brew install qt
2. We learned the hard way that the latest Java versions don’t work on 10.10. You can install them but any execution of the ‘java’ command will prompt you to start a new Java installation. You can get a version of Java that works on Yosemite from http://support.apple.com/kb/DL1572

3. You need to run

Code: Select all

sudo port install libidl +universal doxygen texlive texlive-latex-extra texlive-fonts-extra cdrtools
as per the official build instructions

4. We had to run

Code: Select all

sudo port install subversion
as we got a message from the build script: SVN: This client is too old to work with working copy

6. The configure script now has to be called with the option ‘–with-openssl-dir’ instead of '‘–with-openssl'

7. Change line 2132 in the configure script from

Code: Select all

if [ -d "$1" ]; then
to

Code: Select all

if [ -d "$WITH_XCODE_DIR" ]; then
8. With 10.10 kernel extensions can no longer be self signed. You need to enable loading of unsigned kernel extensions with

Code: Select all

sudo nvram boot-args=kext-dev-mode=1
and reboot

9. We started VirtualBox with sudo as we got error messages that VBoxDDU.dylib could not be loaded. This can probably fixed changing the paths with install_name_tool but we did not care to look into this as we just needed to start VirtualBox for our tests.
Post Reply