From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA11309; Sat, 8 Nov 2003 14:40:49 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA11302 for ; Sat, 8 Nov 2003 14:40:48 +0100 (MET) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hA8Del105089 for ; Sat, 8 Nov 2003 14:40:47 +0100 (MET) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1AITKX-0002GY-00; Sat, 08 Nov 2003 13:40:45 +0000 Date: Sat, 8 Nov 2003 13:40:45 +0000 To: Mikael Brockman Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: mod_caml 1.0.0 and O'Caml 3.07+2 - problem with caml_mutex_new Message-ID: <20031108134045.GA8069@redhat.com> References: <20031108114718.61FE9535DE@igloo.phubuh.org> <20031108120804.GA7957@redhat.com> <87ekwjqc18.fsf@igloo.phubuh.org> <20031108125401.GA8042@redhat.com> <873cczq9es.fsf@igloo.phubuh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <873cczq9es.fsf@igloo.phubuh.org> User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 3.07:01 threads:01 threads:01 cmas:01 autoconf:01 cruft:01 3.06:01 caml's:01 templating:01 wiki:01 wiki:01 polishing:01 autoconf:01 freshmeat:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, Nov 08, 2003 at 02:25:47PM +0100, Mikael Brockman wrote: > 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, Ah, I wouldn't use the autoconf configuration. It's out of date (indeed, I've temporarily removed it from the CVS version). Stick with the basic Makefile and the instructions in INSTALL. > 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? No. > The documentation for CamlTemplate uses ${...} for variable > interpolation, but Cgi.Template uses ::...::. OTOH, mod_caml uses > CamlTemplate if it is available. mod_caml links with CamlTemplate if it's available, so it's there for you to use. CamlTemplate and mod_caml's Cgi.Template are two different templating systems, and you should use whichever suits your style best. > 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. :-) Excellent! Agreed. We'll have autoconf working at some point. Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - improving website return on investment 'There is a joke about American engineers and French engineers. The American team brings a prototype to the French team. The French team's response is: "Well, it works fine in practice; but how will it hold up in theory?"' ------------------- 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