1 |
Jarry schreef: |
2 |
> <OT> |
3 |
> |
4 |
> Is it possible to install lm_sensors with gentoo-kernel too |
5 |
|
6 |
Yes, it is. |
7 |
> |
8 |
> I tried with gentoo-sources, but got this error: |
9 |
> |
10 |
> _________________________________________________________ * |
11 |
> Determining the location of the kernel source code * Found kernel |
12 |
> source directory: * /usr/src/linux * Found sources for kernel |
13 |
> version: * 2.6.15-gentoo-r1 |
14 |
> |
15 |
> * getfilevar requires 2 variables, with the second a valid file. * |
16 |
> getfilevar <VARIABLE> <CONFIGFILE> * Could not find a usable .config |
17 |
> in the kernel source directory. * Please ensure that /usr/src/linux |
18 |
> points to a configured set of Linux sources. * If you are using |
19 |
> KBUILD_OUTPUT, please set the environment var so that * it points to |
20 |
> the necessary object directory so that it might find .config. |
21 |
> |
22 |
> !!! ERROR: sys-apps/lm_sensors-2.9.2 failed. !!! Function |
23 |
> linux-info_pkg_setup, Line 537, Exitcode 1 !!! Unable to calculate |
24 |
> Linux Kernel version !!! If you need support, post the topmost build |
25 |
> error, NOT this status message. |
26 |
> ____________________________________________________________ |
27 |
|
28 |
This error means that your /usr/src/linux symlink points to unconfigured |
29 |
kernel sources. Many, if not all, external packages that compile against |
30 |
the kernel have this requirement. |
31 |
|
32 |
You don't have to make (compile) or install the kernel *right now* |
33 |
(although you will obviously want to do that asap), but you do have to |
34 |
run some type of config (make menuconfig, make xconfig, whatever) and |
35 |
save a configuration with proper support for the sensors before |
36 |
lm_sensors will compile the modules. |
37 |
|
38 |
HTH, |
39 |
Holly |
40 |
-- |
41 |
gentoo-user@g.o mailing list |