{"action":"created","issue":{"url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/331","labels_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/331/comments","events_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/331/events","html_url":"https://github.com/BinaryAnalysisPlatform/bap/issues/331","id":127601976,"number":331,"title":"Install fails on OS X 10.11.2","user":{"login":"stharding","id":451540,"avatar_url":"https://avatars.githubusercontent.com/u/451540?v=3","gravatar_id":"","url":"https://api.github.com/users/stharding","html_url":"https://github.com/stharding","followers_url":"https://api.github.com/users/stharding/followers","following_url":"https://api.github.com/users/stharding/following{/other_user}","gists_url":"https://api.github.com/users/stharding/gists{/gist_id}","starred_url":"https://api.github.com/users/stharding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stharding/subscriptions","organizations_url":"https://api.github.com/users/stharding/orgs","repos_url":"https://api.github.com/users/stharding/repos","events_url":"https://api.github.com/users/stharding/events{/privacy}","received_events_url":"https://api.github.com/users/stharding/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-20T04:28:03Z","updated_at":"2016-01-26T03:25:46Z","closed_at":null,"body":"I'm trying to install bap using the instructions in the README. I have XCode and the command line tools installed, `clang++ --version` outputs `Apple LLVM version 7.0.2 (clang-700.1.81)`. At first I thought my problem might be related to #320, but it looks like that error had to do with the `memory` header file not being found. Here is the output of `opam install bap` on my system:\r\n\r\n    The following actions will be performed:\r\n      ∗  install bap 0.9.9\r\n    \r\n    =-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫 \r\n    [bap] Archive in cache\r\n    \r\n    =-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫 \r\n    [bap: ./configure] Command started\r\n    [ERROR] The compilation of bap failed at \"./configure\r\n            --prefix=/Users/harding/.opam/4.02.1 --with-cxx=`which clang++`\r\n            --mandir=/Users/harding/.opam/4.02.1/man\".\r\n    [bap: ocamlfind remove] Command started\r\n    [bap: ocamlfind remove] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    [bap: rm] Command started\r\n    \r\n    #=== ERROR while installing bap.0.9.9 =========================================#\r\n    # opam-version         1.2.2\r\n    # os                   darwin\r\n    # command              ./configure --prefix=/Users/harding/.opam/4.02.1 --with-cxx=`which clang++` --mandir=/Users/harding/.opam/4.02.1/man\r\n    # path                 /Users/harding/.opam/4.02.1/build/bap.0.9.9\r\n    # compiler             4.02.1\r\n    # exit-code            1\r\n    # env-file             /Users/harding/.opam/4.02.1/build/bap.0.9.9/bap-65852-1872ec.env\r\n    # stdout-file          /Users/harding/.opam/4.02.1/build/bap.0.9.9/bap-65852-1872ec.out\r\n    # stderr-file          /Users/harding/.opam/4.02.1/build/bap.0.9.9/bap-65852-1872ec.err\r\n    ### stdout ###\r\n    # [...]\r\n    # pkg_lwt_log: ......................................... /Users/harding/.opam/4.02.1/lib/lwt\r\n    # pkg_ezjsonm: ......................................... /Users/harding/.opam/4.02.1/lib/ezjsonm\r\n    # pkg_uri: ............................................. /Users/harding/.opam/4.02.1/lib/uri\r\n    # pkg_cohttp_lwt: ...................................... /Users/harding/.opam/4.02.1/lib/cohttp\r\n    # pkg_re: .............................................. /Users/harding/.opam/4.02.1/lib/re\r\n    # pkg_cmdliner: ........................................ /Users/harding/.opam/4.02.1/lib/cmdliner\r\n    # pkg_re_posix: ........................................ /Users/harding/.opam/4.02.1/lib/re\r\n    # pkg_curl: ............................................ /Users/harding/.opam/4.02.1/lib/curl\r\n    # pkg_ocamlbuild: ...................................... /Users/harding/.opam/4.02.1/lib/ocaml/ocamlbuild\r\n    # \r\n    ### stderr ###\r\n    # E:   Failed to find llvm library, consider using --with-llvm-version\r\n    #      or --with-llvm-config command line options, to point me on a\r\n    #      correct version of LLVM. \r\n    \r\n    \r\n    \r\n    =-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫 \r\n    The following actions failed\r\n      ∗  install bap 0.9.9\r\n    No changes have been performed\r\n    \r\n    =-=- bap.0.9.9 troobleshooting =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫 \r\n    => This package relies on external (system) dependencies that may be missing.\r\n       `opam depext bap.0.9.9' may help you find the correct installation for your\r\n       system.\r\n    \r\nIt complains that it couldn't find the llvm library, which is odd since it is definitely installed. The message suggests the `--with-llvm-config` or `--with-llvm-version` flags, but those are arguments to `./configure`. I'm not sure how to pass those along with `opam` or if there is even a way to do that. \r\n\r\nHere is a [gist](https://gist.github.com/stharding/218bae1733d906698be1) containing the output of `opam install bap --debug`\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/comments/174799697","html_url":"https://github.com/BinaryAnalysisPlatform/bap/issues/331#issuecomment-174799697","issue_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/331","id":174799697,"user":{"login":"stharding","id":451540,"avatar_url":"https://avatars.githubusercontent.com/u/451540?v=3","gravatar_id":"","url":"https://api.github.com/users/stharding","html_url":"https://github.com/stharding","followers_url":"https://api.github.com/users/stharding/followers","following_url":"https://api.github.com/users/stharding/following{/other_user}","gists_url":"https://api.github.com/users/stharding/gists{/gist_id}","starred_url":"https://api.github.com/users/stharding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stharding/subscriptions","organizations_url":"https://api.github.com/users/stharding/orgs","repos_url":"https://api.github.com/users/stharding/repos","events_url":"https://api.github.com/users/stharding/events{/privacy}","received_events_url":"https://api.github.com/users/stharding/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T03:25:46Z","updated_at":"2016-01-26T03:25:46Z","body":"Fantastic, Thank you for pointing me in the right direction!"}}