From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA03672; Sun, 19 Oct 2003 17:28:23 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA24579 for ; Sun, 19 Oct 2003 17:28:22 +0200 (MET DST) Received: from glow.phpwebhosting.com (Hosting-132-76.PHPWebHosting.Com [64.72.132.76] (may be forged)) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id h9JFSL128016 for ; Sun, 19 Oct 2003 17:28:21 +0200 (MET DST) Received: (qmail 27543 invoked from network); 19 Oct 2003 15:28:17 -0000 Received: from unknown (HELO sparky) (24.163.168.219) by hosting-132-76.phpwebhosting.com with SMTP; 19 Oct 2003 15:28:17 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Tom Hawkins Organization: Launchbird Design Systems, Inc. To: Alan Schmitt Subject: Re: [Caml-list] Can't find Pervasives.cmi (3.07, MinGW, Win2000) Date: Sun, 19 Oct 2003 10:39:28 -0500 User-Agent: KMail/1.4.3 Cc: caml-list@pauillac.inria.fr References: <200310181229.49542.tom@launchbird.com> <20031019144112.GB2946@alan-schm1p> In-Reply-To: <20031019144112.GB2946@alan-schm1p> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310191039.28504.tom@launchbird.com> X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 pervasives:01 mingw:01 3.07:01 mingw:01 ocamlc:01 cygwin:01 pervasives:01 ocamllib:01 ocamllib:01 cygwin-based:01 cygwin:01 non-cygwin:01 cygdrive:01 ocamlc:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sunday 19 October 2003 09:41 am, Alan Schmitt wrote: > * Tom Hawkins (tom@launchbird.com) wrote: > > I'm having difficulty getting 3.07 working on a Win 2000 box with > > the MinGW tool chain. When I try ocamlc.opt from either a Cygwin > > shell or a windows shell I get: > > > > Fatal error: can not open pervasives.cmi > > > > I've tried playing with the OCAMLLIB environment variable, but no > > luck. From what I gather from the docs, OCAMLLIB is only needed > > for ME or 98, but I thought it was worth a shot. > > > > BTW, the interactive OCaml works just fine. > > > > This is my first time trying to compile native Win32 executables. > > Till now I've only used the pure Cygwin-based port. > > > > Any suggestions? > > I've had similar problems, and it seems that a solution is to root > your install directory (where the bin and lib are going to go) > outside of the cygwin directory (like to c:\ocaml, for instance). > > It seems that the path that is put in the ocaml executable does not > make sense from a non-cygwin point of view (but this is just a > guess). I let it pick the default directory, "C:\Program Files\Objective=20 Caml\", and then I set OCAMLLIB to values such as: /cygdrive/c/Program\ Files/Objective\ Caml/ Again, I'm unclear if OCAMLLIB is needed with win2000. I don't think it's a Cygwin directory path problem, because I get the=20 same error when I run ocamlc from a windows command prompt.=20 -Tom > > HTH, > > Alan Schmitt --=20 Tom Hawkins Launchbird Design Systems, Inc. 952-200-3790 http://www.launchbird.com/ ------------------- 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