From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q3CDS1vM005371 for ; Thu, 12 Apr 2012 15:28:02 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnkDAPvXhk+K54gDgWdsb2JhbABDtnCDAiIBARYmJ4IKAQUyAUUBEAshFg8JAwIBAgFFBg0BBwKICrcfkX4ElWyFco0t X-IronPort-AV: E=Sophos;i="4.75,410,1330902000"; d="scan'208";a="139982336" Received: from rouge.crans.org ([138.231.136.3]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 12 Apr 2012 15:27:54 +0200 Received: from localhost (localhost.crans.org [127.0.0.1]) by rouge.crans.org (Postfix) with ESMTP id 1DD9585E5; Thu, 12 Apr 2012 15:27:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at crans.org Received: from rouge.crans.org ([10.231.136.3]) by localhost (rouge.crans.org [10.231.136.3]) (amavisd-new, port 10024) with LMTP id jmqSCN-kl+YF; Thu, 12 Apr 2012 15:27:54 +0200 (CEST) Received: from [152.81.3.42] (wencory.loria.fr [152.81.3.42]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by rouge.crans.org (Postfix) with ESMTPSA id F094485E2; Thu, 12 Apr 2012 15:27:53 +0200 (CEST) Message-ID: <4F86D859.6020308@glondu.net> Date: Thu, 12 Apr 2012 15:27:53 +0200 From: =?ISO-8859-1?Q?St=E9phane_Glondu?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 MIME-Version: 1.0 To: Philippe Veber CC: caml users References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] Current SVN head and findlib. Le 12/04/2012 14:30, Philippe Veber a écrit : > While playing with the upcoming features of our favorite compiler, I > found that the current trunk and version/4.00 branch do not work well > with findlib (version 1.2.8). I report it here so others might confirm > (or not) what I say. > > OCaml version 4.01.0+dev1_2012-03-31 > > # #use "topfind";; > - : unit = () > File "/home/pveber/usr/ocamlbrew/ocaml-svn/trunk/lib/ocaml/topfind", > line 37, characters 0-22: > Error: Unbound module Topfind > > What is really surprising is that the toplevel doesn't complain if I > copy/paste the contents of topfind directly in the compiler: > [...] It works if you execute (replace /usr/lib/ocaml by `ocamlc -where`) #directory "/usr/lib/ocaml/findlib";; before calling #use "topfind";; The #directory is present in /usr/lib/ocaml/topfind, but it seems that now, they don't have immediate effect. Cheers, -- Stéphane