Gentoo Archives: gentoo-user

From: Jonas de Buhr <jonas.de.buhr@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] app-emulation/virtualbox-modules and kernel sources
Date: Thu, 10 Nov 2011 17:14:40
Message-Id: 20111110181306.6cf6ee0f@toxic.dbnet
1 Hello everyone!
2
3 virtualbox modules fails with the following
4
5 * Messages for package app-emulation/virtualbox-modules-4.1.4:
6
7 * Could not find a Makefile in the kernel source directory.
8 * Please ensure that /usr/src/linux points to a complete set of Linux
9 sources
10 * Unable to calculate Linux Kernel version for build, attempting to
11 use running version
12 * Could not find a usable .config in the kernel source directory.
13 * Please ensure that /usr/src/linux points to a configured set of
14 Linux sources.
15 * If you are using KBUILD_OUTPUT, please set the environment var so
16 that
17 * it points to the necessary object directory so that it might
18 find .config.
19 * ERROR: app-emulation/virtualbox-modules-4.1.4 failed (setup phase):
20 * Kernel not configured; no .config found in
21
22
23 # ls -l /usr/src/linux/.config
24 -rw-r--r-- 1 root root 77090 9. Okt 19:25 /usr/src/linux/.config
25
26 # ls -l /usr/src/
27 lrwxrwxrwx 1 root root 22 10. Nov 17:55 linux ->
28 linux-2.6.39-gentoo-r3
29 drwxr-xr-x 20 root root 4096 27. Okt 13:31 linux-2.6.39-gentoo-r3
30 drwxr-xr-x 23 root root 4096 20. Okt 15:14 linux-3.0.6-gentoo
31
32 # uname -a
33 Linux <hostname> 2.6.39-gentoo-r3 #5 SMP Sun Oct 9 19:25:51 CEST 2011
34 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel
35 GNU/Linux
36
37 i don't get it. does anybody know whats wrong?
38
39 thanks,
40 jonas

Replies

Subject Author
[gentoo-user] Re: app-emulation/virtualbox-modules and kernel sources Grant Edwards <grant.b.edwards@×××××.com>