From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA20933; Sun, 2 May 2004 23:37:47 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA20919 for ; Sun, 2 May 2004 23:37:46 +0200 (MET DST) Received: from av9-2-sn1.fre.skanova.net (av9-2-sn1.fre.skanova.net [81.228.11.116]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i42LbjEV001429 for ; Sun, 2 May 2004 23:37:45 +0200 Received: by av9-2-sn1.fre.skanova.net (Postfix, from userid 502) id 45F4337E6E; Sun, 2 May 2004 23:37:45 +0200 (CEST) Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by av9-2-sn1.fre.skanova.net (Postfix) with ESMTP id 3601037E42 for ; Sun, 2 May 2004 23:37:45 +0200 (CEST) Received: from unix.se (h243n1fls32o874.telia.com [213.65.181.243]) by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP id 0894D37E47 for ; Sun, 2 May 2004 23:37:45 +0200 (CEST) Message-ID: <40956A66.8000307@unix.se> Date: Sun, 02 May 2004 23:38:46 +0200 From: Malte Obbel Forsberg User-Agent: Mozilla Thunderbird 0.5 (X11/20040408) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91 References: <20040501145503.O68018@demos.bsdclusters.com> <20040501223624.GA26139@quick.recoil.org> In-Reply-To: <20040501223624.GA26139@quick.recoil.org> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 40956A29.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 kip:99 ocamldoc:01 otherlibs:01 otherlibs:01 -warn-error:01 odoc:01 mli:01 ocamlcomp:01 -pp:01 debug':01 bytecomp:01 stdlib:01 dynlink:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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