Re: [Exim] Error compiling Exim-4.10 - Berkeley-4.1 on Mandr…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kevin P. Fleming
Dátum:  
CC: exim-users
Tárgy: Re: [Exim] Error compiling Exim-4.10 - Berkeley-4.1 on Mandrake-8.0
Steve Manning wrote:
> Hi
>
> I'm trying to compile Exim-4.10 with Berkeley Sleepycat 4.1 on Mandrake
> 8.0.
>
> I have set the Local/Makefile for:
>
> USE_DB=yes
> INCLUDE=-I/usr/local/BerkeleyDB.4.1/include (to find db.h)
>
> but I get the following errors compiling exim_dbmbuild.c:
>
> ======================================================================
> gcc -c -O -I/usr/local/BerkeleyDB.4.1/include exim_dbmbuild.c
> exim_dbmbuild.c: In function `main':
> exim_dbmbuild.c:121: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> exim_dbmbuild.c:121: warning: passing arg 4 of pointer to function makes
> pointer from integer without a cast
> exim_dbmbuild.c:121: too few arguments to function
> make[1]: *** [exim_dbmbuild] Error 1
> make[1]: Leaving directory `/home/steve/exim-4.10/build-Linux-i386'
> make: *** [go] Error 2
> ======================================================================
>
> Any thorts?
>
>     Steve

>


The API for BDB 4.1 is not compatible with that for BDB 4.0. Until
Philip or someone produces the Makefile modifications and new interface
definitions for BDB 4.1, Exim will not compile with it. I believe the
changes are not extensive (the patch for Cyrus IMAPD was not very
large), so you may want to take a look and see what's required.