Hello,
Sexplib has a function sexp_of_big_int and big_int_of_sexp, which means that Big_int is required. The findlib's META file agreed. Regards Sylvain Le Gall On Fri, Jun 04, 2010 at 03:41:08PM +0200, Andreas Romeyke wrote: > Package: libsexplib-camlp4-dev > Version: 3.7.4-3+b1 > Severity: normal > File: sexplib > > Hello, > > I am not sure if I am wrong, but compiling the attached ml-file with > ocamlbuild: > > ocamlbuild -j 2 -quiet -tags debug -no-links -cflags "-I +sexplib" > -lflags "-I +sexplib" -libs "sexplib" -pp "camlp4o > /usr/lib/ocaml/3.10.2/type-conv/pa_type_conv.cmo > /usr/lib/ocaml/3.10.2/sexplib/pa_sexp_conv.cmo " main_testsexplib.native > > I got the following compile error: > > No implementations provided for the following modules: > Big_int referenced from > /usr/lib/ocaml/3.10.2/sexplib/sexplib.cmxa(Sexplib) > Nat referenced from > /usr/lib/ocaml/3.10.2/sexplib/sexplib.cmxa(Sexplib) > Num referenced from > /usr/lib/ocaml/3.10.2/sexplib/sexplib.cmxa(Sexplib) > Bigarray referenced from > /usr/lib/ocaml/3.10.2/sexplib/sexplib.cmxa(Sexplib) > Ratio referenced from > /usr/lib/ocaml/3.10.2/sexplib/sexplib.cmxa(Sexplib) > Command exited with code 2. > > > > > -- System Information: > Debian Release: 5.0.4 > APT prefers stable > APT policy: (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages libsexplib-camlp4-dev depends on: > ii camlp4 3.10.2-3 Pre Processor Pretty Printer for > O > ii libtype-conv-camlp4-dev 1.5.0-3+b1 support library for OCaml > preproce > ii ocaml-findlib 1.2.1-5 Management tool for OCaml > programm > ii ocaml-nox [ocaml-nox-3.10.2] 3.10.2-3 ML language implementation with > a > > libsexplib-camlp4-dev recommends no packages. > > libsexplib-camlp4-dev suggests no packages. > > -- no debconf information > open Sexplib > open Sexp > open Conv > > TYPE_CONV_PATH "Conv_test" > > type all_t = > Foo > | Bar of int > | Baz of string list > with sexp > ;; > > let _ = > let bla=Foo in > Printf.printf "sexp:%s\n" (Sexp.to_string_hum (sexp_of_all_t bla)) Cheers Sylvain Le Gall -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org