Can't compile Virtual Box on Mac OS X El Capitan
|Reported by:||Enclle||Owned by:|
|Guest type:||all||Host type:||Mac OS X|
I made the Virtual Box source code checkout (svn ....), then I followed the instructions to build Virtual Box on Mac OS X (as from here: https://www.virtualbox.org/wiki/Mac%20OS%20X%20build%20instructions ), but the configure has instructions for older versions only, so it can't "detect" the new version, so I modified the configure and "hardcoded" the "detection" of 10.15, the path to Xcode and the MacOSX10.11.sdk path, and added the path to the openssl lib with --with-openssl-dir=..., then the configure script executed ok, but when I executed kmk command, there was no kmk executable, so I made a checkout of the source code as instructed here http://trac.netlabs.org/kbuild/wiki/Download, but I had trouble compiling it, so I downloaded the source code of Virtual Box (VirtualBox-5.0.2.tar.bz2), extracted, modified the configure file, executed it, then issued kmk, and it failed saying that I had not a compatible Xcode, then I edited the Config.kmk, "hardcoded" the Xcode version (7.2), executed it again, then it started building, but failed because it was not able to figure out the compilers (wanted the gcc ones version 4.2).
Please, someone there update a Mac machine to OS X El Capitan and Xcode to 7.2 version and update the kbuild files to deal with Xcode 7.2. Also, Xcode now has multiples platforms sdks, so the path to the Mac OS X Sdk is now a bit longer.