Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Adding libraries to mod_caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Benjamin Geer <ben@s...>
Subject: Re: [Caml-list] Adding libraries to mod_caml
Matt Gushee wrote:
> I added the
> library path to OCAMLCINCS and the .cma file to ALL_CMAS, but I continue
> to get 'unbound module' errors.

I had a similar problem with CamlTemplate; you might have to do what I 
did, which is link a .cmo into mod_caml that calls a trivial function in 
CamlTemplate.  This seemed to be necessary to convince Dynlink to load 
the things CamlTemplate depends on.  See camlTemplateInit.ml in the 
CamlTemplate distribution[1], and the use of camlTemplateInit.cmo in 
mod_caml's Makefile.

Ben

[1] http://saucecode.org/camltemplate/

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners