Cannot compile the VBox kernel on Debian Lenny.
Posted: 6. Jul 2008, 12:55
Hello.
Yesterday I've installed the latest VBox using the .deb package from the Sun download site. Unfortunately, the installation finishes, but the VBox kernel driver cannot compile.
This is the message the log file contains;
I did search the web to find a solution, to end up installing make, automake, gcc and binutils. Unfortunately I couldn't install kernel-devel, as apt-get couldn't find it. Neither I did find a package for it.
I also did "export KERN_DIR=/usr/src/" in an effort to point VBox to my kernel, but it failed.
Can anyone help me with this? What I could try myself is already done, now I'm in the confused state.

Yesterday I've installed the latest VBox using the .deb package from the Sun download site. Unfortunately, the installation finishes, but the VBox kernel driver cannot compile.
This is the message the log file contains;
Code: Select all
Makefile:127: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.I also did "export KERN_DIR=/usr/src/" in an effort to point VBox to my kernel, but it failed.
Can anyone help me with this? What I could try myself is already done, now I'm in the confused state.