Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.
http://www.eecs.harvard.edu/~stein/ocamlbdb-4.3.21.tar.gz
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)

>