ocaml - 'opam install uri' failed -
i'm trying install uri package opam keep running in error.
==== error [while installing uri.1.3.8] ==== # opam-version 0.9.6 (latest-103-g955b7ca) # os linux # command ocaml setup.ml -configure --prefix /root/.opam/system # path /root/.opam/system/build/uri.1.3.8 # exit-code 1 # env-file /root/.opam/system/build/uri.1.3.8/uri-ffb3fd.env # stdout-file /root/.opam/system/build/uri.1.3.8/uri-ffb3fd.out # stderr-file /root/.opam/system/build/uri.1.3.8/uri-ffb3fd.err ### stderr ### ocamlfind: package `compiler-libs.toplevel' not found w: field 'pkg_compiler_libs_toplevel' not set: command ''/root/.opam/system/bin/ocamlfind' query -format %d compiler-libs.toplevel > '/tmp/oasis-85d951.txt'' terminated error code 2 e: cannot find findlib package compiler-libs.toplevel e: failure("1 configuration error") 'opam install uri' failed. i'm pretty new ocaml , opam repo. have no idea going wrong. running ubuntu 12.04 , have ocaml 3.12.1 installed.
thanks insight can provide!
i installing uri under 3.12.1 without issues.
3.12.1 under system ocaml compiler, right? , installed ocaml via aptitude? in case need install ocaml-compiler-libs. there number of other optional packages ocaml needed , may run in future --camlp4-extra see missed , oft needed. maximal list here.
i upgrade opam, since there changes uri package 2 days ago. opam update; opam upgrade. require re-compilation, , make sure switched correct compiler.
Comments
Post a Comment