I'm upgrading qpopper 4.0.5. The system has GDBM installed, but I don't want to use GDBM for backwards compatibility with an NDBM popauth database.
Building with these options failed: ./configure --enable-apop=/etc/pop.auth --with-popuid=pop --without-gdbm && make The problem was that in popauth.c, there is a test for HAVE_GDBM_H instead of GDBM. I've patched it; patch included below. - Morty diff -rc orig/qpopper4.0.5/popper/popauth.c qpopper4.0.5/popper/popauth.c *** orig/qpopper4.0.5/popper/popauth.c Wed Mar 12 21:06:38 2003 --- qpopper4.0.5/popper/popauth.c Thu Mar 13 18:38:57 2003 *************** *** 86,92 **** # include <scram.h> #endif /* SCRAM */ ! #ifdef HAVE_GDBM_H # include <gdbm.h> #else /* no GDBM */ # ifdef HAVE_NDBM_H --- 86,92 ---- # include <scram.h> #endif /* SCRAM */ ! #ifdef GDBM # include <gdbm.h> #else /* no GDBM */ # ifdef HAVE_NDBM_H
