caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91
@ 2004-05-01 22:05 Kip Macy
  2004-05-01 22:36 ` Anil Madhavapeddy
  2004-05-02 12:10 ` Matthieu Sozeau
  0 siblings, 2 replies; 5+ messages in thread
From: Kip Macy @ 2004-05-01 22:05 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: TEXT/PLAIN, Size: 682 bytes --]

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

[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 15195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91
  2004-05-01 22:05 [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91 Kip Macy
@ 2004-05-01 22:36 ` Anil Madhavapeddy
  2004-05-02 21:38   ` Malte Obbel Forsberg
  2004-05-02 12:10 ` Matthieu Sozeau
  1 sibling, 1 reply; 5+ messages in thread
From: Anil Madhavapeddy @ 2004-05-01 22:36 UTC (permalink / raw)
  To: Kip Macy; +Cc: caml-list

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...

-- 
Anil Madhavapeddy                                 http://anil.recoil.org
University of Cambridge                          http://www.cl.cam.ac.uk

-------------------
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91
  2004-05-01 22:05 [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91 Kip Macy
  2004-05-01 22:36 ` Anil Madhavapeddy
@ 2004-05-02 12:10 ` Matthieu Sozeau
  2004-05-02 16:13   ` Kip Macy
  1 sibling, 1 reply; 5+ messages in thread
From: Matthieu Sozeau @ 2004-05-02 12:10 UTC (permalink / raw)
  To: caml-list

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

It's a known bug with sed and an unset or strange locale setting. Try
rebuilding with LC_ALL=C.

-------------------
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91
  2004-05-02 12:10 ` Matthieu Sozeau
@ 2004-05-02 16:13   ` Kip Macy
  0 siblings, 0 replies; 5+ messages in thread
From: Kip Macy @ 2004-05-02 16:13 UTC (permalink / raw)
  To: Matthieu Sozeau; +Cc: caml-list

Great. Thanks.


On Sun, 2 May 2004, Matthieu Sozeau 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
>
> It's a known bug with sed and an unset or strange locale setting. Try
> rebuilding with LC_ALL=C.
>
> -------------------
> 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
>

-------------------
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91
  2004-05-01 22:36 ` Anil Madhavapeddy
@ 2004-05-02 21:38   ` Malte Obbel Forsberg
  0 siblings, 0 replies; 5+ messages in thread
From: Malte Obbel Forsberg @ 2004-05-02 21:38 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-02 21:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-01 22:05 [Caml-list] problems compiling on x86_64 Fedora Core relase 1.91 Kip Macy
2004-05-01 22:36 ` Anil Madhavapeddy
2004-05-02 21:38   ` Malte Obbel Forsberg
2004-05-02 12:10 ` Matthieu Sozeau
2004-05-02 16:13   ` Kip Macy

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).