On 17/04/07, Florian Kulzer <[EMAIL PROTECTED]> wrote:
On Tue, Apr 17, 2007 at 21:34:43 +0100, Emmanuele Massimi wrote: > Ok, thanks for your delucidation, I looked at both the lines, but I must > have skipped that word, in fact I couldn't tell the difference between the > two lines. I guess it's time to buy new glasses... > > Anyways, this is what I get when I run dpkg-reconfigure > wacom-kernel-source: > > /usr/sbin/dpkg-reconfigure: wacom-kernel-source is broken or not fully > installed Try dpkg-reconfigure --force wacom-kernel-source If anything goes wrong then please copy the complete output of this command into a mail and send it to the list.
Ok, I have used the --force flag and I went through the installation, which failed. Here is the output (I hope it's not too long): Building wacom modules for Linux 2.6.18-4-686 (this may take a few minutes)... dh_testdir dh_testroot rm -f *-stamp dh_clean dh_testdir dh_testroot /usr/bin/make clean; make[1]: Entering directory `/usr/src/modules/wacom' Making clean in src make[2]: Entering directory `/usr/src/modules/wacom/src' Making clean in 2.4 make[3]: Entering directory `/usr/src/modules/wacom/src/2.4' rm -f *.o core *.core make[3]: Leaving directory `/usr/src/modules/wacom/src/2.4' Making clean in wacomxi make[3]: Entering directory `/usr/src/modules/wacom/src/wacomxi' rm -rf .libs _libs test -z "" || rm -f rm -f *.o rm -f *.lo make[3]: Leaving directory `/usr/src/modules/wacom/src/wacomxi' Making clean in . make[3]: Entering directory `/usr/src/modules/wacom/src' test -z "libwacomcfg.la" || rm -f libwacomcfg.la rm -f "./so_locations" rm -rf .libs _libs rm -f *.o rm -f *.lo make[3]: Leaving directory `/usr/src/modules/wacom/src' make[2]: Leaving directory `/usr/src/modules/wacom/src' Making clean in . make[2]: Entering directory `/usr/src/modules/wacom' rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory `/usr/src/modules/wacom' make[1]: Leaving directory `/usr/src/modules/wacom' rm -f debian/wacom-kernel-modules-2.6.18-4-686.* debian/control ./configure --disable-libwacomxi \ --disable-wacomdrv \ --disable-libwacomcfg \ --disable-wacdump \ --disable-xidump \ --disable-xsetwacom \ --enable-wacom \ --with-kernel=/usr/src/linux/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gawk... (cached) mawk checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for arch type... i486-linux-gnu checking for kernel type... Linux checking for linux-based kernel... yes checking for valid kernel source tree... ok checking for kernel module versioning... yes *** *** WARNING: *** is not supported by this pachage *** Kernel modules will not be built *** no checking for valid Xorg SDK... "xf86Version.h missing" Tried /usr/include, /usr/include/xorg and /usr/xc/include checking for X... libraries , headers in standard search path checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for X lib directory... found checking for tclsh... /usr/bin/tclsh checking for tcl version... 8.4 checking for tcl header files... /usr/include/tcl8.4/ checking for tk header files... found checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking ncurses/ncurses.h usability... no checking ncurses/ncurses.h presence... no checking for ncurses/ncurses.h... no *** *** WARNING: *** The ncurses development library does not appear to be installed. *** The header file ncurses.h does not appear in the include path. *** Do you have the ncurses-devel rpm or equivalent package *** properly installed? Some build features will be unavailable. *** *** *** WARNING: *** Unable to compile wacom.o without kernel build environment *** wacom.o will not be built *** checking if gcc accepts -fno-merge-constants... yes configure: creating ./config.status config.status: creating Makefile config.status: creating mkxincludes config.status: creating src/Makefile config.status: creating src/2.4/Makefile config.status: creating src/2.4.22/Makefile config.status: creating src/2.4.28/Makefile config.status: creating src/2.6/Makefile config.status: creating src/2.6.8/Makefile config.status: creating src/2.6.9/Makefile config.status: creating src/2.6.10/Makefile config.status: creating src/2.6.11/Makefile config.status: creating src/2.6.13/Makefile config.status: creating src/2.6.14/Makefile config.status: creating src/2.6.15/Makefile config.status: creating src/2.6.16/Makefile config.status: creating src/wacomxi/Makefile config.status: creating src/wacomxi/wacomcpl config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands ---------------------------------------- BUILD ENVIRONMENT: architecture - i486-linux-gnu linux kernel - yes 2.4 module versioning - no kernel source - no /usr/src/linux/ Xorg SDK - no /usr XSERVER64 - no dlloader - yes XLib - yes /usr/lib TCL - yes /usr/include/tcl8.4/ TK - yes /usr/include/tcl8.4/ ncurses - no BUILD OPTIONS: wacom.o - no wacdump - no xidump - no libwacomcfg - no libwacomxi - no xsetwacom - no hid.o - no usbmouse.o - no evdev.o - no mousedev.o - no input.o - no tabletdev.o - no wacom_drv.so - no wacom_drv.o - no ---------------------------------------- /usr/bin/make -f debian/rules binary-modules make[1]: Entering directory `/usr/src/modules/wacom' sed -e 's/${kpkg\:Kernel\-Version}/2.6.18-4-686/' \ debian/wacom.control > debian/control # Is this needed for setting up a Depends? #echo "kpkg:Package-Version=0.7.4.1-5+2.6.18-4-686" \ # >> debian/.substvars echo "kpkg:Kernel-Version=2.6.18-4-686" > \ debian/wacom-kernel-modules-2.6.18-4-686.substvars # The substvars mechanism seems slightly broken, hack to get around it # stolen from the qce-ga package. # We do this above instead so control exists when the clean targets # are run. #sed -e 's/${kpkg\:Kernel\-Version}/2.6.18-4-686/' \ #debian/cpad.control > debian/control # Make sure we've had a chance to get a control file before doing this: dh_testdir dh_testroot dh_clean -k # Set up per package control files with suitable names for f in modules templates; do \ cp -a debian/wacom.$f debian/wacom-kernel-modules-2.6.18-4-686.$f; \ done for f in postinst config; do \ echo "#!/bin/sh" | cat - debian/wacom.$f > debian/wacom- kernel-modules-2.6.18-4-686.$f; \ done # Build the modules /usr/bin/make make[2]: Entering directory `/usr/src/modules/wacom' /usr/bin/make all-recursive make[3]: Entering directory `/usr/src/modules/wacom' Making all in src make[4]: Entering directory `/usr/src/modules/wacom/src' Making all in . make[5]: Entering directory `/usr/src/modules/wacom/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -g -O2 -I/usr/include/tcl8.4/ -MT wacomcfg.lo -MD -MP -MF ".deps/wacomcfg.Tpo" -c -o wacomcfg.lo wacomcfg.c; \ then mv -f ".deps/wacomcfg.Tpo" ".deps/wacomcfg.Plo"; else rm -f ".deps/wacomcfg.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -g -O2 -I/usr/include/tcl8.4/ -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c -fPIC -DPIC -o .libs/wacomcfg.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -g -O2 -I/usr/include/tcl8.4/ -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c -o wacomcfg.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -pedantic -g -O2 -I/usr/include/tcl8.4/ -o libwacomcfg.la -rpath /usr/local/lib -no-undefined -version-info 0:1:0 wacomcfg.lo gcc -shared .libs/wacomcfg.o -Wl,-soname -Wl,libwacomcfg.so.0 -o .libs/libwacomcfg.so.0.0.1 (cd .libs && rm -f libwacomcfg.so.0 && ln -s libwacomcfg.so.0.0.1 libwacomcfg.so.0) (cd .libs && rm -f libwacomcfg.so && ln -s libwacomcfg.so.0.0.1 libwacomcfg.so) ar cru .libs/libwacomcfg.a wacomcfg.o ranlib .libs/libwacomcfg.a creating libwacomcfg.la (cd .libs && rm -f libwacomcfg.la && ln -s ../libwacomcfg.la libwacomcfg.la) make[5]: Leaving directory `/usr/src/modules/wacom/src' Making all in wacomxi make[5]: Entering directory `/usr/src/modules/wacom/src/wacomxi' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/usr/src/modules/wacom/src/wacomxi' Making all in 2.4 make[5]: Entering directory `/usr/src/modules/wacom/src/2.4' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/usr/src/modules/wacom/src/2.4' make[4]: Leaving directory `/usr/src/modules/wacom/src' make[4]: Entering directory `/usr/src/modules/wacom' make[4]: Leaving directory `/usr/src/modules/wacom' make[3]: Leaving directory `/usr/src/modules/wacom' make[2]: Leaving directory `/usr/src/modules/wacom' # It's hard to be sure where the modules are with the upstream # build system, so 'install' them in a temp dir for the moment. mkdir -p temp find src/2.4.* -name "*.o" -exec cp {} temp \; find src/2.6.* -name "*.ko" -exec cp {} temp \; # Install the modules if [ -e temp/wacom.o ]; then \ dh_install temp/wacom.o \ lib/modules/2.6.18-4-686/kernel/drivers/usb; \ else \ dh_install temp/wacom.ko \ lib/modules/2.6.18-4-686/kernel/drivers/usb/input; \ fi cp: cannot stat `./temp/wacom.ko': No such file or directory dh_install: command returned error code 256 make[1]: *** [binary-modules] Error 1 make[1]: Leaving directory `/usr/src/modules/wacom' make: *** [kdist_image] Error 2 P.S. I'm trying to consider what you have said about formatting, thanks for your kind understanding.