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 OAA11163; Sat, 8 Nov 2003 14:26:16 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA10669 for ; Sat, 8 Nov 2003 14:26:15 +0100 (MET) Received: from igloo.phubuh.org (c-70b670d5.028-10-67766c2.cust.bredbandsbolaget.se [213.112.182.112]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hA8DQE102301 for ; Sat, 8 Nov 2003 14:26:14 +0100 (MET) Received: from igloo.phubuh.org (localhost [127.0.0.1]) by igloo.phubuh.org (Postfix) with ESMTP id 828E253271; Sat, 8 Nov 2003 14:25:47 +0100 (CET) To: Richard Jones 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 References: <20031108114718.61FE9535DE@igloo.phubuh.org> <20031108120804.GA7957@redhat.com> <87ekwjqc18.fsf@igloo.phubuh.org> <20031108125401.GA8042@redhat.com> From: Mikael Brockman Date: 08 Nov 2003 14:25:47 +0100 In-Reply-To: <20031108125401.GA8042@redhat.com> Message-ID: <873cczq9es.fsf@igloo.phubuh.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 3.07:01 threads:01 threads:01 cmas:01 cruft:01 3.06:01 wiki:01 wiki:01 polishing:01 caml:01 caml:01 writes:01 nov:01 makefile:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 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