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
[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 in the 
CamlTemplate distribution[1], and the use of camlTemplateInit.cmo in 
mod_caml's Makefile.



To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: