Unable to install VIrtualbox, `"Specify KERN_DIR=<ディレクトリ>"` -- Debian に Virtual Box をインストールするには?
このようなエラーが出ています。
Makefile:181. ** Error: unable to find the sources of your current Linux kernel. KERN_DIR=を指定して、再度Makeを実行。停止。
基本的にやってるよ。
$ sudo /etc/init.d/vboxdrv setup
Removing existing VirtualBox non-DKMS kernel modules [OK]
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-devel-2.6.32-573.18.1.el6.x86_64
Building the main Guest Additions module [FAILED]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
そして、エラーは以下の通り。** Error: unable to find the sources of your current Linux kernel. KERN_DIR=を指定して、再度Makeを実行。Stop
このエラーは何なの?