caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* New bee question
@ 2009-03-16 13:26 Andrey Riabushenko
  2009-03-16 14:21 ` [Caml-list] " Markus Mottl
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Riabushenko @ 2009-03-16 13:26 UTC (permalink / raw)
  To: caml-list

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? 


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

* Re: [Caml-list] New bee question
  2009-03-16 13:26 New bee question Andrey Riabushenko
@ 2009-03-16 14:21 ` Markus Mottl
  2009-03-16 14:53   ` Stefano Zacchiroli
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Mottl @ 2009-03-16 14:21 UTC (permalink / raw)
  To: Andrey Riabushenko; +Cc: caml-list

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


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

* Re: [Caml-list] New bee question
  2009-03-16 14:21 ` [Caml-list] " Markus Mottl
@ 2009-03-16 14:53   ` Stefano Zacchiroli
  0 siblings, 0 replies; 3+ messages in thread
From: Stefano Zacchiroli @ 2009-03-16 14:53 UTC (permalink / raw)
  To: caml-list

On Mon, Mar 16, 2009 at 10:21:09AM -0400, Markus Mottl wrote:
> 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.

BTW, since I've been hit by this several time, can you please guys
(Jane St) remove the old libraries from
http://www.janestreet.com/ocaml/ ? Beside core, all other libraries
listed there are also listed on yours (Markus) homepage which much
newer version.

The mismatch is puzzling as best.

... oh, and many thanks for the libraries anyhow, they rock ;)
Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime


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

end of thread, other threads:[~2009-03-16 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-16 13:26 New bee question Andrey Riabushenko
2009-03-16 14:21 ` [Caml-list] " Markus Mottl
2009-03-16 14:53   ` Stefano Zacchiroli

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