-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR when install infer from source on Mac OS X #26
Comments
Seems like you haven't installed some of the dependencies required to compile Infer. |
I encountered this same issue. Below is the series of commands run, as per the installation instructions for OSX. Are you sure it's not something else? $opam init --comp=4.01.0 |
me too,I want to analyse only Java/Android code,so I don't install clang and facebook-clang-plugin dependencies,but error below in Mac OS X 10.2.2.
|
@chris-wood: try running @DoctorQ: The |
@martinoluca: good call -- atdgen is indeed missing. Though, according to opam, it's not. [cwood@corncake:~/Projects/infer]$ opam install atdgen.1.5.0 |
@chris-wood: did you run |
Nope -- that wasn't part of the instructions. Trying now... |
@martinoluca thanks,my opam has a error,how to solve it.
|
@jvillard: That did it. It's compiling now. Many thanks! @martinoluca: You should consider adding that step to the OSX instructions. |
@DoctorQ start from a clean installation of OPAM if you can. |
When you install software with OPAM, it places it under the
An alternative is to run the shell command using |
closed by 17f0b5c |
After running the following command its working for me. Thank you guys... |
infer (master) make -C infer
make -C src clang
sed -e 's/@major@/0/g'
-e 's/@minor@/1/g'
-e 's/@patch@/0/g'
-e 's/@GIT_COMMIT@/2bce7c6c3dbb22646e2d67a2c6ade77f060b4bca/g'
-e 's/@GIT_BRANCH@/master/g'
-e 's/@GIT_TAG@//g'
backend/version.ml.in > backend/version.ml
atdgen -t backend/jsonbug.atd -o backend/jsonbug
make[1]: atdgen: No such file or directory
make[1]: *** [backend/jsonbug_t.ml] Error 1
make: *** [clang] Error 2
The text was updated successfully, but these errors were encountered: