From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA27713 for caml-redistribution; Fri, 18 Jul 1997 11:35:00 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA20220 for ; Fri, 18 Jul 1997 02:22:13 +0200 (MET DST) Received: from linus.socs.uts.EDU.AU (linus.socs.uts.EDU.AU [138.25.8.1]) by nez-perce.inria.fr (8.8.5/8.7.3) with ESMTP id CAA19827 for ; Fri, 18 Jul 1997 02:22:09 +0200 (MET DST) Received: from seedknee.socs.uts.EDU.AU (seedknee [138.25.8.47]) by linus.socs.uts.EDU.AU (8.8.5/8.8.0) with ESMTP id KAA13759 for ; Fri, 18 Jul 1997 10:22:03 +1000 (EST) From: "Paul A. Steckler" Received: (from steck@localhost) by seedknee.socs.uts.EDU.AU (8.7.3/8.7.3) id KAA00023 for caml-list@inria.fr; Fri, 18 Jul 1997 10:21:52 +1000 (EST) Message-Id: <199707180021.KAA00023@seedknee.socs.uts.EDU.AU> Subject: OCaml: problems compiling To: caml-list@inria.fr Date: Fri, 18 Jul 1997 10:21:51 +1000 (EST) Reply-To: steck@socs.uts.EDU.AU X-Face: $K;!}gfR*UlL{MBaB*P%P==a_0%6QpYDNSH}P9}b+q5l6Z X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: weis Frequently when compiling a file foo.ml files with ocamlopt on a Sun Sparc, I get a message like: I/O error: foo.cmi: No such file or directory Note that it's complaining about the .cmi file for the file currently being compiled, not some other module. I can usually workaround this problem by removing any .cmi and .mli files, running ocamlc -c on foo.ml, and then rerunning ocamlopt. This strategy is haphazard, though, because I don't know what the true cause of the problem is. How can I avoid the error to begin with? -- Paul