Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ocaml under cygwin

63 views
Skip to first unread message

HS

unread,
Aug 16, 2007, 8:54:16 AM8/16/07
to
Hi folks!
I'm trying to install ocaml 3.10 under cygwin under windows xp.
Even though these commands run fine:

./configure
make world
make opt
make install

when I try to start the interactive shell i get:

$ ocaml
Objective Caml version 3.10.0

Fatal error: exception Env.Error(_)

Or when I try to compile a file with only Printf.printf "Hello!" i
get:

$ ocamlopt teste.ml -o teste.exe
Corrupted compiled interface
C:\Arquivos de programas\Objective Caml\lib/pervasives.cmi

Do you have any idea on what can be happening ?
Maybe there's a problem because I also have native ocaml installed ?
(I am forcing the current directory version with ./ocaml though)

Thanks in advance,
weber

carobe...@gmail.com

unread,
Apr 6, 2013, 7:26:16 AM4/6/13
to
Hi :)

I know it is a very old message but I met the same problem today.

The issue arises when you have Ocaml installed both on Windows and Cygwin. The solution is to uninstall OCaml on Windows.
0 new messages