<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Can you please a little more details:</div><div class=""><br class=""></div><div class="">- what is the value for PKG_CONFIG_PATH</div><div class="">- what is the content of libndn-cxx.pc within the path (can you attach it)</div><div class="">- what is the content of build/c4che/_cache.py (can you attach it)</div><div class=""><br class=""></div><div class="">I'm almost certain that the include path pointed in libndn-cxx.pc does not contain ndn-cxx includes...</div><div class=""><br class=""></div><div class="">---</div><div class="">Alex</div><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 4, 2015, at 12:59 AM, Alexander Ni <<a href="mailto:alexni1992@gmail.com" class="">alexni1992@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">There is the point, I already have set PKG_CONFIG_PATH path to libndn-cxx.pc before I configured it (below). But build command anyway showed me such error (previously mentioned) <br class=""><br class=""><div class="">[root@Consumer1 ndn-tools]# ./waf configure</div><div class="">Setting top to                           : /root/ndn/ndn-tools</div><div class="">Setting out to                           : /root/ndn/ndn-tools/build</div><div class="">Checking for 'g++' (C++ compiler)        : /usr/lib64/ccache/g++</div><div class="">Checking supported CXXFLAGS              : -std=c++11</div><div class="">Checking supported CXXFLAGS              : -pedantic -Wall -O2 -g</div><div class="">Checking for program 'sphinx-build'      : /usr/bin/sphinx-build</div><div class="">Checking for program 'pkg-config'        : /usr/bin/pkg-config</div><div class="">Checking for 'libndn-cxx'                : yes</div><div class="">Checking boost includes                  : 1.55.0</div><div class="">Checking boost libs                      : ok</div><div class="">Checking for boost linkage               : ok</div><div class="">Checking for header inttypes.h           : yes</div><div class="">Checking for header stdint.h             : yes</div><div class="">Checking for header sys/bitypes.h        : yes</div><div class="">Checking for __attribute__               : yes</div><div class="">Checking for header ['sys/types.h', 'sys/time.h', 'time.h'] : yes</div><div class="">Checking for 'libpcap'                                      : yes</div><div class="">'configure' finished successfully (0.897s)</div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><span style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13.3333330154419px; line-height: 18.2000007629395px;" class="">Best Regards,</span><br class=""><div class=""><span style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13.3333330154419px; line-height: 18.2000007629395px;" class="">Alexander Ni</span></div><div class=""><span style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13.3333330154419px; line-height: 18.2000007629395px;" class=""><br class=""></span></div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Fri, Sep 4, 2015 at 4:47 PM, Alex Afanasyev <span dir="ltr" class=""><<a href="mailto:aa@cs.ucla.edu" target="_blank" class="">aa@cs.ucla.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">It seems that the compilation cannot find ndn-cxx library headers.</div><div class=""><br class=""></div><div class="">The configuration script uses pkg-config to find parameters (include and linker flags) for the library.  The standard location for it is /usr/local/lib/pkgconfig/libndn-cxx.pc and /usr/lib*/pkgconfig/libndn-cxx.pc.</div><div class=""><br class=""></div><div class="">If you have previously installed ndn-cxx into a standard location and then removed headers, but kept .pc file, then you may get the error you showing.   To use ndn-cxx from a non-standard location, you need to set PKG_CONFIG_PATH environment variable (see hints in <a href="http://named-data.net/doc/NFD/current/INSTALL.html" target="_blank" class="">http://named-data.net/doc/NFD/current/INSTALL.html</a>).</div><div class=""><br class=""></div><div class="">---</div><div class="">Alex</div><br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On Sep 4, 2015, at 12:43 AM, Alexander Ni <<a href="mailto:alexni1992@gmail.com" target="_blank" class="">alexni1992@gmail.com</a>> wrote:</div><br class=""></div></div><div class=""><div class=""><div class="h5"><div dir="ltr" class=""><div class="">Hello everyone.<br class=""><br class="">I was trying to build ndn-tools but in non-standard location get an error. Can somebody help me to solve this problem?</div><div class=""><br class="">./waf<br class=""><br class="">[ 5/40] Compiling tools/dump/main.cpp<br class="">In file included from ../core/version.hpp:23:0,<br class="">                 from ../core/version.cpp:20:<br class="">../core/common.hpp:64:48: fatal error: ndn-cxx/security/signing-helpers.hpp: No such file or directory<br class=""> #include <ndn-cxx/security/signing-helpers.hpp><br class="">                                                ^<br class="">compilation terminated.<br class=""><br class="">In file included from /root/ndn/ndn-tools/core/version.hpp:23:0,<br class="">                 from ../tools/peek/ndn-peek.cpp:51:<br class="">/root/ndn/ndn-tools/core/common.hpp:64:48: fatal error: ndn-cxx/security/signing-helpers.hpp: No such file or directory<br class=""> #include <ndn-cxx/security/signing-helpers.hpp><br class="">                                                ^<br class="">compilation terminated.<br class=""><br class="">In file included from /root/ndn/ndn-tools/core/version.hpp:23:0,<br class="">                 from ../tools/peek/ndn-poke.cpp:51:<br class="">/root/ndn/ndn-tools/core/common.hpp:64:48: fatal error: ndn-cxx/security/signing-helpers.hpp: No such file or directory<br class=""> #include <ndn-cxx/security/signing-helpers.hpp><br class="">                                                ^<br class="">compilation terminated.<br class=""><br class="">In file included from /root/ndn/ndn-tools/core/version.hpp:23:0,<br class="">                 from ../tools/dump/main.cpp:38:<br class="">/root/ndn/ndn-tools/core/common.hpp:64:48: fatal error: ndn-cxx/security/signing-helpers.hpp: No such file or directory<br class=""> #include <ndn-cxx/security/signing-helpers.hpp><br class="">                                                ^<br class="">compilation terminated.<br class=""><br class="">Waf: Leaving directory `/root/ndn/ndn-tools/build'<br class="">Build failed<br class=""> -> task in 'core-objects' failed (exit status 1): <br class="">    {task 139918217243024: cxx version.cpp -> version.cpp.1.o}<br class="">['/usr/lib64/ccache/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_NDN_CXX=1', '../core/version.cpp', '-c', '-o', '/root/ndn/ndn-tools/build/core/version.cpp.1.o']<br class=""> -> task in '../../bin/ndnpeek' failed (exit status 1): <br class="">    {task 139918217338640: cxx ndn-peek.cpp -> ndn-peek.cpp.1.o}<br class="">['/usr/lib64/ccache/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-I/root/ndn/ndn-tools/build', '-I/root/ndn/ndn-tools', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_NDN_CXX=1', '../tools/peek/ndn-peek.cpp', '-c', '-o', '/root/ndn/ndn-tools/build/tools/peek/ndn-peek.cpp.1.o']<br class=""> -> task in '../../bin/ndnpoke' failed (exit status 1): <br class="">    {task 139918217363152: cxx ndn-poke.cpp -> ndn-poke.cpp.2.o}<br class="">['/usr/lib64/ccache/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-I/root/ndn/ndn-tools/build', '-I/root/ndn/ndn-tools', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_NDN_CXX=1', '../tools/peek/ndn-poke.cpp', '-c', '-o', '/root/ndn/ndn-tools/build/tools/peek/ndn-poke.cpp.2.o']<br class=""> -> task in '../../bin/ndndump' failed (exit status 1): <br class="">    {task 139918217362960: cxx main.cpp -> main.cpp.2.o}<br class="">['/usr/lib64/ccache/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-I/root/ndn/ndn-tools/build/tools/dump', '-I/root/ndn/ndn-tools/tools/dump', '-I/root/ndn/ndn-tools/build', '-I/root/ndn/ndn-tools', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_NDN_CXX=1', '-DHAVE_PCAP=1', '../tools/dump/main.cpp', '-c', '-o', '/root/ndn/ndn-tools/build/tools/dump/main.cpp.2.o']<br class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div class=""><div class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><span style="font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px" class="">Best Regards,</span><br class=""><div class=""><span style="font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px" class="">Alexander Ni</span></div><div class=""><span style="font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px" class=""><br class=""></span></div></div></div></div></div></div>
</div></div></div></div></div></div>
_______________________________________________<br class="">Nfd-dev mailing list<br class=""><a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank" class="">Nfd-dev@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br class=""></div></blockquote></div><br class=""></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>