Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

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

../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
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.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: