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

Re: Trouble installing mirage from OPAM



Hi Steve,

>   ./configure --prefix /Users/stevej/.opam/3.12.1+mirage-unix-direct

The new "official" mirage compiler is now 4.01.0dev+mirage-unix, so you should 
run 'opam switch 4.01.0dev+mirage-unix'  before installing mirage. Regarding 
your error, native dynlink was broken with OCaml 3.12.1 on OSX.

Best.
Thomas

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