VirtualBox

Changes between Version 53 and Version 54 of Mac OS X build instructions


Ignore:
Timestamp:
Mar 29, 2010 10:09:47 AM (14 years ago)
Author:
Christian Pötzsch
Comment:

added info about universal MacPorts flag and --target-arch flag

Legend:

Unmodified
Added
Removed
Modified
  • Mac OS X build instructions

    v53 v54  
    55== Prerequisites on Mac OS X ==
    66
    7  * Mac OS X 10.4.x (Tiger), 10.5.x (Leopard) or 10.6.x (Snow Leopard) running on Intel hardware (PowerPC hardware is '''not''' supported).
     7 * Mac OS X 10.4.x (Tiger), 10.5.x (Leopard) or 10.6.x (Snow Leopard) running on Intel hardware (PowerPC hardware is '''not''' supported). Please note that Tiger support was dropped with the 3.1 release.
    88
    99 * Xcode matching your Mac OS X version (http://developer.apple.com/tools/download/):
     
    1818export MANPATH=/opt/local/share/man:$MANPATH
    1919}}}
     20 On Snow Leopard !MacPorts combiles in 64 bit mode by default. Although this is no general problem, it might be a good idea to enable the '''universal''' flag as default. Therefor add +universal to /opt/local/etc/macports/variants.conf, before building anything.
     21
    2022 Then perform the following command:
    2123{{{
     
    4042./configure --disable-hardening
    4143}}}
    42     If it finds everything it needs, it will create a file called '!AutoConfig.kmk' containing paths to the various tools on your system. Also, it will create an environment setup script called env.sh. This step only has to be done once (if something changes in your build tool setup, you might have to repeat it but keep in mind that both output files will be overwritten). For additional options like providing a path to the OpenSSL library see './configure --help'.
    43  1. Whenever you want to build !VirtualBox, you have to open a shell and source the generated environment setup script 'env.sh', i.e. do
     44 You can manually set the target architecture with --target-arch=x86 or amd64, if some architecture related problems occur.
     45
     46 If it finds everything it needs, it will create a file called '!AutoConfig.kmk' containing paths to the various tools on your system. Also, it will create an environment setup script called env.sh. This step only has to be done once (if something changes in your build tool setup, you might have to repeat it but keep in mind that both output files will be overwritten). For additional options like providing a path to the OpenSSL library see './configure --help'.
     47 2. Whenever you want to build !VirtualBox, you have to open a shell and source the generated environment setup script 'env.sh', i.e. do
    4448{{{
    4549. ./env.sh
    4650}}}
    4751
    48  1. To build type
     52 3. To build type
    4953{{{
    5054kmk

© 2023 Oracle
ContactPrivacy policyTerms of Use