[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using lm-sensors



I'm not sure if it's significant, but I noticed a few errors toward
the end of the build that look as if the current scripts still have a
few places where they ignore the settings for the actual location of
the kernel files.  I noticed some earlier reports about this, though I
believe they said that the latest version (.3) fixed it up.

I built using kernel-package and setting
 export MODULE_LOC=/usr/local/src/modules
The actual tree was in $MODULE_LOC/lm-sensors/.

Here's the tail end of the build log from fakeroot make-kpkg
modules_image.  It's the No such file or directory errors a few lines
down that concern me, not only by their presence but by the paths they
report:

dh_builddeb --destdir=/usr/local/src/kernel-source-2.4.7/..
dpkg-deb: building package `lm-sensors-2.4.7' in `/usr/local/src/kernel-source-2.4.7/../lm-sensors-2.4.7_2.6.0-3+rb.2_i386.deb'.
dh_testdir
dh_testroot
/usr/bin/make clean COMPILE_KERNEL=0
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
make[2]: Entering directory `/usr/local/src/modules/lm-sensors'
rm -f mkpatch/.temp
rm -f lib/*.ld lib/*.ad
rm -f lib/*.lo lib/*.ao
rm -f lib/libsensors.a lib/libsensors.so.1.2.0 lib/libsensors.so.1 lib/libsensors.so lib/conf-parse.h lib/conf-parse.c lib/conf-lex.c
rm -f prog/sensors/*.rd prog/sensors/*.ro 
rm -f prog/sensors/sensors
rm -f prog/sensord/*.rd prog/sensord/*.ro 
rm -f prog/sensord/sensord
rm -f prog/dump/*.rd prog/dump/*.ro prog/dump/isadump prog/dump/i2cdump prog/dump/i2cset
rm -f prog/detect/*.rd prog/detect/*.ro prog/detect/i2cdetect
rm -f lm_sensors-*
make[2]: Leaving directory `/usr/local/src/modules/lm-sensors'
mv -f debian/control.save debian/control
rm -rf debian/modules
dh_clean debian/lm-sensors-2.4.7.*
# The dependancies take care of building the module package.
make[1]: Leaving directory `/usr/local/src/modules/lm-sensors'
Module /usr/local/src/modules/lm-sensors processed fine
ross@wheat:/usr/local/src/kernel-source-2.4.7$ 

---------------------------------------
Previous correspondence, with the build steps
> 
> RB> My current thinking about the proper steps:
> RB> apt-get remove lm-sensors
> 
> (Shouldn't be necessary)
I skipped this step.
> 
> RB> apt-get install lm-sensors-source i2c-source
> RB> untar, establish links and environment variables to get those two
> RB> modules where I actually
> RB>                   have my kernel  modules
> 
> The modules *should* show up in the right place when you install the
> package (under /lib/modules/$(KVERS)).
> 
> RB> make-kpkg clean
> RB> disable i2c in kernel configuration
fakeroot make-kpkg --revision=rb.2 kernel_image
fakeroot make-kpkg modules_image



Reply to: