Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] Berkeley DB
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-24 (21:20)
From: yoann padioleau <padator@w...>
Subject: Re: [Caml-list] Berkeley DB
> Folks,

Hi dude, 

> How do I find out if my version of OCaml was built with Berkeley DB  
> (SleepyCat) support?

There is no support for berkeley DB (only for gnu dbm (gdbm), and ndbm if I remember).

> Alternatively, how do I build OCaml from the source to support BDB?  

I am aware of two packages, one by yaron minsky and one by lex stein.
I personnaly find the one by lex stein slightly better. I use it for a project of mine.
There is some strange stuff when you use transaction, but it works pretty well. 

> This is based on my understanding that BDB support is built-in since  
> I'm not able to find any BDB packages for OCaml more recent than 2002.

The one by lex stein is more recent (well he updated his old version to make it work with berkeley DB 4.3)