imap-2.1.16 and berkeley db 4.2.52?
Igor Brezac
igor at ipass.net
Mon Dec 15 10:14:02 EST 2003
On Mon, 15 Dec 2003, Andreas wrote:
> On Mon, Dec 15, 2003 at 08:26:29AM -0500, Igor Brezac wrote:
> >
> > On Mon, 15 Dec 2003, Andreas wrote:
> >
> > > Has anybody tried to compile cyrus-imapd-2.1.16 with berkeley db 4.2.52?
> > > Should it work?
> >
> > It should work assuming configure script can locate berkeley db 4.2.52. I
> > have cyrus imapd 2.2 working with berkeley db 4.2.52. I believe the
> > berkeley code in both versions of cyrus imap is the same. You also need
> > to rebuild cyrus-sasl with the new berkeley db.
>
> Correct. I just managed to do that (after changing configure and friends to
> detect 4.2.x).
>
> I had to change a few things in cyrusdb_db3.c, though, or else it wouldn't
> compile. I'm still not sure if my environment is wrong or what. Some
> definitions seem to be gone in db 4.2's db.h. The patch I used is attached.
>
Yes. I failed to mention this. This is a patch applied to cyrus-imapd
2.2 and it should work in 2.1.16.
https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/cyrusdb_berkeley.c.diff?r1=1.2&r2=1.3
--
Igor
More information about the Info-cyrus
mailing list