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
ANN OCaml Batteries Included alpha 1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Teller <David.Teller@u...>
Subject: Re: [Caml-list] ANN OCaml Batteries Included alpha 1
I can reproduce the error. If you don't mind, let's continue that
discussion on the Batteries-devel mailing-list [1].

Thanks for the bug report,


On Sun, 2008-10-12 at 13:00 -0400, Peng Zang wrote:
> Hash: SHA1
> On Sunday 12 October 2008 09:59:13 am David Teller wrote:
> >           Hi,
> >
> >  It seems we forgot one dependency in the README: you need Bin-prot to
> > get Batteries to work. I must confess that we could have removed that
> > dependency for Alpha 1, as we don't use any feature of Bin-prot yet.
> >
> > Cheers,
> >  David
> Thanks for your help.  Installing Bin-prot has seemed to fix that error.  
> Unfortunately, now I get a different one.  To give some context, I am trying 
> to create an equivalent toplevel file that corresponds to the 
> ocamlbuild _tags file. 
> To build a project with Batteries all you need is "<*>: use_batteries" in the 
> _tags file.  I don't really use ocamlbuild so I am assuming the _tags file 
> plays a similar role to your normal Makefile.
> My equivalent file which aims to start an ocamltoplevel in an 
> environment where any code that compiles will run in the toplevel consists, 
> so far of:
>   #use "topfind"
>   #require "batteries"
> The new error is: Reference to undefined global `Ref'
> I am not familiar with Ref.  It looks like it's a module in Batteries, so I'm 
> not sure why it's throwing this error.  I tried to open Data.Mutable to see 
> if perhaps things worked despite the warning, but it does not appear to be 
> so.
> Any ideas?  I've attached the complete output below for reference.
> Thanks in advance,
> Peng

David Teller-Rajchenbach
 Security of Distributed Systems
 Angry researcher: French Universities need reforms, but the LRU act
brings liquidations.