centOS6.6 64bitでVirtualBox Guest Additionsを入れようとしたとき以下のエラーが発生
[root@localhost cdrom]# sh ./VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 5.0.8 Guest Additions for Linux............ VirtualBox Guest Additions installer Removing installed version 5.0.8 of VirtualBox Guest Additions... Stopping VirtualBox Additions [ OK ] Removing existing VirtualBox non-DKMS kernel modules [ OK ] Copying additional installer modules ... Installing additional modules ... Removing existing VirtualBox non-DKMS kernel modules [ OK ] Building the VirtualBox Guest Additions kernel modules Building the main Guest Additions module [失敗] (Look at /var/log/vboxadd-install.log to find out what went wrong) Doing non-kernel setup of the Guest Additions [ OK ] Installing the Window System drivers Could not find the X.Org or XFree86 Window System, skipping.
/var/log/vboxadd-install.logを確認 てっきりkernel-develのエラーだと思って、その周りを探していたら
端っこに
perlのコマンドがありません
と書いてあり
yum install -y perl
してから再び試したら出来ました。
perlも必要のようです。