Up to date Sid: Custom kernel, trying to install Virtualbox
Good evening. Up-to-date Sid, 32 bit.
I've been trying to install VirtualBox, both from the Sid main
archives and the Oracle
virtualbox-4.2_4.2.8-83876~Debian~wheezy_i386.deb package.
Both give the same error, that the kernel module cannot be built
because the kernel source tree cannot be found.
I'm running a self-compiled 3.6.5, and /usr/src/linux-3.6.5 exists.
How do I tell DKMS that the source for linux kernel 3.6.5 is
/usr/src/linux-3.6.5/ ?
The /var/log/vboxinstall.log says,
=====
Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.2.8/source ->
/usr/src/vboxhost-4.2.8
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:181: *** Error: unable to find the sources of your current
Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
=====
I've tried to set "KERN_DIR=/usr/src/linux-3.6.5" and it doesn't seem
to be making it into whatever DKMS is using for its build since it
gives the same error every time.
Has anyone else solved this?
Curt-
Reply to: