* [Caml-list] ocaml-3.03-alpha doesn't compile
@ 2001-11-18 16:26 Marcin 'Qrczak' Kowalczyk
2001-11-18 16:41 ` Ceri Storey
[not found] ` <9t8oj6$dn$1@qrnik.zagroda>
0 siblings, 2 replies; 7+ messages in thread
From: Marcin 'Qrczak' Kowalczyk @ 2001-11-18 16:26 UTC (permalink / raw)
To: caml-list
It tries to run boot/ocamlrun which doesn't exist.
I symlinked ../byterun/ocamlrun - then it fails later:
File "parsing/longident.ml", line 38, characters 32-53:
This function expects too many arguments
This place looks fine though (faulty compiler?).
--
__("< 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] ocaml-3.03-alpha doesn't compile
2001-11-18 16:26 [Caml-list] ocaml-3.03-alpha doesn't compile Marcin 'Qrczak' Kowalczyk
@ 2001-11-18 16:41 ` Ceri Storey
2001-11-19 15:35 ` Xavier Leroy
[not found] ` <9tb94v$1dt$1@qrnik.zagroda>
[not found] ` <9t8oj6$dn$1@qrnik.zagroda>
1 sibling, 2 replies; 7+ messages in thread
From: Ceri Storey @ 2001-11-18 16:41 UTC (permalink / raw)
To: Marcin 'Qrczak' Kowalczyk; +Cc: caml-list
On Sun, Nov 18, 2001 at 04:26:12PM +0000, Marcin 'Qrczak' Kowalczyk wrote:
> It tries to run boot/ocamlrun which doesn't exist.
>
> I symlinked ../byterun/ocamlrun - then it fails later:
>
> File "parsing/longident.ml", line 38, characters 32-53:
> This function expects too many arguments
>
> This place looks fine though (faulty compiler?).
I've had that problem with building the new ocaml alpha release - with
exactly that error. Did you perchance use the -prefix option to
configure? When i've just used configure with no arguments it's worked,
though.
--
Ceri Storey <cez@pkl.net> http://pkl.net/~cez/
vi(1)! postfix(7)! pie(5)!
-------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] ocaml-3.03-alpha doesn't compile
[not found] ` <9t8oj6$dn$1@qrnik.zagroda>
@ 2001-11-18 16:58 ` Marcin 'Qrczak' Kowalczyk
0 siblings, 0 replies; 7+ messages in thread
From: Marcin 'Qrczak' Kowalczyk @ 2001-11-18 16:58 UTC (permalink / raw)
To: caml-list
Sun, 18 Nov 2001 16:41:56 +0000, Ceri Storey <cez@pkl.net> pisze:
> I've had that problem with building the new ocaml alpha release - with
> exactly that error. Did you perchance use the -prefix option to
> configure?
No, I ran configure with no options.
--
__("< 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] ocaml-3.03-alpha doesn't compile
2001-11-18 16:41 ` Ceri Storey
@ 2001-11-19 15:35 ` Xavier Leroy
[not found] ` <9tb94v$1dt$1@qrnik.zagroda>
1 sibling, 0 replies; 7+ messages in thread
From: Xavier Leroy @ 2001-11-19 15:35 UTC (permalink / raw)
To: Ceri Storey; +Cc: Marcin 'Qrczak' Kowalczyk, caml-list
> > It tries to run boot/ocamlrun which doesn't exist.
Make sure you do "make world", not just "make".
- Xavier Leroy
-------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] ocaml-3.03-alpha doesn't compile
[not found] ` <9tb94v$1dt$1@qrnik.zagroda>
@ 2001-11-19 16:09 ` Marcin 'Qrczak' Kowalczyk
2001-11-19 18:43 ` Daniel de Rauglaudre
[not found] ` <9tbk93$geb$1@qrnik.zagroda>
0 siblings, 2 replies; 7+ messages in thread
From: Marcin 'Qrczak' Kowalczyk @ 2001-11-19 16:09 UTC (permalink / raw)
To: caml-list
Mon, 19 Nov 2001 16:35:38 +0100, Xavier Leroy <xavier.leroy@inria.fr> pisze:
> Make sure you do "make world", not just "make".
Oops, ok.
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:
--- camlp4/ocaml_src/meta/Makefile~ Tue Oct 2 13:49:03 2001
+++ camlp4/ocaml_src/meta/Makefile Mon Nov 19 17:05:56 2001
@@ -2,7 +2,7 @@
include ../../config/Makefile
-INCLUDES=-I ../camlp4 -I ../../boot -I $(OTOP)/utils
+INCLUDES=-I ../camlp4 -I ../../boot -I ../../../parsing -I $(OTOP)/utils
OCAMLCFLAGS=$(INCLUDES)
OBJS=q_MLast.cmo pa_r.cmo pa_rp.cmo pa_extend.cmo pa_extend_m.cmo pa_ifdef.cmo pr_dump.cmo
CAMLP4RM=pa_r.cmo pa_rp.cmo pr_dump.cmo
--- camlp4/meta/Makefile~ Sat Sep 29 03:08:35 2001
+++ camlp4/meta/Makefile Mon Nov 19 17:07:51 2001
@@ -2,7 +2,7 @@
include ../config/Makefile
-INCLUDES=-I ../camlp4 -I ../boot -I $(OTOP)/utils
+INCLUDES=-I ../camlp4 -I ../boot -I ../../parsing -I $(OTOP)/utils
OCAMLCFLAGS=$(INCLUDES)
OBJS=q_MLast.cmo pa_r.cmo pa_rp.cmo pa_extend.cmo pa_extend_m.cmo pa_ifdef.cmo pr_dump.cmo
CAMLP4RM=pa_r.cmo pa_rp.cmo pr_dump.cmo
--
__("< 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] ocaml-3.03-alpha doesn't compile
2001-11-19 16:09 ` Marcin 'Qrczak' Kowalczyk
@ 2001-11-19 18:43 ` Daniel de Rauglaudre
[not found] ` <9tbk93$geb$1@qrnik.zagroda>
1 sibling, 0 replies; 7+ messages in thread
From: Daniel de Rauglaudre @ 2001-11-19 18:43 UTC (permalink / raw)
To: caml-list
Hi,
On Mon, Nov 19, 2001 at 04:09:35PM +0000, Marcin 'Qrczak' Kowalczyk wrote:
> 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".
Moreover, I don't understand why your above error message talks
about"/usr/local/lib/ocaml/parsetree.cmi". OCaml is not supposed to
install "parsetree.cmi" in the destination library directory. Did you
installed it yourself by hand?
--
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Caml-list] ocaml-3.03-alpha doesn't compile
[not found] ` <9tbk93$geb$1@qrnik.zagroda>
@ 2001-11-19 20:48 ` Marcin 'Qrczak' Kowalczyk
0 siblings, 0 replies; 7+ messages in thread
From: Marcin 'Qrczak' Kowalczyk @ 2001-11-19 20:48 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-11-19 20:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-18 16:26 [Caml-list] ocaml-3.03-alpha doesn't compile Marcin 'Qrczak' Kowalczyk
2001-11-18 16:41 ` Ceri Storey
2001-11-19 15:35 ` Xavier Leroy
[not found] ` <9tb94v$1dt$1@qrnik.zagroda>
2001-11-19 16:09 ` Marcin 'Qrczak' Kowalczyk
2001-11-19 18:43 ` Daniel de Rauglaudre
[not found] ` <9tbk93$geb$1@qrnik.zagroda>
2001-11-19 20:48 ` Marcin 'Qrczak' Kowalczyk
[not found] ` <9t8oj6$dn$1@qrnik.zagroda>
2001-11-18 16:58 ` Marcin 'Qrczak' Kowalczyk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox