Re: Up to date Sid: Custom kernel, trying to install Virtualbox
Just out of curiosity why are you not using KVM? It is better, faster,
and integrated with the kernel. virt-manager is more than capable tool
for provisioning VM's.
On 13 March 2013 12:57, Curt Howland <Howland@priss.com> wrote:
> 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-
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] CAGY8_s1cjNX81iQx6pDhbJLwPA6XmD3r6bg7f4NpZX0i320Lfg@mail.gmail.com">http://lists.debian.org/[🔎] CAGY8_s1cjNX81iQx6pDhbJLwPA6XmD3r6bg7f4NpZX0i320Lfg@mail.gmail.com
>
Reply to: