VirtualBox

Changes between Version 39 and Version 40 of Solaris build instructions


Ignore:
Timestamp:
May 26, 2011 10:10:57 AM (14 years ago)
Author:
Ramshankar Venkataraman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Solaris build instructions

    v39 v40  
    6262== Building !VirtualBox ==
    6363
    64  1. Change to the root directory of the sources and execute the configure script: `./configure --disable-hardening`. 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).
     64 1. Change to the VirtualBox root directory of the sources and execute the configure script:
     65{{{
     66`./configure --disable-hardening`
     67}}}
     68
     69 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).
    6570
    6671 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
     
    6974}}}
    7075
    71  3. To build a release package, type `kmk all`. This produces the required binaries in `out/solaris.x86/release/bin/`. (If you want to build a debug version, type `kmk BUILD_TYPE=debug`.)
     76 3. To build a release package, type
     77{{{
     78kmk all
     79}}}
     80 This produces the required binaries in `out/solaris.x86/release/bin/`. If you want to build a debug version, type:
     81{{{
     82kmk BUILD_TYPE=debug
     83}}}
    7284
     854. If you made a hardened build (that is, you omitted the --disable-hardened switch from configure) you have to set some symbolic links manually to be able to start VMs from the bin/ directory:
     86
     87{{{
     88cd out/solaris.amd64/release/bin/components
     89ln -s ../VBoxDDU.so .
     90ln -s ../VBoxREM.so .
     91ln -s ../VBoxRT.so .
     92ln -s ../VBoxVMM.so .
     93ln -s ../VBoxXPCOM.so .
     94}}}
    7395
    7496== Running your build ==
     
    95117The config script only (re)loads drivers that are found in the appropriate locations (don't forget to copy the ".conf" files).
    96118
     119If you made a ''hardened build'', make sure that the setuid stubs have the correct permissions:
     120{{{
     121for f in VirtualBox VBoxHeadless VBoxSDL VBoxBFE VBoxNetDHCP VBoxNetAdpCtl; do
     122  chown root.root $f
     123  chmod 4511 $f
     124done
     125}}}
     126
     127
    97128Finally, you can start one of the frontends, e.g.
    98129{{{

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette