續: 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
留言