# rpmbuild -bi qpopper.spec [..]
-O2 -march=i386 -mcpu=i686 -DHAVE_CONFIG_H -DLINUX -DUNIX pop_user.c -o pop_user.o pop_user.c: In function `pop_user': pop_user.c:140: `DBM' undeclared (first use in this function)
I haven't tried qpopper with db4. Any indication during the run of configure that it didn't find the db headers?