<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/11/0fd83dad1ad74acd712ddca27e043eeb"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-11-08T13:40:49"
  subject="Re: [Caml-list] Re: mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new"
  prev="2003/11/9a048da190ab6188e7d0aedeaa4fed5d"
  next="2003/11/b8321b9f6a73c9afb302fc892d760828"
  prev-in-thread="2003/11/9a048da190ab6188e7d0aedeaa4fed5d"
  next-in-thread="2003/11/fd186d3b0f3181706aa9233656cdd501"
  prev-thread="2003/11/91026f5c9a6c85960c1b03109f47fd47"
  next-thread="2003/11/b8321b9f6a73c9afb302fc892d760828"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new">
<msg 
  url="2003/11/80ecbd8e48d00579987a885cae805996"
  from="Mikael Brockman &lt;phubuh@p...&gt;"
  author="Mikael Brockman"
  date="2003-11-08T11:47:47"
  subject="[Caml-list] mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new">
<msg 
  url="2003/11/b9c8d300857d4ff97172970b5bb5ebb5"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-11-08T12:08:18"
  subject="[Caml-list] Re: mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new">
<msg 
  url="2003/11/039499a2028804bc6fbe62438c340b72"
  from="Mikael Brockman &lt;phubuh@p...&gt;"
  author="Mikael Brockman"
  date="2003-11-08T12:29:40"
  subject="Re: [Caml-list] Re: mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new">
<msg 
  url="2003/11/1574bef4cff566101f27de411555791d"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-11-08T12:54:06"
  subject="Re: [Caml-list] Re: mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new">
<msg 
  url="2003/11/9a048da190ab6188e7d0aedeaa4fed5d"
  from="Mikael Brockman &lt;phubuh@p...&gt;"
  author="Mikael Brockman"
  date="2003-11-08T13:26:16"
  subject="Re: [Caml-list] Re: mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new">
<msg 
  url="2003/11/0fd83dad1ad74acd712ddca27e043eeb"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-11-08T13:40:49"
  subject="Re: [Caml-list] Re: mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new">
</msg>
</msg>
</msg>
<msg 
  url="2003/11/fd186d3b0f3181706aa9233656cdd501"
  from="Benjamin Geer &lt;ben@s...&gt;"
  author="Benjamin Geer"
  date="2003-11-08T17:57:10"
  subject="Re: [Caml-list] Re: mod_caml 1.0.0 and O&apos;Caml 3.07+2 - problem with caml_mutex_new">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
On Sat, Nov 08, 2003 at 02:25:47PM +0100, Mikael Brockman wrote:
&gt; Richard Jones &lt;rich@annexia.org&gt; writes:
&gt; 
&gt; &gt; On Sat, Nov 08, 2003 at 01:29:07PM +0100, Mikael Brockman wrote:
&gt; &gt; &gt; So I suppose threads.cma exports it, and CamlTemplate tries to import
&gt; &gt; &gt; it, but fails.
&gt; &gt; 
&gt; &gt; Mmmmm. Are you using threads? Probably you shouldn't be.
&gt; 
&gt; Nope, unless mod_caml does.
&gt; 
&gt; &gt; You could try adding threads.cma to ALL_CMAS in the Makefile, but I'm
&gt; &gt; not sure that the results will be well-defined.
&gt; 
&gt; I was about to try this, but decided to nuke my mod_caml build
&gt; directory and start fresh, instead.  I had to add
&gt; 
&gt;   include Makefile.config
&gt; 
&gt; to makefile (not Makefile) to get $(APACHELIBDIR) and the other
&gt; 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.

&gt; but Apache can link this fresh mod_caml
&gt; perfectly.  I guess I had some old compiled cruft that was built for
&gt; O'Caml 3.06 laying around. :-)
&gt; 
&gt; &gt; Or if you're not using CamlTemplate, then disable it in Makefile.config.
&gt; 
&gt; Ah, I wanted to ask about that.  Does Cgi.Template use CamlTemplate?

No.

&gt; The documentation for CamlTemplate uses ${...} for variable
&gt; interpolation, but Cgi.Template uses ::...::.  OTOH, mod_caml uses
&gt; 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.

&gt; By the way, I love mod_caml.  I'm using it to write a Wiki engine that
&gt; will hopefully be used to serve a Wiki about O'Caml.  My only
&gt; 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

</contents>

</message>

