caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Not being able to build Ocaml in Fedora 12
@ 2011-05-28 14:50 Ramanuj Bhattacharyya
  2011-05-28 16:01 ` Richard W.M. Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Ramanuj Bhattacharyya @ 2011-05-28 14:50 UTC (permalink / raw)
  To: caml-list; +Cc: Ansuman Banerjee

[-- Attachment #1: Type: text/plain, Size: 2890 bytes --]

Dear sir/ Madam,

For one of our research papers, we have decided to use *CIL* as the
instrumentation tool. For that *Ocaml* is required. Unfortunately, I am not
being able to build Ocaml in Fedora 12. The respective gcc is : gcc-4.4.2.
Can you please let me know what mistakes I am doing ? I did not find the
help regarding fedora 12 and gcc-4.4.2 in any of the discussion forums.

Here is the log of "make":

../../ocamlcomp.sh -c -warn-error A -g  nat.mli
../../ocamlcomp.sh -c -warn-error A -g  nat.ml
../../ocamlcomp.sh -c -warn-error A -g  big_int.mli
../../ocamlcomp.sh -c -warn-error A -g  big_int.ml
../../ocamlcomp.sh -c -warn-error A -g  arith_flags.ml
../../ocamlcomp.sh -c -warn-error A -g  ratio.mli
../../ocamlcomp.sh -c -warn-error A -g  ratio.ml
../../ocamlcomp.sh -c -warn-error A -g  num.mli
../../ocamlcomp.sh -c -warn-error A -g  num.ml
../../ocamlcomp.sh -c -warn-error A -g  arith_status.mli
../../ocamlcomp.sh -c -warn-error A -g  arith_status.ml
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/home/Maitrayee/Ph.D/ocaml-3.12.0/otherlibs/num'
make[2]: Entering directory
`/home/Maitrayee/Ph.D/ocaml-3.12.0/otherlibs/dynlink'
make[2]: Warning: File `Makefile' has modification time 1.1e+08 s in the
future
../../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I
../../utils -I ../../typing -I ../../bytecomp -I ../../asmcomp ../../utils/
misc.ml
../../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I
../../utils -I ../../typing -I ../../bytecomp -I ../../asmcomp ../../utils/
clflags.ml
../../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I
../../utils -I ../../typing -I ../../bytecomp -I ../../asmcomp ../../utils/
tbl.ml
../../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I
../../utils -I ../../typing -I ../../bytecomp -I ../../asmcomp ../../utils/
warnings.ml
../../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I
../../utils -I ../../typing -I ../../bytecomp -I ../../asmcomp
../../parsing/asttypes.mli
../../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I
../../utils -I ../../typing -I ../../bytecomp -I ../../asmcomp
../../parsing/location.ml
File "../../parsing/location.ml", line 211, characters 6-26:
Error: Unbound module Linenum
make[2]: *** [../../parsing/location.cmo] Error 2
make[2]: Leaving directory
`/home/Maitrayee/Ph.D/ocaml-3.12.0/otherlibs/dynlink'
make[1]: *** [otherlibraries] Error 2
make[1]: Leaving directory `/home/Maitrayee/Ph.D/ocaml-3.12.0'
make: *** [world] Error 2

Can you please help me out for it ? I really need it.

Thanks in advance for your cooperation.

Regards,
Ramanuj

***********************************************
Ramanuj Bhattacharyya
Principal Engineer,
Interra Systems India Pvt. Ltd.
He who asks is a fool for five minutes, but he who does not ask remains a
fool forever.

[-- Attachment #2: Type: text/html, Size: 5417 bytes --]

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

* Re: [Caml-list] Not being able to build Ocaml in Fedora 12
  2011-05-28 14:50 [Caml-list] Not being able to build Ocaml in Fedora 12 Ramanuj Bhattacharyya
@ 2011-05-28 16:01 ` Richard W.M. Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Richard W.M. Jones @ 2011-05-28 16:01 UTC (permalink / raw)
  To: Ramanuj Bhattacharyya; +Cc: caml-list, Ansuman Banerjee

On Sat, May 28, 2011 at 08:20:51PM +0530, Ramanuj Bhattacharyya wrote:
> For one of our research papers, we have decided to use *CIL* as the
> instrumentation tool. For that *Ocaml* is required. Unfortunately, I am not
> being able to build Ocaml in Fedora 12. The respective gcc is : gcc-4.4.2.
> Can you please let me know what mistakes I am doing ? I did not find the
> help regarding fedora 12 and gcc-4.4.2 in any of the discussion forums.

Feora 12 is well out of support.  It's very unwise to use these old
unsupported versions.

In addition, OCaml and CIL are already in Fedora (OCaml since
approximately forever), and indeed Fedora 15 has very the latest
versions of both.  You don't need to compile either from source.

Rich.

-- 
Richard Jones
Red Hat

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

end of thread, other threads:[~2011-05-28 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-28 14:50 [Caml-list] Not being able to build Ocaml in Fedora 12 Ramanuj Bhattacharyya
2011-05-28 16:01 ` Richard W.M. Jones

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