Hello!

 I'am trying to make qpopper4.0.2 with APOP support on my
 FreeBSD 4.3-REL box and getting strange error.

 I have compiled and installed gdbm-1.8.0

 ls -l /usr/local/lib/libgdbm*

 -rw-r--r--  1 root  wheel  50946 17 May 12:36 /usr/local/lib/libgdbm.a
 -rwxr-xr-x  1 root  wheel    432 17 May 12:36 /usr/local/lib/libgdbm.la
 lrwxr-xr-x  1 root  wheel     14  2 Mar  2000 /usr/local/lib/libgdbm.so -> 
libgdbm.so.2.0
 -rwxr-xr-x  1 root  wheel  25353  2 Mar  2000 /usr/local/lib/libgdbm.so.2.0

 ./configure --enable-apop
 ....
 checking which database manager to use ... checking gdbm ... checking for gdbm_open 
in -lgdbm... no
 found gdbm header file but not library
 checking ndbm ... checking for dbm_open in -lndbm... no
 found ndbm header file but not library
 checking if BSD DBM... yes
 checking dbm ... checking for dbm_open in -ldbm... no
 didn't find dbm
 ....

 (but configure process completes ok)
 
 make
 ....
 popauth.c: In function `check_db_err':
 popauth.c:356: `DBM' undeclared (first use in this function)
 popauth.c:356: (Each undeclared identifier is reported only once
 popauth.c:356: for each function it appears in.)
 popauth.c:356: syntax error before `)'
 popauth.c: In function `main':
 popauth.c:659: `DBM' undeclared (first use in this function)
 popauth.c:659: `db' undeclared (first use in this function)
 popauth.c:660: syntax error before `char'
 popauth.c:693: `mode' undeclared (first use in this function)
 popauth.c:879: `auth_dir' undeclared (first use in this function)
 popauth.c:921: incompatible types in assignment
 popauth.c:1034: `f' undeclared (first use in this function)
 popauth.c:1056: incompatible types in assignment
 popauth.c:1097: incompatible types in assignment
 popauth.c:1097: incompatible types in assignment
 popauth.c:1106: incompatible types in assignment
 popauth.c:1183: incompatible types in assignment
 popauth.c:1428: `DBM_REPLACE' undeclared (first use in this function)
 *** Error code 1
 ....
 
 --with-gdbm=/usr/local/lib - did not help :(

 Can somebody explain where I'am wrong?

 P.S. qpopper3.1.2 with APOP works perfectly.
 
-- 
Best regards,
MSFU LAN Admin
 Andrey                          mailto:[EMAIL PROTECTED]
 http://www.mgul.ac.ru/~andrey

Reply via email to