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
problem installing janestreet core through godi
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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 <>:
> 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 .
>> File "", line 12, characters 21-47:
>> Unbound type constructor Map_to_safe.sw_arg
> ...
> Line 12 of 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.


Markus Mottl