Re: [Exim] exim and exim_dumpdb use different Berkeley DB ve…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Matthias Waffenschmidt
Ημερομηνία:  
Προς: exim-users
Υ/ο: Matthias Waffenschmidt
Αντικείμενο: Re: [Exim] exim and exim_dumpdb use different Berkeley DB version
Hi,

On Wed, Jun 25, 2003 at 02:35:02PM +0100, Philip Hazel wrote:
> > After I remove the system Berkeley DB include file /usr/include/db.h,
> > exim_dumpdb fails to compile, because it cannot find a db.h, but the
> > file /client/include/db.h exists and LOOKUP_INCLUDE=-I/client/include
> > is defined in Local/Makefile. Why is the compilation of exim_dumpdb
> > ignoring this option?
>
> LOOKUP_INCLUDE is the special include file for lookup modules in Exim
> (e.g. mysql, LDAP). Confusingly, it doesn't apply to basic DBM code
> which is used also for other things. Try setting INCLUDE and DBMLIB
> instead. For example, this is what I currently have:
>
> USE_DB=yes
> INCLUDE=-I/opt/local/include/db-4.1
> DBMLIB=/opt/local/lib/db-4.1/libdb.a


Thank you very much for clearing this point!

Now the exim utilities are able to work with the DB files generated by
exim.

--
Gruss / Best regards   |  LF.net GmbH        |  fon +49 711 90074-411
Matthias Waffenschmidt |  Ruppmannstr. 27    |  fax +49 711 90074-33
mw@???              |  D-70565 Stuttgart  |  http://www.lf.net