{"action":"created","issue":{"url":"https://api.github.com/repos/mirage/irmin/issues/115","labels_url":"https://api.github.com/repos/mirage/irmin/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/mirage/irmin/issues/115/comments","events_url":"https://api.github.com/repos/mirage/irmin/issues/115/events","html_url":"https://github.com/mirage/irmin/issues/115","id":55032258,"number":115,"title":"Installation error on Mac OS","user":{"login":"yansh","id":1371050,"avatar_url":"https://avatars.githubusercontent.com/u/1371050?v=3","gravatar_id":"","url":"https://api.github.com/users/yansh","html_url":"https://github.com/yansh","followers_url":"https://api.github.com/users/yansh/followers","following_url":"https://api.github.com/users/yansh/following{/other_user}","gists_url":"https://api.github.com/users/yansh/gists{/gist_id}","starred_url":"https://api.github.com/users/yansh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yansh/subscriptions","organizations_url":"https://api.github.com/users/yansh/orgs","repos_url":"https://api.github.com/users/yansh/repos","events_url":"https://api.github.com/users/yansh/events{/privacy}","received_events_url":"https://api.github.com/users/yansh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-21T15:21:47Z","updated_at":"2015-01-21T16:44:11Z","closed_at":null,"body":"I am trying to install irmin on Mac OS 10.10.1 \r\n\r\nafter running __opam install irmin__ I get these errors. Is it irmin or opam?\r\n\r\n```\r\n=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r\n\r\n=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r\nCopying ~/.opam/repo/default/packages/camlp4/camlp4.4.02.1+system/files/install to ~/.opam/system/build/camlp4.4.02.1+system/\r\nCopying ~/.opam/repo/default/packages/camlp4/camlp4.4.02.1+system/files/check-camlp4.sh to ~/.opam/system/build/camlp4.4.02.1+system/\r\nBuilding camlp4.4.02.1+system:\r\n  sh ./check-camlp4.sh\r\n[ERROR] The compilation of camlp4.4.02.1+system failed.\r\nRemoving camlp4.4.02.1+system.\r\n  Nothing to do.\r\n[WARNING] Directory /Users/yan/.opam/system/lib/camlp4 is not empty, not removing\r\nCopying ~/.opam/repo/default/packages/conf-gmp/conf-gmp.1/files/test.c to ~/.opam/system/build/conf-gmp.1/\r\nBuilding conf-gmp.1:\r\n  sh -c cc -c $CFLAGS test.c\r\n[ERROR] The compilation of conf-gmp.1 failed.\r\nRemoving conf-gmp.1.\r\n  Nothing to do.\r\nBuilding ctypes.0.3.4:\r\n  make\r\n  make install\r\n[ERROR] The compilation of ctypes.0.3.4 failed.\r\nRemoving ctypes.0.3.4.\r\n  ocamlfind remove ctypes\r\n\r\n\r\n#=== ERROR while installing camlp4.4.02.1+system ==============================#\r\n# opam-version 1.2.0\r\n# os           darwin\r\n# command      sh ./check-camlp4.sh\r\n# path         /Users/yan/.opam/system/build/camlp4.4.02.1+system\r\n# compiler     system (4.02.1)\r\n# exit-code    1\r\n# env-file     /Users/yan/.opam/system/build/camlp4.4.02.1+system/camlp4-13444-2dea01.env\r\n# stdout-file  /Users/yan/.opam/system/build/camlp4.4.02.1+system/camlp4-13444-2dea01.out\r\n# stderr-file  /Users/yan/.opam/system/build/camlp4.4.02.1+system/camlp4-13444-2dea01.err\r\n### stdout ###\r\n# ...[truncated]\r\n# 4.02 by switching to a local installation via `opam switch 4.02.1`.\r\n# \r\n# Here are some installation instructions for camlp4 if you obtained OCaml\r\n# via the OPAM binary packages:\r\n# \r\n# http://software.opensuse.org/download.html?project=home%3Aocaml&package=ocaml\r\n# \r\n# * Debian/Ubuntu: sudo apt-get install camlp4-extra\r\n# * RHEL/CentOS/Fedora: sudo yum install ocaml-camlp4\r\n# \r\n### stderr ###\r\n# Fatal error: the file '/usr/local/bin/camlp4orf' is not a bytecode executable file\r\n\r\n\r\n#=== ERROR while installing conf-gmp.1 ========================================#\r\n# opam-version 1.2.0\r\n# os           darwin\r\n# command      sh -c cc -c $CFLAGS test.c\r\n# path         /Users/yan/.opam/system/build/conf-gmp.1\r\n# compiler     system (4.02.1)\r\n# exit-code    1\r\n# env-file     /Users/yan/.opam/system/build/conf-gmp.1/conf-gmp-13455-335865.env\r\n# stdout-file  /Users/yan/.opam/system/build/conf-gmp.1/conf-gmp-13455-335865.out\r\n# stderr-file  /Users/yan/.opam/system/build/conf-gmp.1/conf-gmp-13455-335865.err\r\n### stderr ###\r\n# test.c:1:10: fatal error: 'gmp.h' file not found\r\n# #include <gmp.h>\r\n#          ^\r\n# 1 error generated.\r\n\r\n\r\n#=== ERROR while installing ctypes.0.3.4 ======================================#\r\n# opam-version 1.2.0\r\n# os           darwin\r\n# command      make\r\n# path         /Users/yan/.opam/system/build/ctypes.0.3.4\r\n# compiler     system (4.02.1)\r\n# exit-code    2\r\n# env-file     /Users/yan/.opam/system/build/ctypes.0.3.4/ctypes-13462-2c871f.env\r\n# stdout-file  /Users/yan/.opam/system/build/ctypes.0.3.4/ctypes-13462-2c871f.out\r\n# stderr-file  /Users/yan/.opam/system/build/ctypes.0.3.4/ctypes-13462-2c871f.err\r\n### stdout ###\r\n# ...[truncated]\r\n# ocamlfind ocamlc -c -o _build/src/ctypes-foreign-base/libffi_abi.cmi    -I _build/src/ctypes-foreign-base  -I _build/src/ctypes src/ctypes-foreign-base/libffi_abi.mli\r\n# ocamlfind ocamlc      -c -o _build/src/ctypes-foreign-base/libffi_abi.cmo -I _build/src/ctypes-foreign-base  -I _build/src/ctypes src/ctypes-foreign-base/libffi_abi.ml\r\n# ocamlfind ocamlc -c -o _build/src/ctypes-foreign-base/weakRef.cmi    -I _build/src/ctypes-foreign-base  -I _build/src/ctypes src/ctypes-foreign-base/weakRef.mli\r\n# ocamlfind ocamlc      -c -o _build/src/ctypes-foreign-base/weakRef.cmo -I _build/src/ctypes-foreign-base  -I _build/src/ctypes src/ctypes-foreign-base/weakRef.ml\r\n# ocamlfind ocamlc -c -o _build/src/ctypes-foreign-base/ffi.cmi    -I _build/src/ctypes-foreign-base  -I _build/src/ctypes src/ctypes-foreign-base/ffi.mli\r\n# ocamlfind ocamlc      -c -o _build/src/ctypes-foreign-base/ffi.cmo -I _build/src/ctypes-foreign-base  -I _build/src/ctypes src/ctypes-foreign-base/ffi.ml\r\n# ocamlfind ocamlc      -c -o _build/src/ctypes-foreign-base/foreign_basis.cmo -I _build/src/ctypes-foreign-base  -I _build/src/ctypes src/ctypes-foreign-base/foreign_basis.ml\r\n# ocamlfind ocamlc -a   -cclib -lctypes-foreign-base_stubs -dllib -lctypes-foreign-base_stubs   -o _build/ctypes-foreign-base.cma _build/src/ctypes-foreign-base/closure_properties.cmo _build/src/ctypes-foreign-base/dl.cmo _build/src/ctypes-foreign-base/ffi_stubs.cmo _build/src/ctypes-foreign-base/libffi_abi.cmo _build/src/ctypes-foreign-base/weakRef.cmo _build/src/ctypes-foreign-base/ffi.cmo _build/src/ctypes-foreign-base/foreign_basis.cmo \r\n# cd _build/src/ctypes-foreign-base && ocamlfind ocamlc -c -ccopt -fPIC -ccopt -Wall -ccopt -O3 -ccopt -I -ccopt /src -ccopt -I -ccopt /tests -o dl_stubs.o  /Users/yan/.opam/system/build/ctypes.0.3.4/src/ctypes-foreign-base/dl_stubs.c\r\n# cd _build/src/ctypes-foreign-base && ocamlfind ocamlc -c -ccopt -fPIC -ccopt -Wall -ccopt -O3 -ccopt -I -ccopt /src -ccopt -I -ccopt /tests -o ffi_call_stubs.o  /Users/yan/.opam/system/build/ctypes.0.3.4/src/ctypes-foreign-base/ffi_call_stubs.c\r\n### stderr ###\r\n# /Users/yan/.opam/system/build/ctypes.0.3.4/src/ctypes-foreign-base/ffi_call_stubs.c:21:10: fatal error: 'ffi.h' file not found\r\n# #include <ffi.h>\r\n#          ^\r\n# 1 error generated.\r\n# make: *** [_build/src/ctypes-foreign-base/ffi_call_stubs.o] Error 2\r\n\r\n\r\n=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r\nThe following failed\r\n - install   camlp4.4.02.1+system\r\n - install   conf-gmp.1\r\n - install   ctypes.0.3.4\r\nDue to the errors, the following have been cancelled\r\n - install   zarith.1.3\r\n - install   uri.1.7.2\r\n - install   mirage-tc.0.3.0\r\n - install   irmin.0.9.2\r\n - install   mstruct.1.3.2\r\n - install   lwt.2.4.7\r\n - install   nocrypto.0.3.0\r\n - install   cstruct.1.5.0\r\n - install   sexplib.112.06.00\r\n - install   bin_prot.112.06.00\r\n - install   ezjsonm.0.4.0\r\n - install   type_conv.112.01.00\r\n```"},"comment":{"url":"https://api.github.com/repos/mirage/irmin/issues/comments/70872457","html_url":"https://github.com/mirage/irmin/issues/115#issuecomment-70872457","issue_url":"https://api.github.com/repos/mirage/irmin/issues/115","id":70872457,"user":{"login":"yansh","id":1371050,"avatar_url":"https://avatars.githubusercontent.com/u/1371050?v=3","gravatar_id":"","url":"https://api.github.com/users/yansh","html_url":"https://github.com/yansh","followers_url":"https://api.github.com/users/yansh/followers","following_url":"https://api.github.com/users/yansh/following{/other_user}","gists_url":"https://api.github.com/users/yansh/gists{/gist_id}","starred_url":"https://api.github.com/users/yansh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yansh/subscriptions","organizations_url":"https://api.github.com/users/yansh/orgs","repos_url":"https://api.github.com/users/yansh/repos","events_url":"https://api.github.com/users/yansh/events{/privacy}","received_events_url":"https://api.github.com/users/yansh/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T16:44:11Z","updated_at":"2015-01-21T16:44:11Z","body":"\r\n[NOTE] Package opam-installext is already installed (current version is 1.0.1).\r\n> On Jan 21, 2015, at 11:41 AM, Thomas Gazagnaire <notifications@github.com> wrote:\r\n> \r\n> and did you install opam-installext?\r\n> \r\n> \r\n\r\nYes:\r\n\r\nopam install opam-installext \r\n[NOTE] Package opam-installext is already installed (current version is 1.0.1).\r\n> —\r\n> Reply to this email directly or view it on GitHub <https://github.com/mirage/irmin/issues/115#issuecomment-70871947>.\r\n> "}}