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=2.8 required=5.0 tests=DNS_FROM_RFC_POST,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id E45B3BBAF for ; Tue, 22 Sep 2009 17:45:17 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjgBAGiNuEpKfU4bkGdsb2JhbACRQYhzPwEBAQEJCQwHEwOsFYExkAcBAwIEhBcFgks X-IronPort-AV: E=Sophos;i="4.44,432,1249250400"; d="scan'208";a="47072979" Received: from ey-out-2122.google.com ([74.125.78.27]) by mail4-smtp-sop.national.inria.fr with ESMTP; 22 Sep 2009 17:45:17 +0200 Received: by ey-out-2122.google.com with SMTP id 22so908462eye.31 for ; Tue, 22 Sep 2009 08:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=LO5JpjSM0D7U0p2hdO+x2KRT9qu3K6O/oZ2oPepY4KU=; b=cVPPzafDOZKqt7Oar4JvOxeF/I8d1IWLJyr4+aFKdrJ/JYfcnR9zQzdSZsq6ch0RYL M4B9ln5pkmvSVoecMknhEJep0jSjueIHa0IxQJrAuHBb4H+qC4aEJd3FMdlT4uHR2EPV ZqlwNWaExPieP5AQynbXInkK2xpqibx6RBEH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=HaZXCd853V/F3mFdxuEk+IiqKMnWmRUds96LYVYm1kEWm6tpZ5CSCCxsVXXKEyHi1b 79NmSjgod+384psE9UhHoxishGvLa9ccyI8tibU0vyfxexl37oVCEYf/Pak7OlVn60yo 0glMcpC71pyjemf1PkuXmt8nfbYsEq4jiBneo= Received: by 10.211.188.4 with SMTP id q4mr4663619ebp.46.1253634316904; Tue, 22 Sep 2009 08:45:16 -0700 (PDT) Received: from ?192.168.1.38? (227.Red-83-37-1.dynamicIP.rima-tde.net [83.37.1.227]) by mx.google.com with ESMTPS id 7sm2954eyg.13.2009.09.22.08.45.13 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Sep 2009 08:45:14 -0700 (PDT) Subject: Re: Re: automake and ocaml From: Daniel Molina To: caml-list@yquem.inria.fr Content-Type: text/plain Date: Tue, 22 Sep 2009 17:45:08 +0200 Message-Id: <1253634308.5944.17.camel@ByeLimpus> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocaml:01 ocaml:01 usr:01 ocamldep:01 usr:01 ocamlc:01 cmo:01 ocamlopt:01 cmx:01 ocamlc:01 cmo:01 byte:01 ocamlopt:01 cmx:01 cmxa:01 >Also OCaml 3.10.0 is a quite old version that is maybe still containing >some bugs with ocamlbuild (it was the first version of ocamlbuild). Can >you try with a more recent version (3.10.2 or 3.11.1). Ok, I have installed the 3.11.1 >You can get the tree with >darcs get http://darcs.ocamlcore.org/repos/ocamlify >darcs get http://darcs.ocamlcore.org/repos/ocaml-autobuild Nice! >Can you check you have build and install ocamlify >http://darcs.ocamlcore.org/cgi-bin/darcsweb.cgi?r=ocamlify;a=summary >(I will try to get rid of this small dependency in the final release) I can build it $ make ocamlbuild -classic-display ocamlify.otarget /usr/local/bin/ocamldep -modules src/ocamlify.ml > src/ocamlify.ml.depends /usr/local/bin/ocamlc -c -I src -o src/ocamlify.cmo src/ocamlify.ml /usr/local/bin/ocamlopt -c -I src -o src/ocamlify.cmx src/ocamlify.ml /usr/local/bin/ocamlc src/ocamlify.cmo -o src/ocamlify.byte /usr/local/bin/ocamlc -a src/ocamlify.cmo -o src/ocamlify.cma /usr/local/bin/ocamlopt -a src/ocamlify.cmx -o src/ocamlify.cmxa $ but I do not know how to install it (if 'make' command has not done it automatically). Maybe must I copy _build/ to some place? I have been looking for documentation but I did not find it. And I tried to build ocaml-autobuild again with ocaml-3.11.1, but I obtain a different error: $ make ocamlbuild -classic-display ocaml-autobuild.otarget /usr/local/bin/ocamlopt -I /usr/local/lib/ocaml/ocamlbuild unix.cmxa /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild + /usr/local/bin/ocamlopt -I /usr/local/lib/ocaml/ocamlbuild unix.cmxa /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild File "myocamlbuild.ml", line 1, characters 0-1: Error: Cannot find file /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx Command exited with code 2. make: *** [all] Error 10 This is the content of my /usr/local/lib/ocaml/ocamlbuild ocamlbuild.cmo ocamlbuild_executor.cmi ocamlbuild_executor.cmo ocamlbuild_executor.cmx ocamlbuild_executor.o ocamlbuildlib.a ocamlbuildlib.cma ocamlbuildlib.cmxa ocamlbuild_pack.cmi ocamlbuild_plugin.cmi ocamlbuild_unix_plugin.cmi ocamlbuild_unix_plugin.cmo ocamlbuild_unix_plugin.cmx ocamlbuild_unix_plugin.o Thanks for the help.