2016-09-25 5 views
3

Ich habe kürzlich facebook infor auf meiner Arbeit Laptop, und versuche, auf meinem persönlichen Laptop zu aktualisieren. Es wurde ohne Probleme auf meinem Arbeits-Laptop installiert, aber ich bekomme einen Fehler (siehe unten) auf meinem persönlichen Laptop. Beide haben opam 1.2.2 und ocaml 4.03.0 installiert. Wenn ich opam init --comp=VERSION ausführen, sehe ich, dass alles bereits auf dem neuesten Stand ist. Irgendwelche Ideen, warum brew install infer könnte scheitern?`brew install infer` Fehler

[User]-MacBook-Pro:~ [User]$ brew install infer 
==> Using the sandbox 
==> Downloading https://github.com/facebook/infer/releases/download/v0.9.2/infer 
Already downloaded: /Users/[User]/Library/Caches/Homebrew/infer-0.9.2.tar.xz 
==> ./build-infer.sh all --yes 
Last 15 lines from /Users/[User]/Library/Logs/Homebrew/infer/01.build-infer.sh: 

initializing opam... 
Checking for available remotes: rsync and local, git. 
    - you won't be able to use mercurial repositories unless you install the hg 
    command on your system. 
    - you won't be able to use darcs repositories unless you install the darcs 
    command on your system. 

[WARNING] Recommended external solver aspcud not found. 
[ERROR] No OCaml compiler found in path. You should use: 

      opam init --comp=VERSION 

[ERROR] Initialisation failed 
OpamGlobals.Exit(66) 

READ THIS: https://git.io/brew-troubleshooting 
If reporting this issue please do so at (not Homebrew/brew): 
    https://github.com/Homebrew/homebrew-core/issues 

These open issues may also help: 
infer 0.9.3 https://github.com/Homebrew/homebrew-core/pull/5130 

Meine Arbeit Laptop ist auf OS X El Capitan Version 10.11.6, und mein persönlicher Laptop ist auf macOS Sierra Version 10.12.

https://github.com/facebook/infer/issues/467

Antwort