English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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-22 (13:52)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] problem installing janestreet core through godi
On Wed, Oct 22, 2008 at 9:08 AM, Ashish Agarwal <agarwal1975@gmail.com> wrote:
> Thank you for the replies. In type_class.ml and type_class.mli, I
> replaced (*pp cpp $ARCH_FLAGS *) with (*pp gcc -E $ARCH_FLAGS *). The
> compilation gets further but now fails with:
> ...
> ocamlfind ocamlc -package type-conv -c -I +camlp4 -for-pack Bin_prot
> binable.ml
> File "binable.ml", line 36, characters 21-46:
> Unbound type constructor Type_class.writer

Great!  This means that this fix solved the problem.  You have now run
into another, known one: the "core" library is badly out of date, and
needs to be updated to work with newer releases of bin-prot.  We will
make a release within (probably) the next few weeks.  In the meanwhile
you might want to downgrade bin-prot to make it work with "core".

I'll add a patch to bin-prot to make it work on Macs in the meanwhile...


Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com