caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Malte Obbel Forsberg <malte@unix.se>
To: caml-list@inria.fr
Subject: Re: [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91
Date: Sun, 02 May 2004 23:38:46 +0200	[thread overview]
Message-ID: <40956A66.8000307@unix.se> (raw)
In-Reply-To: <20040501223624.GA26139@quick.recoil.org>

Anil Madhavapeddy wrote:
> On Sat, May 01, 2004 at 03:05:27PM -0700, Kip Macy wrote:
> 
>>Everything appears to go smoothly but I get errors in compiling
>>ocamldoc. I've attached the full build log.
>>
>>ynlink -I ../otherlibs/unix -I ../otherlibs/num -I ../otherlibs/graph
>>-warn-error A -c odoc_sig.mli
>>../ocamlcomp.sh -pp './remove_DEBUG' -I ../parsing -I ../utils -I
>>../typing -I ../driver -I ../bytecomp -I ../tools -I ../toplevel/ -I
>>../stdlib -I ../otherlibs/str -I ../otherlibs/dynlink -I
>>../otherlibs/unix -I ../otherlibs/num -I ../otherlibs/graph -warn-error
>>A -c odoc_sig.ml
>>File "odoc_sig.ml", line 1302, characters 16-17:
>>Syntax error
>>make[1]: *** [odoc_sig.cmo] Error 2
>>make[1]: Leaving directory `/home/kmacy/tmp/ocaml-3.07/ocamldoc'
>>make: *** [ocamldoc] Error 2
> 
> 
> That's odd... I found 3.07p2 died far earlier on openbsd/amd64 since exception
> handling is broken in the current release ... have you tried compiling
> the cvs version instead?
> 
> The smallest fix (modified a bit to work with our older binutils) is at:
> http://www.openbsd.org/cgi-bin/cvsweb.cgi/ports/lang/ocaml/patches/patch-asmrun_amd64_S
> 
> Not sure it'll help this particular problem, but worth a try...
> 

IIRC all you need to do is make sure that LC_ALL (and LANG?) is "c". I 
get the exact same thing here if I don't do that (I'm using utf-8).

That is, run LC_ALL=c make.

--
Malte Obbel Forsberg

-------------------
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/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2004-05-02 21:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-01 22:05 Kip Macy
2004-05-01 22:36 ` Anil Madhavapeddy
2004-05-02 21:38   ` Malte Obbel Forsberg [this message]
2004-05-02 12:10 ` Matthieu Sozeau
2004-05-02 16:13   ` Kip Macy

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=40956A66.8000307@unix.se \
    --to=malte@unix.se \
    --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).