Dan Egli schrieb:
Hey folks. I'm back. And of course, I have issues.
I've got a Fedora core 2 box that I'm trying to build SKS 1.0.7 on, and
it doesn't work. Using the Fedora Db4 packages, the db.h file does not
define DB_CLIENT, which sks wants. The version says it's db 4.2.25. Is
sks not compatible with 4.2.25? If so, whats the best way to make a copy
of 4.1.25 available to sks w/o disturbing the rest of the system that
was build on 4.2.25?
There was a small change from BDB 4.1 to 4.2. Simply do a "make clean"
and change two lines in bdb/bdb_stubs.c according to this patch:
=====================================================================
--- sks/bdb/bdb_stubs.c.orig Sun Jun 13 13:18:23 2004
+++ sks/bdb/bdb_stubs.c Sun Jun 13 13:18:46 2004
@@ -223,10 +223,10 @@
// Declaration of flag enums in ocaml must be in same order as in C
-static int dbenv_create_flags[] = { DB_CLIENT };
+static int dbenv_create_flags[] = { DB_RPCCLIENT };
//+
-//+ type create_flag = CLIENT
+//+ type create_flag = RPCCLIENT
static int dbenv_open_flags[] = {
DB_JOINENV, DB_INIT_CDB, DB_INIT_LOCK, DB_INIT_LOG, DB_INIT_MPOOL,
=====================================================================
SKS itself isn't using this parameter so there isn't any difference
between 4.1 and 4.2 (from SKS' view).
Peter