*Hello everyone,* * I'm a beginner in Mirage and Ocaml. I have followed the installation instructions on the website and run several simple unikernel examples successfully. However, when I tried to build the Mirage-www unikernel, an odd error happened to me. Here is the error report:*
*#=== ERROR while installing hex.0.2.0 =========================================#* *# opam-version 1.2.1~rc2* *# os linux* *# command make* *# path /root/.opam/4.01.0/build/hex.0.2.0* *# compiler 4.01.0* *# exit-code 2* *# env-file /root/.opam/4.01.0/build/hex.0.2.0/hex-3961-1872ec.env* *# stdout-file /root/.opam/4.01.0/build/hex.0.2.0/hex-3961-1872ec.out* *# stderr-file /root/.opam/4.01.0/build/hex.0.2.0/hex-3961-1872ec.err* *### stdout ###* *# [...]* *# ocaml setup.ml <http://setup.ml> -build * *# /root/.opam/4.01.0/bin/ocamlopt.opt unix.cmxa -I /root/.opam/4.01.0/lib/ocaml/ocamlbuild /root/.opam/4.01.0/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml <http://myocamlbuild.ml> /root/.opam/4.01.0/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild* *# /root/.opam/4.01.0/bin/ocamlfind ocamldep -package cstruct -modules lib/hex.mli > lib/hex.mli.depends* *# /root/.opam/4.01.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package cstruct -I lib -o lib/hex.cmi lib/hex.mli* *# /root/.opam/4.01.0/bin/ocamlfind ocamldep -package cstruct -modules lib/hex.ml <http://hex.ml> > lib/hex.ml.depends* *# /root/.opam/4.01.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package cstruct -I lib -o lib/hex.cmo lib/hex.ml <http://hex.ml>* *# + /root/.opam/4.01.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package cstruct -I lib -o lib/hex.cmo lib/hex.ml <http://hex.ml>* *# File "lib/hex.ml <http://hex.ml>", line 75, characters 12-26:* *# Error: Unbound module Bytes* *# Command exited with code 2.* *### stderr ###* *# E: Failure("Command ''/root/.opam/4.01.0/bin/ocamlbuild' lib/hex.cma lib/hex.cmxa lib/hex.a lib/hex.cmxs lib_test/test.native -tag debug -tag tests' terminated with error code 10")* *# make: *** [build] Error 1* *Actually, I have installed the Bytes module. Here is "opam list":* *# 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 [email protected] http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
