Am 2006-12-14 12:38, Oliver Falk schrieb:
Hi Chaskiel!
Am 2006-12-12 20:06, Chaskiel M Grundman schrieb:
--On Tuesday, December 12, 2006 02:12:41 PM +0530 Pubudu Premachandra
<npubudu@xxxxxxxxx> wrote:
cyrusdb_berkeley.c:176: error: structure has no member named
`set_lk_max'
set_lk_max has been deprecated since DB 4.0. I guess it was finally
removed.
The following patch may be used to work around this:
[ ... ]
Or you can downgrade to DB 4.3 (I don't know if 4.4 will work or not)
I'm trying to rebuild my Cyrus IMAP rpm packge for 'Fedora Development'.
Fedora just updated DB4 to 4.5.20. The above patch will - I expect,
because the error with set_lk_max is the same - be needed for 4.5.20 as
well. However; I just wanted to know if anyone has experience with DB
4.5 already or not!? If not with 4.4 I don't think anyone tried 4.5!?
Just saw, that berkdb.m4 needs patching for db4.5:
--- cyrus-imapd-2.3.7/cmulocal/berkdb.m4.db4.5 2006-12-14
12:59:53.000000000 +0100
+++ cyrus-imapd-2.3.7/cmulocal/berkdb.m4 2006-12-14
12:59:59.000000000 +0100
@@ -213,7 +213,7 @@
fi
saved_LIBS=$LIBS
- for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2
db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33
db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
+ for dbname in db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3
db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4
db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
do
LIBS="$saved_LIBS -l$dbname"
AC_TRY_LINK([#include <db.h>],
-of
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html