2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Compiler error on Trustix...
FromSent OnAttachments
M. BobkiewiczApr 19, 2006 3:18 am 
Sam VarshavchikApr 19, 2006 3:45 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Compiler error on Trustix Linux 2.2Actions...
From:M. Bobkiewicz (mdli@reproheinatz.de)
Date:Apr 19, 2006 3:18:43 am
List:net.sourceforge.lists.courier-maildrop

Hi,

I´m trying to install maildrop on a trustix 2.2 box, running a postfix / courier imap setup with simple delivers incomming mail to the user´s Maildir. While courier is part of the distribution they have let out maildrop for any given reason. So I´ve downloaded the source, did a confige run with "--disable-authlib", managed it to change the config.h file to Maildir style but now get the following error when trying to compile:

Compiling bdbobj.c In file included from bdbobj.c:20: bdbobj.h:21:23: db.h: No such file or directory In file included from bdbobj.c:20: bdbobj.h:29: error: parse error before "DB" bdbobj.h:29: warning: no semicolon at end of struct or union bdbobj.h:36: error: parse error before '}' token bdbobj.c: In function `bdbobj_init': bdbobj.c:24: error: dereferencing pointer to incomplete type bdbobj.c: In function `bdbobj_close': bdbobj.c:40: error: dereferencing pointer to incomplete type bdbobj.c:43: error: dereferencing pointer to incomplete type bdbobj.c:43: error: dereferencing pointer to incomplete type bdbobj.c:47: error: dereferencing pointer to incomplete type bdbobj.c: In function `bdbobj_open': bdbobj.c:63: error: `DBTYPE' undeclared (first use in this function) bdbobj.c:63: error: (Each undeclared identifier is reported only once bdbobj.c:63: error: for each function it appears in.) bdbobj.c:63: error: parse error before "dbtype" bdbobj.c:95: error: `dbtype' undeclared (first use in this function) bdbobj.c:95: error: `DB_BTREE' undeclared (first use in this function) bdbobj.c:100: error: `DB_RECNO' undeclared (first use in this function) bdbobj.c:108: error: dereferencing pointer to incomplete type bdbobj.c:108: warning: implicit declaration of function `dbopen' bdbobj.c:155: error: dereferencing pointer to incomplete type bdbobj.c:155: error: dereferencing pointer to incomplete type bdbobj.c:167: error: dereferencing pointer to incomplete type bdbobj.c: In function `bdbobj_store': bdbobj.c:178: error: `DBT' undeclared (first use in this function) bdbobj.c:178: error: parse error before "dkey" bdbobj.c:180: error: `dkey' undeclared (first use in this function) bdbobj.c:181: error: `dval' undeclared (first use in this function) bdbobj.c:189: error: dereferencing pointer to incomplete type bdbobj.c:189: error: dereferencing pointer to incomplete type bdbobj.c:189: error: dereferencing pointer to incomplete type bdbobj.c:190: error: `R_NOOVERWRITE' undeclared (first use in this function) bdbobj.c: In function `dofetch': bdbobj.c:268: error: `DBT' undeclared (first use in this function) bdbobj.c:268: error: parse error before "dkey" bdbobj.c:270: error: dereferencing pointer to incomplete type bdbobj.c:272: error: `dkey' undeclared (first use in this function) bdbobj.c:273: error: `val' undeclared (first use in this function) bdbobj.c:279: error: dereferencing pointer to incomplete type bdbobj.c:279: error: dereferencing pointer to incomplete type make[2]: *** [bdbobj.lo] Error 1 make[2]: Leaving directory `/usr/src/neu/maildrop-2.0.2/bdbobj' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/neu/maildrop-2.0.2/bdbobj' make: *** [all-recursive] Error 1

What´s going wrong? Any paths to be set manually? Wrong version of another package allready installed? Any help would be welcome.

Best regards,

Mike Bobkiewicz