Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] O'Caml 3.04 compilation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Haruo Hosoya <hahosoya@k...>
Subject: [Caml-list] O'Caml 3.04 compilation
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