caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [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

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;
as well as URLs for NNTP newsgroup(s).