Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocaml-3.03-alpha doesn't compile
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Marcin 'Qrczak' Kowalczyk <qrczak@k...>
Subject: Re: [Caml-list] ocaml-3.03-alpha doesn't compile
Mon, 19 Nov 2001 19:43:49 +0100, Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr> pisze:

>> It fails in another way (The compiled interfaces ../../../utils/config.cmi
>> and /usr/local/lib/ocaml/parsetree.cmi make inconsistent assumptions over
>> interface Pervasives). I fixed it thus:
> 
> I don't understand your proposition of change. This directory does not
> depend on the files of the directory "parsing".

Well, it did - some module from there, perhaps indirectly, tried to
use Parsetree. I don't remember which module triggered this and I don't
know why.

Some module haven't found Parsetree in directories specified by -I, and
it happened that /usr/local/lib/ocaml was a symlink to /usr/lib/ocaml
where the previous version of OCaml was installed, and the new compiler
happened to actually look there despite it hasn't been installed yet,
and it found a module belonging to an older version of OCaml.

Anyway it helped and now OCaml-3.03 works for me. So if nothing there
should use Parsetree, we should investigate why it did. I can't easily
reproduce it now because I no longer have an incompatible version of
OCaml installed so it won't fail now.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^
QRCZAK

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr