[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Question about Mirage-www



# File "lib/hex.ml", line 75, characters 12-26:
# Error: Unbound module Bytes

Actually, I have installed the Bytes module. Here is "opam list":

You seem to not have the "bytes" ocamlfind library installed. You should have:

$ ocamlfind query bytes
/Users/thomas/.opam/mirage/lib/bytes

If not, try to reinstall ocamlfind.
if yes, can you try to go in the build directory of the package and try to add the library manually?

eval `opam config env`
cd /root/.opam/4.01.0/build/hex.0.2.0/_build
ocamlfind ocamlc -c -g -annot -bin-annot -package cstruct,bytes -I lib -o lib/hex.cmo lib/hex.m

If it works, I can release a new version of `ocaml-hex` with an explicit dependency to bytes.

Best,
Thomas


# Installed packages for 4.01.0:
asn1-combinators        0.1.2  Combinators for expressing ASN.1 grammars in OCaml
base-bigarray            base  Bigarray library distributed with the OCaml compiler
base-bytes             legacy  Bytes compatibility library distributed with ocamlfind
base-no-ppx              base  A pseudo-library to indicate lack of extension points support

I think base-bytes is supposed to be the Bytes module.  I googled this problem and nothing helped. Could anyone help me out of this? I'm truly grateful for your time!


Sa Wang
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.