Browse thread
problem installing janestreet core through godi
[
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: | 2008-10-21 (20:22) |
From: | Markus Mottl <markus.mottl@g...> |
Subject: | Re: [Caml-list] problem installing janestreet core through godi |
2008/10/21 Ashish Agarwal <Ashish.Agarwal@yale.edu>: > I am having trouble installing JaneStreet's Core library through godi. > On Mac OS X, it fails while installing the prerequisite bin-prot: > ... >> ocamlfind ocamlc -package type-conv -c -pp "cpp $ARCH_FLAGS " -I +camlp4 >> type_class.mli >> File "type_class.mli", line 93, characters 15-16: >> Syntax error > ... > Line 93 of type_class.mli is: > MK_BASE(unit) It's possible that the C-preprocessor works differently on Mac OS X. I haven't investigated this yet, but would be grateful if anybody who has set up Godi on a Mac could try to find a patch. > On a Red Hat Enterprise Linux system, bin-prot successfully installs. > However, janestreet-core fails: > ... >> ocamlfind ocamlc -package res,sexplib,bin_prot,threads -c -thread -dtypes >> -for-pack Core -dtypes -I +camlp4 -I . binable.ml >> File "binable.ml", line 12, characters 21-47: >> Unbound type constructor Map_to_safe.sw_arg > ... > Line 12 of binable.ml is > val bin_sw_arg_t : binable Map_to_safe.sw_arg janestreet-core is out of date, and a new version will be released within the next few weeks. You might want to downgrade the bin-prot package installed in your Godi tree to an older version. Regards, Markus -- Markus Mottl http://www.ocaml.info markus.mottl@gmail.com