VirtualBox

Changes between Version 15 and Version 16 of Build instructions


Ignore:
Timestamp:
Dec 2, 2006 8:03:58 AM (17 years ago)
Author:
jose
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Build instructions

    v15 v16  
    1111== Linux hosts ==
    1212
    13 We at InnoTek mostly use [http://www.gentoo.org Gentoo], so the following build instructions apply to that environment. Things should not be much different for other distributions though. If you want to supply build instructions (especially package names) for other distributions, please contact InnoTek.
     13While we try to not favor any distribution, we only build with certain distributions. This includes Debian, Ubuntu, Gentoo and Red Hat Enterprise Linux. Things should not be much different for other distributions though. If you want to supply specific build instructions (especially package names) for other distributions, please contact InnoTek.
    1414
    1515=== Prerequisites on Linux ===
     
    1717You need:
    1818
    19  * GCC 3.2.3 or later (when using GCC 4.x, some precompiled objects will be used for the recompiler as they require GCC 3.x)
     19 * GCC 3.2.3 or later (when using GCC 4.x, some precompiled objects will be used for the recompiler as they currently require GCC 3.x)
    2020 * as86 (real mode assembler)
    2121 * bcc (Bruce Evans C Compiler)
     
    2626 * Qt 3.3.x (with x >= 5 if possible)
    2727 * libIDL
    28  * Relatively recent WINE (!VirtualBox uses some Win32 executables during the build process)
    29  * Java (http://java.sun.com/j2se/1.5.0/download.jsp)
     28 * Relatively recent WINE (!VirtualBox uses some Win32 executables during the build process but this is optional)
    3029 * libSDL (with sdl-ttf)
    3130 * Optional: Doxygen 1.4+
     
    4342=== Building on Linux ===
    4443
    45  1. Change to the root directory of the sources and enter our build shell environment: `tools/env.sh`.
     44 1. Change to the root directory of the sources and execute the configure script: `./configure`. If it finds everything it needs, it will create a file called 'Config.kmkconf' containing paths to the various tools on your system. Also, it will create an environment setup script called `configure.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).
    4645
    47  2. To build a release package, type `kmk BUILD_TYPE=release all packing`. This produces the installation package `out/linux/release/bin/VirtualBox.run`.
     46 2. Whenever you want to build !VirtualBox, you have to open a shell and source the generated environment setup script 'configure.sh', i.e. do
     47{{{
     48. ./configure.sh
     49}}}
    4850
    49  3. To install this package on your system, run it (as the superuser). So, for example, `cd out/linux/release/bin` and `sudo sh VirtualBox.run install`.
     51 3. To build a release package, type `kmk all packing`. This produces the installation package `out/linux/release/bin/VirtualBox.run`. (If you want to build a debug version, type `kmk BUILD_TYPE=debug all packing`.)
     52
     53 4. To install this package on your system, run it (as the superuser). So, for example, `cd out/linux/release/bin` and `sudo sh VirtualBox.run install`.
    5054
    5155=== Running your installed build on Linux ===
    5256
    53 The command sequence outlined above installs !VirtualBox in `/opt/VirtualBox-<version>` and the Linux kernel module in `lib/modules`. A shell script wrapper is put in `/usr/bin/VirtualBox`, so you should be able to run `VirtualBox` from everywhere. You will need to load the Linux kernel module before running `VirtualBox`, so a `modprobe vboxdrv` will also be necessary.
     57The command sequence outlined above installs !VirtualBox in `/opt/VirtualBox-<version>` and the Linux kernel module in `lib/modules`. A shell script wrapper called `VBox.sh` will be installed and symlinked to from `/usr/bin/VirtualBox` (and other symlinks), so you should be able to run `VirtualBox` from everywhere. You will need to load the Linux kernel module before running `VirtualBox`, so a `modprobe vboxdrv` will also be necessary.
    5458
    5559== Windows hosts ==
     
    6165 * DirectX SDK (http://www.microsoft.com/downloads/details.aspx?familyid=C72D9F1E-53F3-4747-8490-6801D8E8B4EF&displaylang=en)
    6266 * MingW GCC v3.3.x or v3.4.x with matching binutils, runtime, and w32api (http://www.mingw.org/download.shtml).
    63  * Java (http://java.sun.com/j2se/1.5.0/download.jsp), runtime is sufficient (is this actually required for OSE?)
     67To create the installation package:
    6468 * .NET, version 2.0 recommended
     69 * Microsoft Windows Installer XML (WiX) toolkit: http://sourceforge.net/projects/wix/
     70 * Microsoft Driver Installation Framework Tools (DIFx): http://www.microsoft.com/whdc/driver/install/DIFxtls.mspx
    6571
    6672=== Building on Windows ===

© 2023 Oracle
ContactPrivacy policyTerms of Use