Skip to content

Instantly share code, notes, and snippets.

@larsimmisch
Created March 31, 2015 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsimmisch/61ac89e861dedbad60cf to your computer and use it in GitHub Desktop.
Save larsimmisch/61ac89e861dedbad60cf to your computer and use it in GitHub Desktop.
opam install eliom
opam install eliom
The following actions will be performed:
∗ install uutf 0.9.4 [required by tyxml]
∗ install calendar 2.03.2 [required by eliom]
∗ install dbm 1.0 [required by ocsigenserver]
∗ install conf-pkg-config 1.0 [required by conf-libpcre]
∗ install cryptokit 1.10 [required by ocsigenserver]
∗ install lwt 2.4.6 [required by js_of_ocaml, ocsigenserver]
∗ install reactiveData 0.1 [required by eliom]
∗ install optcomp 1.6 [required by deriving]
∗ install tyxml 3.4.0 [required by eliom]
∗ install conf-libpcre 1 [required by pcre]
∗ install deriving 0.7 [required by eliom]
∗ install pcre 7.1.5 [required by ocsigenserver]
∗ install js_of_ocaml 2.5 [required by eliom]
∗ install ocamlnet 4.0.2 [required by ocsigenserver]
∗ install ocsigenserver 2.5 [required by eliom]
∗ install eliom 4.1.0
===== ∗ 16 =====
Do you want to continue ? [Y/n] y
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[calendar] Archive in cache
[cryptokit] Archive in cache
[dbm] Archive in cache
[default] https://opam.ocaml.org/archives/deriving.0.7+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/eliom.4.1.0+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/lwt.2.4.6+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/js_of_ocaml.2.5+opam.tar.gz downloaded
[optcomp] Archive in cache
[default] https://opam.ocaml.org/archives/pcre.7.1.5+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/reactiveData.0.1+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/ocsigenserver.2.5+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/uutf.0.9.4+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/ocamlnet.4.0.2+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/tyxml.3.4.0+opam.tar.gz downloaded
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
∗ installed calendar.2.03.2
∗ installed conf-pkg-config.1.0
∗ installed conf-libpcre.1
[ERROR] The compilation of cryptokit failed at "make".
[ERROR] The compilation of dbm failed at "make all".
[ERROR] The compilation of lwt failed at "make build".
∗ installed optcomp.1.6
∗ installed deriving.0.7
[ERROR] The compilation of pcre failed at "ocaml setup.ml -build".
∗ installed reactiveData.0.1
∗ installed uutf.0.9.4
∗ installed tyxml.3.4.0
#=== ERROR while installing cryptokit.1.10 ====================================#
# opam-version 1.2.1
# os darwin
# command make
# path /Users/lars/.opam/4.01.0/build/cryptokit.1.10
# compiler 4.01.0
# exit-code 2
# env-file /Users/lars/.opam/4.01.0/build/cryptokit.1.10/cryptokit-20523-4f1270.env
# stdout-file /Users/lars/.opam/4.01.0/build/cryptokit.1.10/cryptokit-20523-4f1270.out
# stderr-file /Users/lars/.opam/4.01.0/build/cryptokit.1.10/cryptokit-20523-4f1270.err
### stdout ###
# [...]
# ocamldoc: ............................................ /Users/lars/.opam/4.01.0/bin/ocamldoc
# pkg_unix: ............................................ /Users/lars/.opam/4.01.0/lib/ocaml
# pkg_num: ............................................. /Users/lars/.opam/4.01.0/lib/num
#
# ocaml setup.ml -build -classic-display
# /Users/lars/.opam/4.01.0/bin/ocamlopt.opt unix.cmxa -I /Users/lars/.opam/4.01.0/lib/ocaml/ocamlbuild /Users/lars/.opam/4.01.0/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /Users/lars/.opam/4.01.0/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlc -ccopt -O -ccopt -DHAVE_ZLIB -c src/arcfour.c
# + /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlc -ccopt -O -ccopt -DHAVE_ZLIB -c src/arcfour.c
# clang: error: unknown argument: '-fno-defer-pop'
# Command exited with code 2.
### stderr ###
# E: Failure("Command ''/Users/lars/.opam/4.01.0/bin/ocamlbuild' src/libcryptokit_stubs.a src/dllcryptokit_stubs.so src/cryptokit.cma src/cryptokit.cmxa src/cryptokit.a src/cryptokit.cmxs -tag debug -classic-display' terminated with error code 10")
# make: *** [build] Error 1
#=== ERROR while installing dbm.1.0 ===========================================#
# opam-version 1.2.1
# os darwin
# command make all
# path /Users/lars/.opam/4.01.0/build/dbm.1.0
# compiler 4.01.0
# exit-code 2
# env-file /Users/lars/.opam/4.01.0/build/dbm.1.0/dbm-20523-af3201.env
# stdout-file /Users/lars/.opam/4.01.0/build/dbm.1.0/dbm-20523-af3201.out
# stderr-file /Users/lars/.opam/4.01.0/build/dbm.1.0/dbm-20523-af3201.err
### stdout ###
# ocamlc -c -ccopt "" -ccopt "" cldbm.c
### stderr ###
# clang: error: unknown argument: '-fno-defer-pop'
# make: *** [cldbm.o] Error 2
#=== ERROR while installing lwt.2.4.6 =========================================#
# opam-version 1.2.1
# os darwin
# command make build
# path /Users/lars/.opam/4.01.0/build/lwt.2.4.6
# compiler 4.01.0
# exit-code 2
# env-file /Users/lars/.opam/4.01.0/build/lwt.2.4.6/lwt-20523-51aaa5.env
# stdout-file /Users/lars/.opam/4.01.0/build/lwt.2.4.6/lwt-20523-51aaa5.out
# stderr-file /Users/lars/.opam/4.01.0/build/lwt.2.4.6/lwt-20523-51aaa5.err
### stdout ###
# [...]
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlc -c -g -I src/core -package camlp4 -syntax camlp4o -ppopt syntax/pa_lwt_options.cmo -ppopt syntax/pa_lwt.cmo -ppopt syntax/pa_lwt_log.cmo -ppopt syntax/pa_optcomp.cmo -I src/logger -I src/core -o src/logger/lwt_log_rules.cmo src/logger/lwt_log_rules.ml
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlc -a src/logger/lwt_log_rules.cmo src/logger/lwt_log_core.cmo -o src/logger/lwt-log.cma
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlopt -c -g -I src/core -package camlp4 -syntax camlp4o -ppopt syntax/pa_lwt_options.cmo -ppopt syntax/pa_lwt.cmo -ppopt syntax/pa_lwt_log.cmo -ppopt syntax/pa_optcomp.cmo -I src/logger -I src/core -o src/logger/lwt_log_rules.cmx src/logger/lwt_log_rules.ml
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlopt -c -g -I src/core -package camlp4 -syntax camlp4o -ppopt syntax/pa_lwt_options.cmo -ppopt syntax/pa_lwt.cmo -ppopt syntax/pa_lwt_log.cmo -ppopt syntax/pa_optcomp.cmo -I src/logger -I src/core -o src/logger/lwt_log_core.cmx src/logger/lwt_log_core.ml
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlopt -a src/logger/lwt_log_rules.cmx src/logger/lwt_log_core.cmx -o src/logger/lwt-log.cmxa
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlopt -shared src/logger/lwt-log.cmxa src/logger/lwt_log_rules.cmx src/logger/lwt_log_core.cmx -o src/logger/lwt-log.cmxs
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlc -ccopt -I/usr/include -ccopt -Isrc/unix -c src/unix/lwt_unix_stubs.c
# + /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlc -ccopt -I/usr/include -ccopt -Isrc/unix -c src/unix/lwt_unix_stubs.c
# clang: error: unknown argument: '-fno-defer-pop'
# Command exited with code 2.
### stderr ###
# ocamlfind: Package `wikidoc' not found
# E: Failure("Command ''/Users/lars/.opam/4.01.0/bin/ocamlbuild' syntax/optcomp.cma syntax/optcomp.cmxa syntax/optcomp.a syntax/optcomp.cmxs src/core/lwt.cma src/core/lwt.cmxa src/core/lwt.a src/core/lwt.cmxs src/logger/lwt-log.cma src/logger/lwt-log.cmxa src/logger/lwt-log.a src/logger/lwt-log.cmxs src/unix/liblwt-unix_stubs.a src/unix/dlllwt-unix_stubs.so src/unix/lwt-unix.cma src/unix/lwt-unix.cmxa src/unix/lwt-unix.a src/unix/lwt-unix.cmxs src/simple_top/lwt-simple-top.cma src/simple_top/lwt-simple-top.cmxa src/simple_top/lwt-simple-top.a src/simple_top/lwt-simple-top.cmxs src/react/lwt-react.cma src/react/lwt-react.cmxa src/react/lwt-react.a src/react/lwt-react.cmxs src/preemptive/lwt-preemptive.cma src/preemptive/lwt-preemptive.cmxa src/preemptive/lwt-preemptive.a src/preemptive/lwt-preemptive.cmxs src/extra/lwt-extra.cma src/extra/lwt-extra.cmxa src/extra/lwt-extra.a src/extra/lwt-extra.cmxs src/ssl/lwt-ssl.cma src/ssl/lwt-ssl.cmxa src/ssl/lwt-ssl.a src/ssl/lwt-ssl.cmxs syntax/lwt-syntax.cma syntax/lwt-syntax.cmxa syntax/lwt-syntax.a syntax/lwt-syntax.cmxs syntax/lwt-syntax-options.cma syntax/lwt-syntax-options.cmxa syntax/lwt-syntax-options.a syntax/lwt-syntax-options.cmxs syntax/lwt-syntax-log.cma syntax/lwt-syntax-log.cmxa syntax/lwt-syntax-log.a syntax/lwt-syntax-log.cmxs examples/unix/logging.native examples/unix/relay.native examples/unix/parallelize.native -tag debug' terminated with error code 10")
# make: *** [build] Error 1
#=== ERROR while installing pcre.7.1.5 ========================================#
# opam-version 1.2.1
# os darwin
# command ocaml setup.ml -build
# path /Users/lars/.opam/4.01.0/build/pcre.7.1.5
# compiler 4.01.0
# exit-code 1
# env-file /Users/lars/.opam/4.01.0/build/pcre.7.1.5/pcre-20523-777834.env
# stdout-file /Users/lars/.opam/4.01.0/build/pcre.7.1.5/pcre-20523-777834.out
# stderr-file /Users/lars/.opam/4.01.0/build/pcre.7.1.5/pcre-20523-777834.err
### stdout ###
# /Users/lars/.opam/4.01.0/bin/ocamlopt.opt unix.cmxa -I /Users/lars/.opam/4.01.0/lib/ocaml/ocamlbuild /Users/lars/.opam/4.01.0/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /Users/lars/.opam/4.01.0/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlc -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -ccopt -I/usr/local/Cellar/pcre/8.36/include -c lib/pcre_stubs.c
# + /Users/lars/.opam/4.01.0/bin/ocamlfind ocamlc -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -ccopt -I/usr/local/Cellar/pcre/8.36/include -c lib/pcre_stubs.c
# clang: error: unknown argument: '-fno-defer-pop'
# Command exited with code 2.
### stderr ###
# E: Failure("Command ''/Users/lars/.opam/4.01.0/bin/ocamlbuild' lib/libpcre_stubs.a lib/dllpcre_stubs.so lib/pcre.cma lib/pcre.cmxa lib/pcre.a lib/pcre.cmxs examples/cloc/cloc.native examples/count_hash/count_hash.native examples/pcregrep/pcregrep.native examples/subst/subst.native -tag debug' terminated with error code 10")
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
∗ install eliom 4.1.0
∗ install js_of_ocaml 2.5
∗ install ocamlnet 4.0.2
∗ install ocsigenserver 2.5
The following actions failed
∗ install cryptokit 1.10
∗ install dbm 1.0
∗ install lwt 2.4.6
∗ install pcre 7.1.5
The following changes have been performed
∗ install calendar 2.03.2
∗ install conf-libpcre 1
∗ install conf-pkg-config 1.0
∗ install deriving 0.7
∗ install optcomp 1.6
∗ install reactiveData 0.1
∗ install tyxml 3.4.0
∗ install uutf 0.9.4
The former state can be restored with:
opam switch import "~/.opam/4.01.0/backup/state-20150231132036.export"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment