[Exim] Problems building 4.05 under Redhat Linux (continued)

Top Page
Delete this message
Reply to this message
Author: Stanier, Alan M
Date:  
To: 'exim-users@exim.org'
Subject: [Exim] Problems building 4.05 under Redhat Linux (continued)
We have got closer to what seems to be the problem.

We are using db3-3.1.17-7

The documentation says open requires 4 args, but the code is

/******************* Berkeley db 2.x native definitions
********************/

/* Basic DB type */
#define EXIM_DB       DB


/* Cursor type, for scanning */
#define EXIM_CURSOR DBC

/* The datum type used for queries */
#define EXIM_DATUM    DBT


/* Some text for messages */
#define EXIM_DBTYPE "db (v2)"

/* Access functions */

/* EXIM_DBOPEN - sets *dbpp to point to an EXIM_DB, NULL if failed */
#define EXIM_DBOPEN(name, flags, mode, dbpp)         \
       if ((errno = db_open(CS name, DB_HASH,           \
        ((flags) == O_RDONLY)? DB_RDONLY : DB_CREATE, \
        mode, NULL, NULL, dbpp)) != 0) *(dbpp) = NULL


which is 7.


--------
Alan Stanier
Essex University Information Systems Services
Systems Group