I am trying to implement the current qpopper version on a
Mandrake 7.2 Linux system (custom 2.2.17 kernel from kernel.org) and
qmail 1.03. I am using the "Mailbox" mbox file in the users' home
directories instead of /var/spool/mail/, I am using shadow passwords, and
I want to implement APOP.
Here is my configure command:
./configure \
--enable-home-dir-mail=Mailbox
--enable-specialauth
--enable-apop=etc/qpopper.auth
--with-popuid=pop
Note that the "pop" user exists in /etc/passwd...
When I "make" after having set any options that include
--enable-apop, things fall apart, like so:
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common \
-g -O2 -fpcc-struct-return -DHAVE_CONFIG_H -DLINUX -DUNIX
pop_user.c -o pop_user.o
pop_user.c: In function `pop_user':
pop_user.c:119: `DBM' undeclared (first use in this function)
pop_user.c:119: (Each undeclared identifier is reported only once
pop_user.c:119: for each function it appears in.)
pop_user.c:119: `db' undeclared (first use in this function)
pop_user.c:121: parse error before `int'
pop_user.c:124: `datum' undeclared (first use in this function)
pop_user.c:157: `user_name_len' undeclared (first use in this function)
pop_user.c:208: `pw' undeclared (first use in this function)
pop_user.c:231: `st' undeclared (first use in this function)
pop_user.c:247: `fid' undeclared (first use in this function)
pop_user.c:274: `key' undeclared (first use in this function)
pop_user.c:287: `value' undeclared (first use in this function)
pop_user.c:290: `i' undeclared (first use in this function)
pop_user.c:294: `bFoundUser' undeclared (first use in this function)
make[1]: *** [pop_user.o] Error 1
make[1]: Leaving directory `/usr/src/qpopper3.1.2/popper'
make: *** [popper_server] Error 2
Am I using the configure options incorrectly? It compiles fine as
long as I don't use the "--enable-apop" line.
Thanks.
--
Roger Walker <http://www.rat-hole.com>
Voice/Fax 1-780-440-2685 <http://www.man-from-linux.com>
"HIS Pain; YOUR Gain" <http://www.rope.net>
<http://www.rope.net/signature.html>