http://download.virtualbox.org/virtualbox
apt-get install gcc g++ bcc iasl xsltproc uuid-dev zlib1g-dev libidl-dev \
libsdl1.2-dev libxcursor-dev libasound2-dev libstdc++5 \
libhal-dev libpulse-dev libxml2-dev libxslt1-dev \
python-dev libqt4-dev qt4-dev-tools libcap-dev \
libxmu-dev mesa-common-dev libglu1-mesa-dev \
linux-kernel-headers libcurl4-openssl-dev libpam0g-dev \
libxrandr-dev libxinerama-dev libqt4-opengl-dev makeself \
libdevmapper-dev default-jdk python-central \
texlive-latex-base \
texlive-latex-extra texlive-latex-recommended \
texlive-fonts-extra texlive-fonts-recommended \
build-essential libvpx-dev liblzma-dev
x64:
apt-get install ia32-libs libc6-dev-i386 lib32gcc1 gcc-multilib \
lib32stdc++6 g++-multilib
./configure
source /home/jimmy/work/VirtualBox-4.3.6/env.sh
kmk all
cd ./out/linux.amd64/release/bin/src
make
sudo make install
cd ..
sudo modprobe vboxdrv
切換至root
輸入捷徑
ln -sf /home/jimmy/work/VirtualBox-4.3.6/out/linux.amd64/release/bin/ VirtualBox
lrwxrwxrwx 1 root root 62 Jan 30 12:20 VirtualBox -> /home/jimmy/work/VirtualBox-4.3.6/out/linux.amd64/release/bin/
改權限
chmod 700 -R VirtualBox-4.3.6/out/linux.amd64/release/bin/
./VirtualBox
兄台您好,我在kmk all之后没有生成 /out/linux.amd64/release/bin/src目录,只在/out/linux.amd64/release/bin/下生成了几个.so 文件,我的编译环境以及代码环境与兄台一致,请教是啥原因,谢谢
回覆刪除