Browse thread
[Caml-list] problems compiling on x86_64 Fedora Core relase 1.91
-
Kip Macy
-
Anil Madhavapeddy
- Malte Obbel Forsberg
- Matthieu Sozeau
-
Anil Madhavapeddy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-05-02 (21:37) |
From: | Malte Obbel Forsberg <malte@u...> |
Subject: | Re: [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91 |
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