Bug #2833
closedCompilation fails with OSX 10.10.3
100%
Description
Hi,
I am trying to install ndn-cxx under osx 10.10.3. I installed all the needed dependencies using macports, as stated on the website. Up to the commit:f0da789bd232d408da62ff6d30f4fcf24474bcf7 I had no issues. Today I updated to the commit:9bd4d9832ac16021ba956bb3a0bfb16199572e32 and I cannot build anymore, since there are some issues with crypto++ (or, better, I think there are some issues with crypto++). I attach the log.
Any ideas?
Thanks in advance
B.
Files
Updated by Alex Afanasyev over 9 years ago
Usually, this error means compiler or STL library incompatibility (one used for crypto++ doesn't match with the one the code is compiled). You may also need to uninstall cryptopp and reinstall it. Sometimes after OSX is upgraded, it creates incompatibilities
Not directly related to your question. You can also try to install ndn-cxx directly using macports from ndn macports repo (http://named-data.net/doc/NFD/current/FAQ.html#how-to-start-using-ndn-macports-repository-on-osx).
Updated by Bruno Ricci over 9 years ago
Alex,
thank you for your reply. I am trying to recompile from scratch all the needed ports (I was using the prebuilt ones), maybe cryptopp prebuilt package has "something wrong". I will let you know the results later.
Updated by Bruno Ricci over 9 years ago
No luck.
First I tried to recompile from scratch all the necessary ports, but the error is the same. Then I tried to install ndn-cxx using the ndn macports repo, but also using this procedure the error still persist. I'm starting to think that this is not a ndn bug, but macports'...
Just to update.
B.
Updated by Alex Afanasyev over 9 years ago
- Category set to Build
- Status changed from New to In Progress
- Assignee set to Alex Afanasyev
- Priority changed from Normal to High
- Target version set to v0.4
This is very strange, I still suspect some change in clang caused the problem... I have found a workaround and will push patch to the code review soon.
Updated by Bruno Ricci over 9 years ago
I tried on a different (but identical) machine with Homebrew instead of Macports, and the compilation of ndn-cxx (as well as NFD and repo-ng) worked like a charm. Just to update :)
Updated by Alex Afanasyev over 9 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Updated by Alex Afanasyev over 9 years ago
@Bruno If you have opportunity, can you check if the patch I submitted to code review fixes the problem (it helped in my test environment).
Updated by Bruno Ricci over 9 years ago
I will try in the weekend. Thanks for the effort!
Updated by Alex Afanasyev over 9 years ago
- Status changed from Code review to Closed