* [Caml-list] O'Caml 3.04 compilation
@ 2001-12-18 10:03 Haruo Hosoya
2001-12-20 2:01 ` Jacques Garrigue
0 siblings, 1 reply; 3+ messages in thread
From: Haruo Hosoya @ 2001-12-18 10:03 UTC (permalink / raw)
To: caml-list
I failed to compile O'Caml 3.04 from its sources. Here is the
description.
Platform: Solaris 8 for Intel
Processor: Pentium 4
gcc: 3.01
I set SHELL variable to /usr/bin/sh.
I did "configure -prefix /staff/hahosoya/pkg" (pointing to a sub
directory of my home) and then "make world". Compilation stopped as
follows:
[snipped]
../boot/ocamlrun ../boot/ocamlc -I ../boot -I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -o scrapelabels misc.cmo warnings.cmo linenum.cmo location.cmo lexer301.cmo scrapelabels.cmo
../boot/ocamlrun ../boot/ocamlc -I ../boot -I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -w sl -o addlabels \
misc.cmo config.cmo clflags.cmo terminfo.cmo linenum.cmo warnings.cmo location.cmo longident.cmo syntaxerr.cmo parser.cmo lexer.cmo parse.cmo addlabels.ml
gmake[1]: Leaving directory `/staff/hahosoya/src/caml/ocaml-3.04/tools'
cd stdlib; gmake all
gmake[1]: Entering directory `/staff/hahosoya/src/caml/ocaml-3.04/stdlib'
../boot/ocamlrun ../ocamlc -g -nopervasives -c pervasives.mli
File "pervasives.mli", line 50, characters 21-23:
Syntax error
gmake[1]: *** [pervasives.cmi] Error 2
gmake[1]: Leaving directory `/staff/hahosoya/src/caml/ocaml-3.04/stdlib'
gmake: *** [library] Error 2
I also tried turning off optimization of gcc. (I changed CFLAGS in
byterun/Makefile and asm/Makefile). The result was the same.
Haruo
-------------------
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] 3+ messages in thread
* Re: [Caml-list] O'Caml 3.04 compilation
2001-12-18 10:03 [Caml-list] O'Caml 3.04 compilation Haruo Hosoya
@ 2001-12-20 2:01 ` Jacques Garrigue
2001-12-20 6:28 ` Mattias Waldau
0 siblings, 1 reply; 3+ messages in thread
From: Jacques Garrigue @ 2001-12-20 2:01 UTC (permalink / raw)
To: hahosoya; +Cc: caml-list
Hi,
> I failed to compile O'Caml 3.04 from its sources. Here is the
> description.
>
> Platform: Solaris 8 for Intel
> Processor: Pentium 4
> gcc: 3.01
>
> I did "configure -prefix /staff/hahosoya/pkg" (pointing to a sub
> directory of my home) and then "make world". Compilation stopped as
> follows:
>
> [snipped]
> gmake[1]: Entering directory `/staff/hahosoya/src/caml/ocaml-3.04/stdlib'
> ../boot/ocamlrun ../ocamlc -g -nopervasives -c pervasives.mli
> File "pervasives.mli", line 50, characters 21-23:
> Syntax error
> gmake[1]: *** [pervasives.cmi] Error 2
> gmake[1]: Leaving directory `/staff/hahosoya/src/caml/ocaml-3.04/stdlib'
> gmake: *** [library] Error 2
Strange error. Might it be Pentium 4 related? I had no problem with
same environment on Pentium III.
Anyway, ocaml 3.04 is already installed in /usr/local/bin
(this guy is in my institute).
Cheers,
Jacques Garrigue
-------------------
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] 3+ messages in thread
* RE: [Caml-list] O'Caml 3.04 compilation
2001-12-20 2:01 ` Jacques Garrigue
@ 2001-12-20 6:28 ` Mattias Waldau
0 siblings, 0 replies; 3+ messages in thread
From: Mattias Waldau @ 2001-12-20 6:28 UTC (permalink / raw)
To: Jacques Garrigue, hahosoya; +Cc: caml-list
I just successfully compiled 3.04 (make world, make bootstrap, make opt.opt)
and everything runs fins. I am using redhat 7.1, gcc 2.9x, P4.
I would look for the error in gcc3.
/mattias
P.s. I am still not using 3.04. I am using a lot of external packages
that has to be adapted first.
> -----Original Message-----
> From: owner-caml-list@pauillac.inria.fr
> [mailto:owner-caml-list@pauillac.inria.fr]On Behalf Of Jacques Garrigue
> Sent: Thursday, December 20, 2001 3:02 AM
> To: hahosoya@kurims.kyoto-u.ac.jp
> Cc: caml-list@inria.fr
> Subject: Re: [Caml-list] O'Caml 3.04 compilation
>
>
> Hi,
>
> > I failed to compile O'Caml 3.04 from its sources. Here is the
> > description.
> >
> > Platform: Solaris 8 for Intel
> > Processor: Pentium 4
> > gcc: 3.01
> >
> > I did "configure -prefix /staff/hahosoya/pkg" (pointing to a sub
> > directory of my home) and then "make world". Compilation stopped as
> > follows:
> >
> > [snipped]
> > gmake[1]: Entering directory
> `/staff/hahosoya/src/caml/ocaml-3.04/stdlib'
> > ../boot/ocamlrun ../ocamlc -g -nopervasives -c pervasives.mli
> > File "pervasives.mli", line 50, characters 21-23:
> > Syntax error
> > gmake[1]: *** [pervasives.cmi] Error 2
> > gmake[1]: Leaving directory `/staff/hahosoya/src/caml/ocaml-3.04/stdlib'
> > gmake: *** [library] Error 2
>
> Strange error. Might it be Pentium 4 related? I had no problem with
> same environment on Pentium III.
>
> Anyway, ocaml 3.04 is already installed in /usr/local/bin
> (this guy is in my institute).
>
> Cheers,
>
> Jacques Garrigue
> -------------------
> 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
-------------------
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] 3+ messages in thread
end of thread, other threads:[~2001-12-20 6:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-18 10:03 [Caml-list] O'Caml 3.04 compilation Haruo Hosoya
2001-12-20 2:01 ` Jacques Garrigue
2001-12-20 6:28 ` Mattias Waldau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox