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] mod_caml 1.0.0 and O'Caml 3.07+2 - problem with caml_mutex_new
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mikael Brockman <phubuh@p...>
Subject: Re: [Caml-list] Re: mod_caml 1.0.0 and O'Caml 3.07+2 - problem with caml_mutex_new
Richard Jones <> writes:

> On Sat, Nov 08, 2003 at 01:29:07PM +0100, Mikael Brockman wrote:
> > So I suppose threads.cma exports it, and CamlTemplate tries to import
> > it, but fails.
> Mmmmm. Are you using threads? Probably you shouldn't be.

Nope, unless mod_caml does.

> You could try adding threads.cma to ALL_CMAS in the Makefile, but I'm
> not sure that the results will be well-defined.

I was about to try this, but decided to nuke my mod_caml build
directory and start fresh, instead.  I had to add

  include Makefile.config

to makefile (not Makefile) to get $(APACHELIBDIR) and the other
configuration variables, but Apache can link this fresh mod_caml
perfectly.  I guess I had some old compiled cruft that was built for
O'Caml 3.06 laying around. :-)

> Or if you're not using CamlTemplate, then disable it in Makefile.config.

Ah, I wanted to ask about that.  Does Cgi.Template use CamlTemplate?
The documentation for CamlTemplate uses ${...} for variable
interpolation, but Cgi.Template uses ::...::.  OTOH, mod_caml uses
CamlTemplate if it is available.

By the way, I love mod_caml.  I'm using it to write a Wiki engine that
will hopefully be used to serve a Wiki about O'Caml.  My only
complaint so far is that the build process needs more polishing. :-)

Mikael Brockman

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