Hi all, I've been using debian fora while now and am trying to get my motherboard temperature sensors working using lm_sensors.
I have installed the kernel source package, i2c-2.8.0 package and the lm-sensors package
I'm running the stock 2.4.22-k6 kernel from sid and am following this howto http://myrddin.org/howto/debian-lmsensors.html to try and get the packages created.
At the moment I am getting stuck compiling the i2c package.
Using the command in the HOWTO make-kpkg --added-modules i2c modules_install
I get Error: Unknown target modules_install use --targets to display help on valid targets.
So I tried make-kpkg --added-modules i2c modules_image
which gives output shown at the base of this mail. The important bit that is stopping me is
dh_installdocs -a README TODO IMPORTANT_CHANGES doc/* dh_installdocs: command returned error code 11
Can anyone explain what a code 11 is?
Thanks in advance
Glyn
---------------Output--------------------------------
make-kpkg --added-modules i2c modules_image for module in /usr/src/modules/i2c ; do \ if test -d $module; then \ (cd $module; \ if ./debian/rules KVERS="2.4.22" KSRC="/usr/src/linux" \ KMAINT="Unknown Kernel Package Maintainer" KEMAIL="[EMAIL PROTECTED]" \ KPKG_DEST_DIR="/usr/src/linux/.." \ KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \ KDREV="10.00.Custom" kdist_image; then \ echo "Module $module processed fine"; \ else \ echo "Module $module failed."; \ echo "Hit return to Continue"; \ read ans; \ fi; \ ); \ fi; \ done make[1]: Entering directory `/usr/src/modules/i2c' /usr/bin/make -w -f debian/rules binary-modules make[2]: Entering directory `/usr/src/modules/i2c' dh_testdir /usr/bin/make LINUX=/usr/src/linux MODPREF=/lib/modules/2.4.22 make[3]: Entering directory `/usr/src/modules/i2c' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/modules/i2c' dh_testdir dh_testroot # Set up control file with proper modules version in it. sed -e 's/#KVERS#/2.4.22/g' -e 's/#KDREV#/10.00.Custom/' \ debian/control.modules debian/control.per-mod > debian/control dh_clean -a -k # And set up files so debhelper can find them. ln -sf i2c-modules.modules debian/i2c-2.4.22.modules /usr/bin/make install DESTDIR=debian/i2c-2.4.22 \ LINUX=/usr/src/linux MODPREF=/lib/modules/2.4.22 make[3]: Entering directory `/usr/src/modules/i2c' if [ -n " kernel/i2c-core.o kernel/i2c-dev.o kernel/i2c-algo-bit.o kernel/i2c-algo-biths.o kernel/i2c-philips-par.o kernel/i2c-elv.o kernel/i2c-velleman.o kernel/i2c-algo-pcf.o kernel/i2c-proc.o kernel/i2c-pport.o" ] ; then \ mkdir -p debian/i2c-2.4.22/lib/modules/2.4.22/kernel/drivers/i2c ; \ install -o root -g root -m 644 kernel/i2c-core.o kernel/i2c-dev.o kernel/i2c-algo-bit.o kernel/i2c-algo-biths.o kernel/i2c-philips-par.o kernel/i2c-elv.o kernel/i2c-velleman.o kernel/i2c-algo-pcf.o kernel/i2c-proc.o kernel/i2c-pport.o debian/i2c-2.4.22/lib/modules/2.4.22/kernel/drivers/i2c ; \ for i in kernel/i2c-core.o kernel/i2c-dev.o kernel/i2c-algo-bit.o kernel/i2c-algo-biths.o kernel/i2c-philips-par.o kernel/i2c-elv.o kernel/i2c-velleman.o kernel/i2c-algo-pcf.o kernel/i2c-proc.o kernel/i2c-pport.o ; do \ rm -f debian/i2c-2.4.22/lib/modules/2.4.22/misc/`basename $i` debian/i2c-2.4.22/lib/modules/2.4.22/misc/`basename $i`.gz debian/i2c-2.4.22/lib/modules/2.4.22/kernel/drivers/i2c/`basename $i`.gz ; \ done ; \ for i in i2c-elektor.o i2c-pcf-epp.o ; do \ rm -f debian/i2c-2.4.22/lib/modules/2.4.22/misc/`basename $i` debian/i2c-2.4.22/lib/modules/2.4.22/misc/`basename $i`.gz debian/i2c-2.4.22/lib/modules/2.4.22/kernel/drivers/i2c/`basename $i` debian/i2c-2.4.22/lib/modules/2.4.22/kernel/drivers/i2c/`basename $i`.gz ; \ done ; \ rmdir debian/i2c-2.4.22/lib/modules/2.4.22/misc 2> /dev/null || true ; \ fi if [ -n " kernel/i2c.h kernel/i2c-id.h kernel/i2c-dev.h kernel/i2c-algo-bit.h kernel/i2c-algo-biths.h kernel/i2c-algo-pcf.h kernel/i2c-proc.h" ] ; then \ mkdir -p debian/i2c-2.4.22/usr/local/include/linux ; \ install -o root -g root -m 644 kernel/i2c.h kernel/i2c-id.h kernel/i2c-dev.h kernel/i2c-algo-bit.h kernel/i2c-algo-biths.h kernel/i2c-algo-pcf.h kernel/i2c-proc.h debian/i2c-2.4.22/usr/local/include/linux ; \ fi make[3]: Leaving directory `/usr/src/modules/i2c' # Now, clean up after that: rm -rf debian/i2c-2.4.22/usr/local mv debian/i2c-2.4.22/lib/modules/2.4.22/kernel/drivers/i2c \ debian/i2c-2.4.22/lib/modules/2.4.22/i2c rm -rf debian/i2c-2.4.22/lib/modules/2.4.22/kernel dh_installdocs -a README TODO IMPORTANT_CHANGES doc/* dh_installdocs: command returned error code 11 make[2]: *** [binary-modules] Error 1 make[2]: Leaving directory `/usr/src/modules/i2c' make[1]: *** [kdist_image] Error 2 make[1]: Leaving directory `/usr/src/modules/i2c' Module /usr/src/modules/i2c failed. Hit return to Continue
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]