欢迎来到天天文库
浏览记录
ID:8835423
大小:23.00 KB
页数:3页
时间:2018-04-09
《编译安装virtualbox总结》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、在ubuntu下编译安装virtualbox总结by:夏超俊第一步:下载源码包,并解压,得到VirtualBox-4.1.4_OSE文件夹第二步:搭建编译环境:1.所需要的依赖条件:·GCC3.3.3orlater(exceptfortheGCC4.0.xseries).GCC4.4.1isrecommended.·as86(realmodeassembler,usuallypartofthedev86orbin86package.)·bcc(BruceEvansCCompiler;oftenpartofthe
2、dev86package)Note:ThebcccompilercontainedinopenSUSE10.2aspartofdev86-0.16.0-218isknowntogeneratebrokencode.Unfortunately,bcc-visnotsupported.·IASL(IntelACPIcompiler)·xsltproc(libxslt,XMLstylesheetprocessor)·libxml2(requiredforVBoxversion>=1.6,XMLfilehandling
3、)·libxslt1(requiredforVBoxversion>=1.6,XMLfiletransformation)·libXcursor(requiredtosupportcolormousepointersintheguest)·libxinerama·librandr·Qt4.x.y(withx>=4,includingtheOpenGLpart,requiredforVBoxversion>3.0)·libIDL·libSDL(SDLfrontend)·ALSA(audiobackend)·Pul
4、seAudio(audiobackend)·libhal(detecthostfloppy/DVD)·libcap(CAP_NET_RAWforICMPsocketsinNAT)·libpam0g(PAMsupportfortheguestadditions,requiredforVBoxversion>=3.2)·python2.5orpython2.6(Pythonbindings)·gsoap(webserviceAPI,version2.7.9forhigher)·Xmu(forOpenGL)·Mesa
5、(forOpenGL)·cURL(version7.16.1orhigher,requiredforVBoxversion>=3.0)·makeself(forcreatingthegenericinstallerpackage,requiredforVBoxversion>=4.0)On64-bitsystemsyouneedthefollowingpackagesaswell:·ia32-libs(variouslibrariesneededforcompilingthe32-bitguestadditio
6、ns)·libc6-dev-i386(libc6i386developmentheaders)·lib32gcc1(gccsupportfori386)·gcc-multilib(gccsupportfori386)·lib32stdc++6(libstdc++fori386)·g++-multilib(g++supportfori386)2.安装依赖的包:apt-getinstallgccg++bcciaslxsltprocuuid-devzlib1g-devlibidl-devlibsdl1.2-devl
7、ibxcursor-devlibasound2-devlibstdc++5(libstdc++5没成功)libhal-devlibpulse-devlibxml2-devlibxslt1-devpython2.5-dev(没成功)libqt4-devqt4-dev-toolslibcap-devlibxmu-devmesa-common-devlibglu1-mesa-devlinux-kernel-headerslibcurl4-openssl-devlibpam0g-devlibxrandr-de
8、vlibxinerama-devlibqt4-opengl-devmakeself用该命令之后,可能有几个包没有安装成功,需要根据后面configure的提示结合网络资料解决。第三步:Building1.到解压出的文件夹的根目录下:运行:./configure–disble-hardening–disable-java–disable-docs(这个选项很重要,不这样就有很多问题)co
此文档下载收益归作者所有