On Thu, May 20, 2010 at 01:29:49PM +0300, Eray Aslan wrote:

> Berkeley DB 5.0 is out and provides an SQlite-compatible interface.
> Having an alternative to SQLite is considered a good thing and there is
> some interest in bringing db-5.0 into mainstream use.

Is this the default Berkeley-DB version for your system platform? If
not, you should generally avoid the temptation to use a non-default
Berkeley-DB.

> dict_db.c:685:2: error: #error "Unsupported Berkeley DB version"

Yes, the list of supported (major) versions is manually maintained.

> --- a/src/util/dict_db.c
> +++ b/src/util/dict_db.c
> -#if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
> +#if (DB_VERSION_MAJOR == 5) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 
> 0)

Have you read the release-notes? What are the incompatibilities with 4.x
(if any)?

-- 
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment.  If you are interested, please drop me a note.

Reply via email to