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] problems compiling on x86_64 Fedora Core relase 1.91
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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
>>../ -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
>>File "", 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:
> 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 Archives:
Bug reports: FAQ:
Beginner's list: