This is the way I build VirtualBox OSE from SVN and install. Notice that this is the hardened version and must be installed before it will work.
If you want to build using the "./configure --disable-hardening" you will need to add additional symlinks indicated in the VirtualBox master build instructions above.
If you install this on an Debian Squeeze host, you will have a fully functional Bleeding edge VirtualBox-OSE. If you install it on a Debian Squeeze guest you will still have a copy of VirtualBox but will not be able to actually install a guest due to not being able to run a virtualizer in another virtualizer.
Packages needed to compile VirtualBox
Code: Select all
apt-get install dkms build-essential linux-headers-$(uname -r) gcc g++ bcc iasl xsltproc uuid-dev zlib1g-dev libidl-dev libsdl1.2-dev libxcursor-dev libasound2-dev libpulse-dev libxml2-dev libxslt1-dev libqt4-dev qt4-dev-tools libcap-dev libxmu-dev mesa-common-dev libglu1-mesa-dev libcurl4-openssl-dev libpam0g-dev libqt4-opengl-dev libc6-dev-i386 lib32gcc1 gcc-multilib lib32stdc++6 g++-multilib libstdc++6 libxinerama-dev libxrandr-dev makeself default-jdk texlive-full curl gsoap yasm subversion python-dev java-common doxygen libgtk2.0-dev libdevmapper-dev libvpx-dev libssl-dev libvncserver0 libvncserver-dev
Run the code
Code: Select all
cd ~/virtualbox
svn co http://www.virtualbox.org/svn/vbox/trunk vbox
cd vbox
./configure
source ./env.sh
kmk all
cd ~/virtualbox/vbox/out/linux.amd64/release/bin/src
make
sudo make install
cd ~/virtualbox/vbox/src/VBox
kmk packing
cp ~/virtualbox/vbox/out/linux.amd64/release/bin/VirtualBox-4.*.*_OSE-r*.run ~/
cd ~/
sudo ./VirtualBox-4.*.*_OSE-r*.run install