From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=AWL,NO_REAL_NAME,SPF_FAIL autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 8D2C0BBAF for ; Wed, 3 Jun 2009 07:45:03 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8BADOrJUrAEKcge2dsb2JhbACOKAFiiBR0AQEWIgW3OoQLBQ X-IronPort-AV: E=Sophos;i="4.41,296,1241388000"; d="scan'208";a="27236597" Received: from selenite.metnet.navy.mil ([192.16.167.32]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Jun 2009 07:44:49 +0200 Received: (qmail 858 invoked by uid 107); 3 Jun 2009 05:44:46 -0000 Received: from unknown (HELO Adric.metnet.navy.mil) (10.100.105.184) by selenite.metnet.navy.mil with SMTP; 3 Jun 2009 05:44:46 -0000 Received: by Adric.metnet.navy.mil (Postfix, from userid 760) id 0253417832; Tue, 2 Jun 2009 22:43:37 -0700 (PDT) From: oleg@okmij.org Subject: RE: ANN: Probabilistic programming in OCaml To: caml-list@inria.fr Message-Id: <20090603054338.0253417832@Adric.metnet.navy.mil> Date: Tue, 2 Jun 2009 22:43:37 -0700 (PDT) X-Spam: no; 0.00; oleg:01 ocaml:01 ocaml:01 makefile:01 uncomment:01 wrote:01 ideally:01 compile:01 compiling:02 renaming:02 binary:02 confusing:02 configured:03 slightly:03 programming:03 Eliot Handelman wrote: > This looks really interesting,. but can it be compiled with 3.10.1? > First bash at compiling the delimcc library failed. Yes, the library can be used with 3.10.1 and even 3.09. I think I know what problem you have encountered. Ideally, to compile delimcc you need the configured OCaml sources, because delimcc needs a few header files that are not normally installed. Since one could install OCaml from a binary distribution, the sources are not necessarily available. Therefore, delimcc includes the needed header files as part of its distribution, for the most common platform: ia32 and Linux/BSD. Alas, these files differ slightly among OCaml versions (e.g., because of renaming). Therefore, delimcc distribution includes two sets of files, in the directories ocaml-byterun-3.09 and ocaml-byterun-3.10. With OCaml 3.10.1, one has to use ocaml-byterun-3.09 files rather than ocaml-byterun-3.10. Sorry, this is indeed confusing. Thus, you may want to edit the Makefile in delimcc, comment out the line OCAMLINCLUDES=./ocaml-byterun-3.10 and uncomment the line above that contains 3.09. I think it would build delimcc library (please `make testd0' to make sure).