I'm having these db rpms installed on redhat-8.0 # rpm -qa|grep db gdbm-1.8.0-18 db4-devel-4.0.14-14 db4-4.0.14-14
-------- I'm getting these error while trying to build RPM # ls -l /usr/src/redhat/SOURCES/ total 2244 -rw-r--r-- 1 root root 2281284 Mar 13 2003 qpopper4.0.5.tar.gz -rw-r--r-- 1 root root 1106 Apr 20 2002 qpopper.init -rw-r--r-- 1 root root 2416 Mar 16 2003 qpopper.spec -rw-r--r-- 1 root root 338 Feb 20 14:41 -v -------------- # 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)
pop_user.c:140: (Each undeclared identifier is reported only once
pop_user.c:140: for each function it appears in.)
pop_user.c:140: `db' undeclared (first use in this function)
pop_user.c:144: `datum' undeclared (first use in this function)
pop_user.c:144: parse error before "key"
pop_user.c:317: `key' undeclared (first use in this function)
pop_user.c:330: `value' undeclared (first use in this function)
make[1]: *** [pop_user.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/qpopper4.0.5/popper'
make: *** [popper_server] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.22556 (%build)
