Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
OCaml: problems compiling
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1997-07-18 (09:35)
From: Paul A. Steckler <steck@s...>
Subject: OCaml: problems compiling
Frequently when compiling a file 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,
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