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.12/VirtualBox-4.2.12.tar.bz2[/link] tar -xjf VirtualBox-4.2.12.tar.bz2 cd VirtualBox-4.2.12 # 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 --nofatal source ./env.sh echo 'VBOX_WITH_PAM=' >> Config.kmk # Disable PAM support+dependency, unless you use PAM echo 'VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox' > LocalConfig.kmk echo 'VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH)' >> LocalConfig.kmk echo 'VBOX_WITH_ORIGIN :=' >> LocalConfig.kmk echo 'VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH)' >> LocalConfig.kmk echo 'VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox' >> LocalConfig.kmk echo 'VBOX_PATH_APP_DOCS := /usr/share/doc/virtualbox' >> LocalConfig.kmk kmk # Doesn't mind -j# # Install cp -r out/*/release/bin /usr/lib/virtualbox chown -R 0.0 /usr/lib/virtualbox chmod +s /usr/lib/virtualbox/VirtualBox /usr/lib/virtualbox/VBoxManage /usr/lib/virtualbox/VBoxHeadless /usr/lib/virtualbox/VBoxTunctl ln -s ../lib/virtualbox/VirtualBox ../lib/virtualbox/VBoxManage ../lib/virtualbox/VBoxHeadless /usr/bin install out/*/release/bin/virtualbox.desktop /usr/share/applications cp -r out/linux.x86/release/bin/icons/. /usr/share/icons/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