Project

General

Profile

Actions

Bug #2833

closed

Compilation fails with OSX 10.10.3

Added by Bruno Ricci almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
High
Category:
Build
Target version:
Start date:
05/25/2015
Due date:
% Done:

100%

Estimated time:

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

ndn.txt (39.5 KB) ndn.txt Bruno Ricci, 05/25/2015 08:44 AM
Actions #1

Updated by Alex Afanasyev almost 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).

Actions #2

Updated by Alex Afanasyev almost 9 years ago

  • Description updated (diff)
Actions #3

Updated by Bruno Ricci almost 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.

Actions #4

Updated by Bruno Ricci almost 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.

Actions #5

Updated by Alex Afanasyev almost 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.

Actions #6

Updated by Bruno Ricci almost 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 :)

Actions #7

Updated by Alex Afanasyev almost 9 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
Actions #8

Updated by Alex Afanasyev almost 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).

Actions #9

Updated by Bruno Ricci almost 9 years ago

I will try in the weekend. Thanks for the effort!

Actions #10

Updated by Alex Afanasyev almost 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF