caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Haruo Hosoya <hahosoya@kurims.kyoto-u.ac.jp>
To: caml-list@inria.fr
Subject: [Caml-list] O'Caml 3.04 compilation
Date: Tue, 18 Dec 2001 19:03:56 +0900	[thread overview]
Message-ID: <20011218190356L.hahosoya@kurims.kyoto-u.ac.jp> (raw)

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


             reply	other threads:[~2001-12-18 19:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-18 10:03 Haruo Hosoya [this message]
2001-12-20  2:01 ` Jacques Garrigue
2001-12-20  6:28   ` Mattias Waldau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011218190356L.hahosoya@kurims.kyoto-u.ac.jp \
    --to=hahosoya@kurims.kyoto-u.ac.jp \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).