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

[MirageOS-devel] Compiling simple-nat



Hi,

I'm trying to compile the simple-nat as described in https://github.com/yomimono/simple-nat/blob/master/README.md.

I'm getting this... Any ideas?

BR,

Heikki


user@xendev:~$ opam pin add tcpip https://github.com/yomimono/mirage-tcpip.git#expose_routing_exn
tcpip is now git-pinned to https://github.com/yomimono/mirage-tcpip.git#expose_routing_exn

[ERROR] Command "git fetch -q origin +expose_routing_exn:refs/remotes/opam-ref" failed:
# opam-version 1.2.2
# osÂÂÂÂÂÂÂÂÂÂ linux
# commandÂÂÂÂÂ git fetch -q origin +expose_routing_exn:refs/remotes/opam-ref
# pathÂÂÂÂÂÂÂÂ /home/user/.opam/system/packages.dev/tcpip
# exit-codeÂÂÂ 128
# env-fileÂÂÂÂ /home/user/.opam/log/log-31685-1872ec.env
# stdout-file /home/user/.opam/log/log-31685-1872ec.out
# stderr-file /home/user/.opam/log/log-31685-1872ec.err
### stderr ###
# fatal: Couldn't find remote ref expose_routing_exn
# Unexpected end of command stream


user@xendev:~$ opam pin add mirage-nat https://github.com/yomimono/mirage-nat.git
Package mirage-nat does not exist, create as a NEW package ? [Y/n] y
mirage-nat is now git-pinned to https://github.com/yomimono/mirage-nat.git

[mirage-nat] https://github.com/yomimono/mirage-nat.git updated
[mirage-nat] Installing new package description from
https://github.com/yomimono/mirage-nat.git

mirage-nat needs to be installed.
The following actions will be performed:
 â install mirage-nat 0.6.0*
Do you want to continue ? [Y/n] y

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[mirage-nat] https://github.com/yomimono/mirage-nat.git already up-to-date

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of mirage-nat failed at "make".
Processing 1/1: [mirage-nat: ocamlfind remove]
#=== ERROR while installing mirage-nat.0.6.0 ==================================#
# opam-version 1.2.2
# osÂÂÂÂÂÂÂÂÂÂ linux
# commandÂÂÂÂÂ make
# pathÂÂÂÂÂÂÂÂ /home/user/.opam/system/build/mirage-nat.0.6.0
# compilerÂÂÂÂ system (4.02.3)
# exit-codeÂÂÂ 2
# env-fileÂÂÂÂ /home/user/.opam/system/build/mirage-nat.0.6.0/mirage-nat-15899-a00279.env
# stdout-file /home/user/.opam/system/build/mirage-nat.0.6.0/mirage-nat-15899-a00279.out
# stderr-file /home/user/.opam/system/build/mirage-nat.0.6.0/mirage-nat-15899-a00279.err
### stdout ###
# [...]
# Warning 40: Tcp was selected from type Nat_table.Key.protocol.
# It is not visible in the current scope, and will not
# be selected if the type becomes unknown.
# /home/user/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package cstruct -package ipaddr -package irmin -package irmin-network-datastores -package irmin.mem -package lwt -package mirage-profile -package sexplib -syntax camlp4o -package sexplib.syntax -package tc -package tcpip -I lib -o lib/nat_translations.cmo lib/nat_translations.ml
# /home/user/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package cstruct -package ipaddr -package irmin -package irmin-network-datastores -package irmin.mem -package lwt -package mirage-profile -package sexplib -syntax camlp4o -package sexplib.syntax -package tc -package tcpip -I lib -o lib/nat_decompose.cmo lib/nat_decompose.ml
# /home/user/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package cstruct -package ipaddr -package irmin -package irmin-network-datastores -package irmin.mem -package lwt -package mirage-profile -package sexplib -syntax camlp4o -package sexplib.syntax -package tc -package tcpip -I lib -o lib/nat_lookup.cmo lib/nat_lookup.ml
# + /home/user/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package cstruct -package ipaddr -package irmin -package irmin-network-datastores -package irmin.mem -package lwt -package mirage-profile -package sexplib -syntax camlp4o -package sexplib.syntax -package tc -package tcpip -I lib -o lib/nat_lookup.cmo lib/nat_lookup.ml
# File "lib/nat_lookup.ml", line 177, characters 13-24:
# Error: Unbound module Irmin.Basic
# Command exited with code 2.
### stderr ###
# E: Failure("Command ''/usr/bin/ocamlbuild' lib/mirage-nat.cma lib/mirage-nat.cmxa lib/mirage-nat.a lib/mirage-nat.cmxs -tag debug' terminated with error code 10")
# make: *** [build] Error 1



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
 â install mirage-nat 0.6.0
No changes have been performed
[NOTE] Pinning command successful, but your installed packages may be out of
ÂÂÂÂÂÂ sync.

_______________________________________________
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®.