Wiki home
Editing page "
VirtualBox
"
Base on previous version:
0
-
430
-
562
-
693
-
702
-
703
-
707
-
710
-
715
-
717
-
741
-
865
-
1495
-
1497
-
1513
-
1519
-
2076
-
2077
-
2081
-
2111
-
2115
-
2118
-
7533
# Warning: VirtualBox source ships with many blobs, these instructions try to remove and substitute them but may miss some # Note: depends on [pkg]mesa[/pkg] # Note: depends on [pkg]dev86[/pkg] # Note: depends on [pkg]libxml2[/pkg] # Note: depends on [pkg]libIDL[/pkg] # Note: depends on [pkg]libXmu[/pkg] # Note: depends on [pkg]neon[/pkg] (provides http-support for subversion) # Note: depends on [pkg]subversion[/pkg] # Note: depends on [pkg]acpica[/pkg] # Note: depends on [pkg]cdrtools[/pkg] # Note: depends on [pkg]SDL[/pkg] # Note: depends on [pkg]autoconf[/pkg] # Note: depends on [pkg]automake[/pkg] # Note: depends on [pkg]openssl[/pkg] # Note: depends on [pkg]curl[/pkg] # Note: depends on [pkg]libpng[/pkg] # Note: depends on [pkg]libXcursor[/pkg] # Note: depends on [pkg]libXinerama[/pkg] # Note: depends on [pkg]libXrandr[/pkg] # Note: depends on [pkg]glu[/pkg] # Note: depends on [pkg]pulseaudio[/pkg] # Note: depends on [pkg]alsa-lib[/pkg] # Note: depends on [pkg]libcap[/pkg] # Note: depends on [pkg]makeself[/pkg] # Note: depends on [pkg]yasm[/pkg] # Note: depends on [pkg]qt4[/pkg] wget -c [link]http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2.6.tar.bz2[/link] tar -xjf VirtualBox-4.2.6.tar.bz2 cd VirtualBox-4.2.6 # Clear out binary blobs rm -rf kBuild* rm -rf tools/*.*6* rm -rf src/libs/libxml2-2.6.31 rm -rf src/libs/kStuff/kStuff/kLdr/testcase/bin # Use the system's tools instead ln -s /usr tools/linux.x86 # Build specific kBuild version to replace the included blob ln -s kBuild_build/kBuild kBuild svn co -r 2680 http://svn.netlabs.org/repos/kbuild/trunk kBuild_build cd kBuild_build rm -rf kBuild/bin sed -i -e 's/-O3/-O2/' Config.kmk # Too much optimization triggers a bug kBuild/env.sh --full make -f bootstrap.gmk cd .. # Now build the actual virtualbox package ./configure --enable-webservice --disable-java --disable-hardening || ./configure --enable-webservice --disable-java --disable-hardening --disable-devmapper source env.sh echo 'VBOX_WITH_PAM=' >> Config.kmk # Disable PAM support+dependency, unless you use PAM kmk # TODO: install virtualbox # 'kmk install' seems to put things into a 'dist' directory in the source tree, but even that seems incomplete, not enough to just copy to /usr # for now it seems you'll have to launch it from the source directory as out/*/release/bin/VirtualBox # Kernel module: cd ./out/*/release/bin/src make make install
Change summary:
Tags allowed:
[pkg]name[/pkg]
Link to another package on the buildwiki by name
[link]URL[/link]
Link to an external page