Version française
Home     About     Download     Resources     Contact us    
Browse thread
New bee question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] New bee question
On Mon, Mar 16, 2009 at 09:26, Andrey Riabushenko <cdome@bk.ru> wrote:
> I am trying to install ocaml with a set of libraries on my FreeBSD 7 machine.
>
> So far I have installed ocaml 3.10.2  from FreeBSD ports and I now trying to
> install bin_prot library manually.
>
> make  fails to build the bin-prot with the following error:
>
> gmake[2]: Leaving directory
> `/usr/home/eratosfen/Desktop/ocaml/bin-prot-1.0.5/lib'
> ocamlfind ocamlc -package type-conv -c -pp "camlp4orf " -for-pack Bin_prot -I
> +camlp4 pa_bin_prot.ml
> File "pa_bin_prot.ml", line 77, characters 19-48:
> Unbound value Gen.drop_variance_annotations
> gmake[1]: *** [pa_bin_prot.cmo] Error 2
> gmake[1]: Leaving directory
> `/usr/home/eratosfen/Desktop/ocaml/bin-prot-1.0.5/lib'
>
>
> What is Gen.drop_variance_annotations? and why it is absent?

This indicates that your type-conv library, on which bin-prot depends,
is not up-to-date.  It is also highly recommended to upgrade to the
newest compiler release.

Cheers,
Markus

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