config error

when running configure on comedi-0.7.69 using debian r4, I get these errors:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for strip... /usr/bin/strip
checking for depmod... /sbin/depmod
configure: Using 2.2.20-idepci as the uname -r value
configure: Using i686 as the uname -m value
checking for rpm... yes
error: cannot open Packages index using db3 - No such file or directory (2)
configure: Cannot guess target arch, consider setting it using 
--with-rpm-target
checking for Linux in /lib/modules/2.2.20-idepci/build... not found
checking for Linux in ../linux... not found
checking for Linux in /usr/src/linux... not found
configure: error: Linux source directory not found

under /usr/src is only the rpm dir

Received on 2005-01-14Z01:50:58