From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id A38D67FB14 for ; Mon, 1 Dec 2014 16:46:34 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of coste@irit.fr) identity=pra; client-ip=80.12.242.133; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="coste@irit.fr"; x-sender="coste@irit.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of coste@irit.fr) identity=mailfrom; client-ip=80.12.242.133; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="coste@irit.fr"; x-sender="coste@irit.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.smtpout.orange.fr) identity=helo; client-ip=80.12.242.133; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="coste@irit.fr"; x-sender="postmaster@smtp.smtpout.orange.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar4BAAiNfFRQDPKFlGdsb2JhbABbg1dYhyWvEJAwhk4CgSsBAQEBAREBAQEBBwsLCRIwg30FAQEBAwEIAQEuHQIBFhAGAQEDBQIEDQQEAQEBCQQhFAEEGhIKCAYTCAIBAgMBAQiIEQMJDQnOJQOGJgEBCAEBAQEekEhAEIMTgR8FhHAGhWiEH4IIhE2IIzyPV4YSgWxugkcBAQE X-IPAS-Result: Ar4BAAiNfFRQDPKFlGdsb2JhbABbg1dYhyWvEJAwhk4CgSsBAQEBAREBAQEBBwsLCRIwg30FAQEBAwEIAQEuHQIBFhAGAQEDBQIEDQQEAQEBCQQhFAEEGhIKCAYTCAIBAgMBAQiIEQMJDQnOJQOGJgEBCAEBAQEekEhAEIMTgR8FhHAGhWiEH4IIhE2IIzyPV4YSgWxugkcBAQE X-IronPort-AV: E=Sophos;i="5.07,494,1413237600"; d="scan'208";a="110512540" Received: from smtp11.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) ([80.12.242.133]) by mail2-smtp-roc.national.inria.fr with ESMTP; 01 Dec 2014 16:46:22 +0100 Received: from Ganymede ([90.55.172.101]) by mwinf5d21 with ME id NFmN1p0052Bd9Cy03FmNop; Mon, 01 Dec 2014 16:46:22 +0100 X-ME-Helo: Ganymede X-ME-Date: Mon, 01 Dec 2014 16:46:22 +0100 X-ME-IP: 90.55.172.101 Message-ID: <365226A47D754482A02153F0E426ED26@Ganymede> From: "Alain Coste" To: References: <3AF10A644F6848F39F306EA2C19D3E3F@Ganymede> Date: Mon, 1 Dec 2014 16:46:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Antivirus: avast! (VPS 141201-0, 01/12/2014), Outbound message X-Antivirus-Status: Clean Subject: Re: [Caml-list] OCaml-4.02.1 on windows XP 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= =20 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" To: 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. Then upgrade! > 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.c= mi", "an older")) but you can't install an exception printer if you can't start= =20 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=3D --- Ce courrier =E9lectronique ne contient aucun virus ou logiciel malveillant = parce que la protection avast! Antivirus est active. http://www.avast.com