From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr 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 047C9BC57 for ; Mon, 15 Mar 2010 15:10:00 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQCAJbcnUtRZ90wkWdsb2JhbACacRUBAQEBCQsKBxMDH7dzhHsEjkQ X-IronPort-AV: E=Sophos;i="4.49,643,1262559600"; d="scan'208";a="47191905" Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]) by mail2-smtp-roc.national.inria.fr with ESMTP; 15 Mar 2010 15:09:59 +0100 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100315140959.FTDT4474.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Mon, 15 Mar 2010 14:09:59 +0000 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100315140959.USBI22934.aamtaout04-winn.ispmail.ntl.com@romulus.metastack.com>; Mon, 15 Mar 2010 14:09:59 +0000 Received: from Tenor ([172.16.0.8]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id o2FE9pq2016319 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 15 Mar 2010 14:09:53 GMT From: "David Allsopp" To: "'Michael Hicks'" , References: <484456F4-04AF-46AE-9B33-A52160606D3F@cs.umd.edu> In-Reply-To: <484456F4-04AF-46AE-9B33-A52160606D3F@cs.umd.edu> Subject: RE: [Caml-list] camelia on windows config problem Date: Mon, 15 Mar 2010 14:09:52 -0000 Message-ID: <00bd01cac449$31113b30$9333b190$@romulus.metastack.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHjLJDxxNis1D5AFCENJ/mr0H45XgDtz+3Q Content-Language: en-gb Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 81.102.132.77 X-Cloudmark-Analysis: v=1.1 cv=ZtHxNT4mZm3rCuM0SmWmgWxeBwJsziC8EqOrwwVkrhA= c=1 sm=0 a=bhoge6xANCkA:10 a=8sW17jYxVu0A:10 a=kj9zAlcOel0A:10 a=TbYsZBkhr9j2IovcdMkA:9 a=aL_9Yr8IpvzeFCZOP1bjpGLAzW8A:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Spam: no; 0.00; ocaml:01 ocaml:01 toplevel:01 pervasives:01 cmi:01 lib:01 cmi:01 ocamllib:01 ocamlc:01 -where:01 config:01 wrote:01 complains:01 caml-list:01 executables:01 Michael Hicks wrote: > I've just been playing with using camelia on Windows, since some > students in my class are using it. > > My problem is that I can't figure out how to configure Camelia to run a > non-Cygwin Ocaml. My installation puts the executables in C:\Program > Files\Objective Caml\bin, and I can redirect the configuration to look > here. But when Camelia tries to run the ocaml toplevel, it complains > that it cannot find pervasives.cmi. This is true when I also configure > the libraries to be in C:\Program Files\Objective Caml\lib\. When I run > ocaml from the terminal, it runs fine (i.e., it's able to find the .cmi > file). > > Any camelia users with ideas about what is going on? Thanks in advance! I don't use Camelia but have you set OCAMLLIB correctly? OCaml itself falls back on configured values if it's missing which might be masking an error? Have a look at the output of ocamlc -where. David