Jonathan Daugherty <[EMAIL PROTECTED]> writes:
JD> I'd like to install a wm app on my box, but I need the lm_sensors
JD> modules to be installed.  I got the source, built the debs, and
JD> install them all, but now I can't find the lm_sensors modules
JD> they're referring to.  Can anyone help me get this set up?

What exactly did you do?  The current approved way to build lm-sensors
kernel modules is to acquire a kernel source tree (possibly via a
Debian kernel-source package, possibly by downloading source from
somewhere else) and install the kernel-package and lm-sensors-source
packages.  Run 'make-kpkg modules_image' from the top-level directory
of the kernel source tree (either as root or with fakeroot).  This
will create a Debian package with the modules in the directory above
the one where the source is unpacked; install that package.

There are surely other ways to build the modules without
kernel-package.  It'd probably suffice, for example, to install
lm-sensors-source and build a package out of the resulting source tree 
with KSRC and KVERS environment variables set to point to the top of
the kernel source tree and to the kernel version number,
respectively.  Or manually invoke the top-level Makefile of either
what lm-sensors-source installs or of the source package with
appropriate options.  These are (IMHO) more trouble and more work, but 
possible.

If you download the lm-sensors source and unpack and build it using
normal Debian package-building techniques, you won't get kernel
modules.  This is because building doesn't necessarily require that
kernel source/headers are installed, and because there are just too
many combinations currently to make trying to build even vaguely
sensible.

Also note that the version of lm-sensors-source in testing has a lot
of issues; the version in unstable (currently will bubble into testing 
in four days) seems to work much better.  (Like, it actually builds
something, and doesn't try to dump the resulting package in / if
you're using a current kernel-package.)

-- 
David Maze         [EMAIL PROTECTED]      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
        -- Abra Mitchell

Reply via email to