Task #4030
Updated by Alex Afanasyev over 7 years ago
Hi there, I installed ndn-cxx and added PKG_CONFIG_PATH with the path containing libndn-cxx.so. But I still met with problems when building NFD. 1. I can only let it detect libndn-cxx with sudo ./waf configure, without sudo, it can't be detected. 2. after sudo./waf configure, I got following failures with sudo ./waf Appreciate any help. Thanks. Pengyuan ``` Build failed -> task in '../bin/ndn-autoconfig' failed (exit status 1): {task 140737297513808: cxx base.cpp -> base.cpp.7.o} ['/usr/bin/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-pthread', '-pthread', '-include', '/home/pengzhou/git/zpymyyn/NFD/build/core-objects.2', '-I/home/pengzhou/git/zpymyyn/NFD/build/tools/ndn-autoconfig', '-I/home/pengzhou/git/zpymyyn/NFD/tools/ndn-autoconfig', '-I/home/pengzhou/git/zpymyyn/NFD/build', '-I/home/pengzhou/git/zpymyyn/NFD', '-I/home/pengzhou/git/zpymyyn/NFD/build/core', '-I/home/pengzhou/git/zpymyyn/NFD/core', '-I/usr/include', '-I/usr/local/include', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '../tools/ndn-autoconfig/base.cpp', '-c', '-o', '/home/pengzhou/git/zpymyyn/NFD/build/tools/ndn-autoconfig/base.cpp.7.o'] -> task in '../bin/ndn-autoconfig' failed (exit status 1): {task 140737297514000: cxx multicast-discovery.cpp -> multicast-discovery.cpp.7.o} ['/usr/bin/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-pthread', '-pthread', '-include', '/home/pengzhou/git/zpymyyn/NFD/build/core-objects.2', '-I/home/pengzhou/git/zpymyyn/NFD/build/tools/ndn-autoconfig', '-I/home/pengzhou/git/zpymyyn/NFD/tools/ndn-autoconfig', '-I/home/pengzhou/git/zpymyyn/NFD/build', '-I/home/pengzhou/git/zpymyyn/NFD', '-I/home/pengzhou/git/zpymyyn/NFD/build/core', '-I/home/pengzhou/git/zpymyyn/NFD/core', '-I/usr/include', '-I/usr/local/include', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '../tools/ndn-autoconfig/multicast-discovery.cpp', '-c', '-o', '/home/pengzhou/git/zpymyyn/NFD/build/tools/ndn-autoconfig/multicast-discovery.cpp.7.o'] ```