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 QAA16992; Sun, 19 Oct 2003 16:41:21 +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 QAA28705 for ; Sun, 19 Oct 2003 16:41:20 +0200 (MET DST) Received: from jamlikhet.polytechnique.org (b.mx.polytechnique.org [129.104.30.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h9JEfJ125386 for ; Sun, 19 Oct 2003 16:41:19 +0200 (MET DST) Received: from alan-schm1p.inria.fr (pool-141-151-23-235.phil.east.verizon.net [141.151.23.235]) by ssl.polytechnique.org (Postfix) with ESMTP id 42A4FB6F6; Sun, 19 Oct 2003 16:41:18 +0200 (CEST) Received: by alan-schm1p.inria.fr (Postfix, from userid 501) id 2F6E54144; Sun, 19 Oct 2003 10:41:12 -0400 (EDT) Date: Sun, 19 Oct 2003 10:41:12 -0400 From: Alan Schmitt To: Tom Hawkins Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Can't find Pervasives.cmi (3.07, MinGW, Win2000) Message-ID: <20031019144112.GB2946@alan-schm1p> References: <200310181229.49542.tom@launchbird.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <200310181229.49542.tom@launchbird.com> X-Editor: Vim http://vim.sf.net/ X-Info: http://pauillac.inria.fr/~aschmitt/ X-Operating-System: Linux/2.4.22-10mdk (i686) X-Uptime: 10:37:29 up 16:50, 1 user, load average: 0.08, 0.04, 0.01 User-Agent: Mutt/1.5.4i 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 bin:01 ocaml:01 X-Attachments: type="application/pgp-signature" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tom Hawkins (tom@launchbird.com) wrote: > I'm having difficulty getting 3.07 working on a Win 2000 box with the=20 > MinGW tool chain. When I try ocamlc.opt from either a Cygwin shell=20 > or a windows shell I get: >=20 > Fatal error: can not open pervasives.cmi >=20 > I've tried playing with the OCAMLLIB environment variable, but no=20 > luck. From what I gather from the docs, OCAMLLIB is only needed for=20 > ME or 98, but I thought it was worth a shot. >=20 > BTW, the interactive OCaml works just fine. >=20 > This is my first time trying to compile native Win32 executables. =20 > Till now I've only used the pure Cygwin-based port. >=20 > 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). HTH, Alan Schmitt --=20 The hacker: someone who figured things out and made something cool happen. --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/kqKHNIAqM4hFUWgRAnoyAJwNy4YUmQ8jMbjlGvMwz0/5GTUOLwCdGybC zwPjmhPx70fH+wEhijblV0c= =wFsj -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4-- ------------------- 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