ocaml OCaml version 4.14.0 # 5+6;; - : int = 11 # 45 + 8;; - : int = 53 # ^[[A
$ utop
Fatal error: cannot load shared library dlllambda-term_stubs
Reason: dlllambda-term_stubs.so: cannot open shared object file: No such file or directory
# urpmi opam
$ opam init
opam install utop
[ERROR] The compilation of ocamlfind failed at "make all".
$ opam install utop The following actions will be performed: ∗ install base-ocamlbuild base [required by ocamlbuild] ∗ install conf-m4 1 [required by ocamlfind] ∗ install result 1.2 [required by lwt] ∗ install ocamlbuild 0 [required by cppo, lambda-term] ∗ install ocamlfind 1.7.3 [required by utop] ∗ install topkg 0.9.0 [required by react] ∗ install ppx_tools 5.0+4.02.0 [required by lwt] ∗ install jbuilder 1.0+beta12 [required by utop] ∗ install cppo 1.4.0 [required by utop] ∗ install react 1.2.1 [required by utop] ∗ install camomile 0.8.5 [required by zed] ∗ install lwt 2.7.1 [required by utop] For module Lwt_react, please install package lwt_react ∗ install zed 1.3 [required by lambda-term] ∗ install lambda-term 1.10.1 [required by utop] ∗ install utop 2.0.1 ===== ∗ 15 ===== Do you want to continue ? [Y/n] y
opam switch install 4.02.1
$ eval `opam config env`
$ opam install utop The following actions will be performed: ∗ install ocamlbuild 0 [required by utop] ∗ install conf-m4 1 [required by ocamlfind] ∗ install result 1.2 [required by lwt] ∗ install ocamlfind 1.7.3 [required by utop] ∗ install topkg 0.9.0 [required by react] ∗ install ppx_tools 5.0+4.02.0 [required by lwt] ∗ install cppo 1.4.0 [required by utop] ∗ install react 1.2.1 [required by utop] ∗ install camomile 0.8.5 [required by zed] ∗ install lwt 2.7.1 [required by utop] For module Lwt_react, please install package lwt_react ∗ install zed 1.3 [required by lambda-term] ∗ install lambda-term 1.10.1 [required by utop] ∗ install utop 1.19.3 ===== ∗ 13 ===== Do you want to continue ? [Y/n] y =-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [camomile] Archive in cache [cppo] Archive in cache [lambda-term] Archive in cache [lwt] Archive in cache [ocamlfind] Archive in cache [ppx_tools] Archive in cache [react] Archive in cache [topkg] Archive in cache [zed] Archive in cache [default] https://opam.ocaml.org/archives/result.1.2+opam.tar.gz downloaded [default] https://opam.ocaml.org/archives/utop.1.19.3+opam.tar.gz downloaded =-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ∗ installed ocamlbuild.0 ∗ installed conf-m4.1 ∗ installed result.1.2 ∗ installed ocamlfind.1.7.3 ∗ installed cppo.1.4.0 ∗ installed ppx_tools.5.0+4.02.0 ∗ installed topkg.0.9.0 ∗ installed react.1.2.1 ∗ installed lwt.2.7.1 ∗ installed camomile.0.8.5 ∗ installed zed.1.3 ∗ installed lambda-term.1.10.1 ∗ installed utop.1.19.3 Done.
Meuz, le 31/08/17. MaJ le 05/09/24