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

Trouble installing mirage from OPAM



Hi gang,

I'm trying to get back into mirage hacking after a year or so away from it and I can't remember how to setup a fresh environment on a new laptop. This is on OS X 10.8 with homebrew installed opam (0.9.2).

Unfortunately, trying to install mirage from OPAM results in a build failure for optcomp. This same problem occurs with either the dev repo or the new opam-repository that anil sent out today.

Thanks!
@stevej

$ opam install mirage
The following actions will be performed:
Â- install optcomp.1.4 [required by mirage]
Â- install ocplib-endian.0.3 [required by mirage]
Â- install cstruct.0.6.2 [required by mirage]
Â- install xenstore.1.2.0 [required by mirage]
Â- install mirage.0.6.1
5 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
Do you want to continue ? [Y/n] y

=-=-= optcomp.1.4 =-=-=
Creating /Users/stevej/.opam/repo/dev/archives/optcomp.1.4+opam.tar.gz.
Extracting /Users/stevej/.opam/archives/optcomp.1.4+opam.tar.gz.
Building optcomp.1.4:
 ./configure --prefix /Users/stevej/.opam/3.12.1+mirage-unix-direct
 make
 make install
The compilation of optcomp.1.4 failed.
Uninstalling optcomp.1.4:
 ocamlfind remove optcomp
 rm /Users/stevej/.opam/3.12.1+mirage-unix-direct/bin/optcomp-o
 rm /Users/stevej/.opam/3.12.1+mirage-unix-direct/bin/optcomp-r

Due to some errors while processing optcomp.1.4, the following actions will NOT be proceeded:
Â- install cstruct.0.6.2
Â- install mirage.0.6.1
Â- install ocplib-endian.0.3
Â- install xenstore.1.2.0

==== ERROR [while installing optcomp.1.4] ====
# command     make
# path      Â/Users/stevej/.opam/3.12.1+mirage-unix-direct/build/optcomp.1.4
# exit-code    2
# env-file    Â/Users/stevej/.opam/3.12.1+mirage-unix-direct/build/optcomp.1.4/optcomp-2dea01.env
# stdout-file   /Users/stevej/.opam/3.12.1+mirage-unix-direct/build/optcomp.1.4/optcomp-2dea01.out
# stderr-file   /Users/stevej/.opam/3.12.1+mirage-unix-direct/build/optcomp.1.4/optcomp-2dea01.err
### stdout ###
...[truncated]
ocamlfind ocamlc -c -g -I src -package camlp4 -package camlp4.lib -package camlp4.quotations.o -I src -o src/optcomp.cmo src/optcomp.ml
ocamlfind ocamlc -c -I +camlp4 -I +camlp4/Camlp4Parsers -I +camlp4/Camlp4Printers -I +camlp4/Camlp4Filters -g -I src -package camlp4 -package camlp4.lib -package camlp4.quotations.o -I src -o src/optcomp_o.cmo src/optcomp_o.ml
ocamlfind ocamlopt -c -g -I src -package camlp4 -package camlp4.lib -package camlp4.quotations.o -I src -o src/optcomp.cmx src/optcomp.ml
ocamlfind ocamlopt -c -I +camlp4 -I +camlp4/Camlp4Parsers -I +camlp4/Camlp4Printers -I +camlp4/Camlp4Filters -g -I src -package camlp4 -package camlp4.lib -package camlp4.quotations.o -I src -o src/optcomp_o.cmx src/optcomp_o.ml
ocamlfind ocamlopt -I +camlp4 camlp4fulllib.cmxa -g -linkpkg -package camlp4 -package camlp4.lib -package camlp4.quotations.o src/optcomp.cmxa src/optcomp.cmx src/optcomp_o.cmx -o src/optcomp_o.native
+ ocamlfind ocamlopt -I +camlp4 camlp4fulllib.cmxa -g -linkpkg -package camlp4 -package camlp4.lib -package camlp4.quotations.o src/optcomp.cmxa src/optcomp.cmx src/optcomp_o.cmx -o src/optcomp_o.native
File "_none_", line 1, characters 0-1:
Error: No implementations provided for the following modules:
    ÂDynlink referenced from /Users/stevej/.opam/3.12.1+mirage-unix-direct/lib/ocaml/camlp4/camlp4fulllib.cmxa(Camlp4)
Command exited with code 2.
### stderr ###
E: Failure("Command ''/Users/stevej/.opam/3.12.1+mirage-unix-direct/bin/ocamlbuild' src/optcomp.cma src/optcomp.cmxa src/optcomp.a src/optcomp_o.native src/optcomp_r.native -tag debug' terminated with error code 10")
make: *** [build] Error 1

'opam install mirage' failed.
Î ~
Â$ ocamlc -v
The Objective Caml compiler, version 3.12.1
Standard library directory: /Users/stevej/.opam/3.12.1+mirage-unix-direct/lib/ocaml
Î ~
Â$Â

 


Rackspace

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