Hi, I have been trying to compile courier-imap on my Suse 9.3 Professional system but it just won't work. (I ran the YOU today for updating the system to the latest possible stage)
 
The gdb seems to be installed correctly under:
/usr/include/dbm.h
/usr/include/gdbm.h
/usr/include/ndbm.h
 
/usr/lib/libgdbm.a
/usr/lib/libgdbm.la
/usr/lib/libgdbm.so
/usr/lib/libgdbm_compat.a
/usr/lib/libgdbm_compat.la
/usr/lib/libgdbm_compat.so
/usr/lib/libndbm.a
/usr/lib/libndbm.so
/usr/share/info/gdbm.info.gz
/usr/share/man/man3/gdbm.3.gz
 
ldconfig -p | grep gdbm  results in the following output:
libgdbm_compat.so.3 (libc6) => /usr/lib/libgdbm_compat.so.3
libgdbm_compat.so (libc6) => /usr/lib/libgdbm_compat.so
libgdbm.so.3 (libc6) => /usr/lib/libgdbm.so.3
libgdbm.so (libc6) => /usr/lib/libgdbm.so
 
When I run ./configure --with-db=gdbm I get the following:
 
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  -L /usr/lib) works... yes
checking whether the C compiler (gcc  -L /usr/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gawk... (cached) gawk
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for perl5... (cached) /usr/bin/perl
checking for sysconftool...... ././sysconftool
checking for env... (cached) /usr/bin/env
checking whether build environment is sane... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gdbm_open in -lgdbm... (cached) no
checking for gdbm_open... (cached) no
configure: error: Cannot find either the gdbm or the db library.
 
I have searched for solutions on the web and tried everything I could find, like:
CPPFLAGS="-I /usr/include"
LDFLAGS="-L /usr/lib"
export CPPFLAGS
export LDFLAGS
 
before running the ./config --with-db=gdbm command (executed as non root user) I tried to run ./configure without adding any options. It runs through without errors but then the "make" command fails.
(The source files are unpacked into a subdirectory of the home-directory of a non priviledged user from where I excecute the ./configure command.)

Can anyone please help me configure and compile courier-imap?
Thanks in advance
--
René Jenny

Reply via email to