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 PAA05652; Mon, 20 Oct 2003 15:07:52 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA00569; Mon, 20 Oct 2003 15:07:51 +0200 (MET DST) Date: Mon, 20 Oct 2003 15:07:51 +0200 From: Xavier Leroy To: Tom Hawkins Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Can't find Pervasives.cmi (3.07, MinGW, Win2000) Message-ID: <20031020150751.A13138@pauillac.inria.fr> References: <200310181229.49542.tom@launchbird.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200310181229.49542.tom@launchbird.com>; from tom@launchbird.com on Sat, Oct 18, 2003 at 12:29:49PM -0500 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 ocamlc:01 ocamllib:01 ocamllib:01 installer:01 installer:01 interfaces:01 manually:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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 One suggestion: "ocamlc -v" will print the path to the standard library where ocamlc looks for pervasives.cmi and other interfaces, so you can use this for troubleshooting. > 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. The OCAMLLIB environment variable is always honored. However, the installer knows how to set it to the correct value under Win NT, 2K and XP. Under 98 and ME, the installer does nothing to set the variable and this must be done manually, e.g. via autoexec.bat. Hope this helps, - Xavier Leroy ------------------- 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