无法安装虚拟盒,`"指定KERN_DIR=<目录>"`--安装虚拟盒到Debian?
我得到了这个错误。
Makefile:181: *** ******错误:无法找到当前Linux内核的来源。指定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)
错误是:
Makefile:181: *** ******错误:无法找到当前Linux内核的源代码。指定KERN\_DIR= 然后再运行Make。停止
这个错误是什么,如何解决?