-
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
Unable to manually compile Infer in a Linux laptop #649
Comments
Looks like
That's a bit odd given your 12GB of RAM, but not impossible. Try using fewer cores. One way is to edit facebook-clang-plugins/clang/setup.sh and change line 132 to A faster way if you still have the temp dir lying around is to attempt to finish the installation by hand: cd /tmp/clang-setup.SBjcpY/build
make -j 1 install
cd /path/to/infer/facebook-clang-plugins/clang
# strip binaries to save space
find install/{bin,lib} -type f -exec strip -x \{\} \+
# record that the installation was successful
./setup.sh --only-record-install Let me know if this helps. |
Thank you so much for your suggestion. I am able to build both The compilation took really a long time though, more or less 3 hours. |
Please reopen if there's still an issue here. |
Hello,
I try to manually compile Infer in my 3-year Linux laptop, which running Linux Mint 18.1, CPU Core i5-4210U (4 cores) and 12 GB of RAM, 40GB of the spare hard drive. The compilation always fails at building the facebook-clang-plugin. It happens to me 4, 5 times and below is the error message of the latest attempt. When it fails, I checked that there are still 14GB of the spare hard drive.
Could you please advise what is wrong? It often takes about 2 hours to compile facebook-clang-plugin before it fails like described. The commands I used are
./autogen.sh; ./configure; make
However, this problem doesn't occur when I compile Infer in a Virtualbox machine, in the other PC
Thank you!
The text was updated successfully, but these errors were encountered: