Jarry schreef:
> <OT>
> 
> Is it possible to install lm_sensors with gentoo-kernel too

Yes, it is.
> 
> I tried with gentoo-sources, but got this error:
> 
> _________________________________________________________ *
> Determining the location of the kernel source code * Found kernel
> source directory: *     /usr/src/linux * Found sources for kernel
> version: *     2.6.15-gentoo-r1
> 
> * getfilevar requires 2 variables, with the second a valid file. *
> getfilevar <VARIABLE> <CONFIGFILE> * Could not find a usable .config
> in the kernel source directory. * Please ensure that /usr/src/linux
> points to a configured set of Linux sources. * If you are using
> KBUILD_OUTPUT, please set the environment var so that * it points to
> the necessary object directory so that it might find .config.
> 
> !!! ERROR: sys-apps/lm_sensors-2.9.2 failed. !!! Function
> linux-info_pkg_setup, Line 537, Exitcode 1 !!! Unable to calculate
> Linux Kernel version !!! If you need support, post the topmost build
> error, NOT this status message. 
> ____________________________________________________________

This error means that your /usr/src/linux symlink points to unconfigured
kernel sources. Many, if not all, external packages that compile against
the kernel have this requirement.

You don't have to make (compile) or install the kernel *right now*
(although you will obviously want to do that asap), but you do have to
run some type of config (make menuconfig, make xconfig, whatever) and
save a configuration with proper support for the sensors before
lm_sensors will compile the modules.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to