Changes between Version 81 and Version 82 of Mac OS X build instructions
- Timestamp:
- Dec 31, 2019 5:38:20 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Mac OS X build instructions
v81 v82 3 3 == Prerequisites on Mac OS X == 4 4 5 * 10. 6.x (Snow Leopard), 10.7.x (Lion), 10.8.x (Mt. Lion), 10.9.x (Mavericks) or 10.10.x (Yosemite) running on Intel hardware (PowerPC hardware is '''not''' supported). [[BR]]Please note that building a X11 variant of !VirtualBox on Mac OS X is not supported.5 * 10.10.x (Yosemite) or later running on Intel hardware (PowerPC hardware is '''not''' supported nor is building an X11 variant). 6 6 7 * Xcode matching your Mac OS X version (http://developer.apple.com/tools/download/): 8 * 3.2.0 or later for Snow Leopard 9 * 4.1.x for Lion and later (4.2 and later will not work!) You may use tools/darwin.x86/bin/xcode-4.1-extrator.sh to 'install' the necessary bits on later OS X versions. 7 * Xcode matching your Mac OS X version (http://developer.apple.com/tools/download/). Until recently the official builds were done using Xcode 6.2 (you may use the tools/darwin.amd64/bin/xcode-6.2-extractor.sh script to 'install' the necessary bits on later OS X versions). 10 8 11 9 * Some things from !MacPorts (http://www.macports.org/). [[BR]] 12 After installing !MacPorts, do not forget to add the following two lines to your `~/.profile`10 After installing !MacPorts, do not forget to make sure the following two lines are in your `~/.profile` or `~/.zprofile` file and actually loaded in the shell you're using: 13 11 {{{ 14 12 export PATH=/opt/local/bin:/opt/local/sbin:$PATH … … 17 15 18 16 Then perform the following command: [[BR]] 19 for < Snow Leopard20 17 {{{ 21 sudo port install libidl doxygen texlive texlive-latex-extra texlive-fonts-extra cdrtools 22 }}} 23 for >= Snow Leopard (32 Bit) 24 {{{ 25 sudo port install libidl +universal doxygen texlive texlive-latex-extra texlive-fonts-extra cdrtools 18 sudo port install libidl doxygen texlive texlive-latex-extra texlive-fonts-extra acpica 26 19 }}} 27 20 28 21 Doxygen and texlive* are optional. 29 On 10.5 you may need a newer OpenSSL version than the one provided by the system. If so, perform:22 You may need a newer OpenSSL version than the one provided by the system. If so, perform: 30 23 {{{ 31 24 sudo port install openssl 32 25 }}} 33 26 34 * Qt/Mac (http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x) [[BR]] 35 Carbon 4.4.x upwards for Tiger[[BR]] 36 Cocoa 4.5.x upwards for Leopard/Snow Leopard/Lion[[BR]] 27 * Qt/Mac 5.6 or later (http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x) [[BR]] 37 28 38 29 * LaTeX ("sudo port install texlive texlive-fonts-extra texlive-latex-extra texlive-latex-recommended") for building the documentation 39 30 40 == Some words on 32bit vs. 64bit host operation systems ==41 42 Starting with 10.6 Mac OS X is available in 64bit mode and with 10.7 most graphical application runs in 64bit mode. However, we have to distinct between the user and the kernel space. As !VirtualBox is using its own kernel extensions, it has to be build and run in a version which match the kernel variant. You can check the current kernel mode by executing `uname -m`. If this shows `i386` it runs in 32bit and if it shows `x86_64` it runs the 64bit kernel. For switching between these modes on boot (on supported hardware) see [https://support.apple.com/kb/ht3773 this kb article]. If the build system doesn't correct detect the right kernel mode, you can use `--target-arch=` to overwrite it. Please also note that !VirtualBox can execute 64bit guest operation systems, even when itself is 32bit.43 31 44 32 == Building !VirtualBox ==