J'ai récemment mis à jour Facebook infer sur mon ordinateur portable de travail, et j'essaie de mettre à jour infer sur mon ordinateur portable personnel. Il a installé sans problème sur mon ordinateur portable de travail, mais je reçois une erreur (voir ci-dessous) sur mon ordinateur portable personnel. Les deux ont l'opam 1.2.2 et ocaml 4.03.0 installé. Si j'exécute opam init --comp=VERSION
, je vois que tout est déjà à jour. Des idées pour lesquelles brew install infer
pourrait échouer?erreur «infusion d'installation inférer»
[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
Mon ordinateur portable de travail est sur OS X El Capitan Version 10.11.6, et mon ordinateur portable personnel est sur macOS Sierra Version 10.12.
https://github.com/facebook/infer/issues/467