Skip to content

Instantly share code, notes, and snippets.

@fetburner
Created September 14, 2014 03:39
Show Gist options
  • Select an option

  • Save fetburner/c488e0c399415796974f to your computer and use it in GitHub Desktop.

Select an option

Save fetburner/c488e0c399415796974f to your computer and use it in GitHub Desktop.
opamのログ
The following actions will be performed:
- install lacaml.7.1.3 [required by slap]
- downgrade ocp-build.1.99.8-beta to 1.99.6-beta
- install slap.0.0.0
- recompile ocp-indent.1.4.2 [use ocp-build]
2 to install | 1 to reinstall | 0 to upgrade | 1 to downgrade | 0 to remove
Do you want to continue ? [Y/n] y
=-=-= Removing Packages =-=-=
Removing ocp-indent.1.4.2.
Removing ocp-build.1.99.8-beta.
default Downloading https://opam.ocaml.org/archives/ocp-build.1.99.8-beta+opam.tar.gz
Downloading https://opam.ocaml.org/archives/ocp-build.1.99.8-beta+opam.tar.gz
rm -f /Users/Masayuki/.opam/system/bin/ocp-build
rm -f /Users/Masayuki/.opam/system/bin/ocp-build.byte
rm -f /Users/Masayuki/.opam/system/lib/META.ocp-build-bundle
rm -rf /Users/Masayuki/.opam/system/lib/ocaml/typerex/ocp-build-bundle
rm -f /Users/Masayuki/.opam/system/lib/META.ocp-build-win32
rm -rf /Users/Masayuki/.opam/system/lib/ocaml/typerex/ocp-build-win32
rm -f /Users/Masayuki/.opam/system/lib/META.ocp-build-misc
rm -rf /Users/Masayuki/.opam/system/lib/ocaml/typerex/ocp-build-misc
rm -f /Users/Masayuki/.opam/system/lib/META.ocp-build
rm -rf /Users/Masayuki/.opam/system/lib/ocaml/typerex/ocp-build
=-=-= Installing lacaml.7.1.3 =-=-=
default Downloading https://opam.ocaml.org/archives/lacaml.7.1.3+opam.tar.gz
Downloading https://opam.ocaml.org/archives/lacaml.7.1.3+opam.tar.gz
Building lacaml.7.1.3:
ocaml setup.ml -configure --prefix /Users/Masayuki/.opam/system
ocaml setup.ml -build
ocaml setup.ml -install
Installing lacaml.7.1.3.
=-=-= Installing ocp-build.1.99.6-beta =-=-=
Installing ocp-build.1.99.6-beta.
=-=-= Installing ocp-indent.1.4.2 =-=-=
Building ocp-indent.1.4.2:
./configure --prefix /Users/Masayuki/.opam/system
make
[ERROR] The compilation of ocp-indent.1.4.2 failed.
Removing ocp-indent.1.4.2.
=-=-= Installing slap.0.0.0 =-=-=
default Downloading https://opam.ocaml.org/archives/slap.0.0.0+opam.tar.gz
Downloading https://opam.ocaml.org/archives/slap.0.0.0+opam.tar.gz
Building slap.0.0.0:
ocaml setup.ml -configure --prefix /Users/Masayuki/.opam/system
ocaml setup.ml -build
ocaml setup.ml -install
Installing slap.0.0.0.
===== ERROR while recompiling ocp-indent.1.4.2 =====
# opam-version 1.1.2
# os darwin
# command make
# path /Users/Masayuki/.opam/system/build/ocp-indent.1.4.2
# compiler system (4.01.0)
# exit-code 2
# env-file /Users/Masayuki/.opam/system/build/ocp-indent.1.4.2/ocp-indent-64731-ebe0e0.env
# stdout-file /Users/Masayuki/.opam/system/build/ocp-indent.1.4.2/ocp-indent-64731-ebe0e0.out
# stderr-file /Users/Masayuki/.opam/system/build/ocp-indent.1.4.2/ocp-indent-64731-ebe0e0.err
### stdout ###
# ...[truncated]
# checking for ocamldep... ocamldep
# checking for ocamlmktop... ocamlmktop
# checking for ocamlmklib... ocamlmklib
# checking for ocamldoc... ocamldoc
# checking for ocamlbuild... ocamlbuild
# configure: creating ./config.status
# config.status: creating Makefile.config
# config.status: creating version.ocp
#
# Executables will be installed in /Users/Masayuki/.opam/system/bin
### stderr ###
# Error: you need ocp-build >= 1.99.
# make: *** [ocp-build.root] Error 1
The former state can be restored with opam switch import -f "/Users/Masayuki/.opam/system/backup/state-20140813130139.export"
'opam install slap' failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment