續: http://ssorc.tw/?p=1089

如果在執行 ./VBoxLinuxAdditions-x86.run 後

看到

Verifying archive integrity… All good.
Uncompressing VirtualBox 3.1.6 Guest Additions for Linux……..
VirtualBox Guest Additions installer
Removing installed version of VirtualBox Guest Additions…
Building the VirtualBox Guest Additions kernel modules     [失敗]
(Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong)
Installing the Window System drivers

可以查看 /var/log/vboxadd-install.log記錄訊息,得知原來沒有裝

/usr/src/kernels/2.6.9-89.33.1.EL-i686/scripts/gcc-version.sh: line 11: gcc: command not found

所以只要 yum install gcc 即可

ps: 也要記得裝 kernel-devel

Related posts 相關文章
VirtualBox 釋出 7 版,可以有虛擬 TPM 直接安裝 Windows 11
More...
VirtualBox 與 Hyper-V 備註
More...
Virtualbox 遇到 IO Cache 問題
More...
使用 VirtualBox 遇到子機為 CentOS 5 時讓母機 CPU 過高
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。