From: "Alain Coste" <coste@irit.fr>
To: <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml-4.02.1 on windows XP
Date: Mon, 1 Dec 2014 16:46:18 +0100 [thread overview]
Message-ID: <365226A47D754482A02153F0E426ED26@Ganymede> (raw)
In-Reply-To: <E51C5B015DBD1348A1D85763337FB6D9E972F0BE@Remus.metastack.local>
Thank you for your answers.
David
You are right. I had completely forgotten the CAMLLIB environment
variable... After making it point to the 4.02 installation lib (and also
corrected the Path variable) everything works fine.
Fabrice
I saw this binary version 4.01, but as I am using a modified version of the
Graphics library (to have access to the three mouse buttons, the wheel and
some other stuff), I need to recompile the distribution from sources (at
least for Graphics). And some features of the 4.02 are also very tempting
("unification" between try and match...).
Alain Coste
----- Original Message -----
From: "David Allsopp" <dra-news@metastack.com>
To: <caml-list@inria.fr>
Sent: Monday, December 01, 2014 11:57 AM
Subject: RE: [Caml-list] OCaml-4.02.1 on windows XP
Alain Coste wrote:
> Hello
> My OS is windows XP SP3.
<not-relevant>Then upgrade!</not-relevant>
> Two years ago, I installed OCaml.4.00.1 from the source code distribution,
> using MinGW Cygwin. Everything worked fine.
> Yesterday I tried to install OCaml.4.02.1 in the same conditions (source
> code,MinGW Cygwin).
> The process seems to be exactly the same, following README.win32 (except
> for the variable TK_ROOT in Makefile, no longer pertinent).
> The system build with no fatal error. I got some (many!) warnings, but as
> I remember, it was the same with version 4.00.1.
> But, when I tried to launch ocaml.exe I got the message:
>
> D:\OCaml-4.02.1-mgw-perso\bin>ocaml.exe
> OCaml version 4.02.1
>
> Fatal error: exception Cmi_format.Error(_)
Have you got the OCAMLLIB environment set and pointing to your old 4.00.1
installation lib directory? Looks like its picking up the wrong
pervasives.cmi. It's probably trying to show
Cmi_format.Error(Cmi_format.Wrong_version_interface("%OCAMLIB%\pervasives.cmi",
"an older")) but you can't install an exception printer if you can't start
ocaml!
David
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs=
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com
next prev parent reply other threads:[~2014-12-01 15:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-01 10:27 Alain Coste
2014-12-01 10:57 ` David Allsopp
2014-12-01 15:46 ` Alain Coste [this message]
2014-12-01 15:52 ` Fabrice Le Fessant
2014-12-01 10:59 ` Fabrice Le Fessant
2014-12-01 12:00 ` Daniel Bünzli
2014-12-05 18:49 ` Damien Doligez
2014-12-05 22:22 ` David Allsopp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=365226A47D754482A02153F0E426ED26@Ganymede \
--to=coste@irit.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox