bogofilter-0.96.1 - aka 1.0.0-rc1

David Relson relson at osagesoftware.com
Mon Sep 5 16:25:29 CEST 2005


On Mon, 5 Sep 2005 09:45:57 -0400
Jim Correia wrote:

> On Sep 5, 2005, at 8:31 AM, David Relson wrote:
> 
> > There has been a paucity of problems in the 2 months since the release
> > of bogofilter-0.95.2.  If no significant problems show up in the next
> > week, this release will become bogofilter-1.0.0
> 
> I've been out of the bogofilter loop for some time (happily using a  
> very old version.)
> 
> I grabbed the source package and tried to build with sqlite as the  
> backend and I get the following build errors on Mac OS X.
> 
> In file included from datastore_db.c:46:
> ./datastore.h:85: error: conflicting types for ___DB___
> /usr/include/db.h:133: error: previous declaration of ___DB___ was here
> ./datastore.h:87: error: parse error before numeric constant
> datastore_db.c: In function ___resolveopenflags___:
> datastore_db.c:82: error: ___DB_CREATE___ undeclared (first use in this  
> function)
> datastore_db.c:82: error: (Each undeclared identifier is reported  
> only once
> datastore_db.c:82: error: for each function it appears in.)
> datastore_db.c:82: warning: left-hand operand of comma expression has  
> no effect
> datastore_db.c:82: warning: value computed is not used
> datastore_db.c:83: error: ___DB_EXCL___ undeclared (first use in this  
> function)
> datastore_db.c:83: warning: left-hand operand of comma expression has  
> no effect
> datastore_db.c:83: warning: value computed is not used
> datastore_db.c:84: error: ___DB_NOMMAP___ undeclared (first use in this  
> function)
> datastore_db.c:84: warning: left-hand operand of comma expression has  
> no effect
> datastore_db.c:84: warning: value computed is not used
> datastore_db.c:85: error: ___DB_RDONLY___ undeclared (first use in this  
> function)
> datastore_db.c:85: warning: left-hand operand of comma expression has  
> no effect
> datastore_db.c:85: warning: value computed is not used
> 
> [...]
> 
> I'm not familiar with the source, but the top of the file says
> 
> NAME:
> datastore_db.c -- implements the datastore, using Berkeley DB
> 
> which is confusing as well. Why is it building this file when I asked  
> to use the sqlite backend? Any help?
> 
> Thanks,
> Jim

Hi Jim,

Sounds like your configure command wasn't correct.  Did you use
"./configure --with-database=sqlite" ??  If you _did_ use the correct
command, it sounds like ./configure doesn't work properly on Mac OS X.
If that's the case, attach files config.log and src/config.h to your
reply.

David




More information about the bogofilter-dev mailing list