<div dir="ltr">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><br><div>[root@Consumer1 ndn-tools]# ./waf configure</div><div>Setting top to                           : /root/ndn/ndn-tools</div><div>Setting out to                           : /root/ndn/ndn-tools/build</div><div>Checking for 'g++' (C++ compiler)        : /usr/lib64/ccache/g++</div><div>Checking supported CXXFLAGS              : -std=c++11</div><div>Checking supported CXXFLAGS              : -pedantic -Wall -O2 -g</div><div>Checking for program 'sphinx-build'      : /usr/bin/sphinx-build</div><div>Checking for program 'pkg-config'        : /usr/bin/pkg-config</div><div>Checking for 'libndn-cxx'                : yes</div><div>Checking boost includes                  : 1.55.0</div><div>Checking boost libs                      : ok</div><div>Checking for boost linkage               : ok</div><div>Checking for header inttypes.h           : yes</div><div>Checking for header stdint.h             : yes</div><div>Checking for header sys/bitypes.h        : yes</div><div>Checking for __attribute__               : yes</div><div>Checking for header ['sys/types.h', 'sys/time.h', 'time.h'] : yes</div><div>Checking for 'libpcap'                                      : yes</div><div>'configure' finished successfully (0.897s)</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333330154419px;line-height:18.2000007629395px">Best Regards,</span><br><div><span style="color:rgb(0,0,0);font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333330154419px;line-height:18.2000007629395px">Alexander Ni</span></div><div><span style="color:rgb(0,0,0);font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333330154419px;line-height:18.2000007629395px"><br></span></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Sep 4, 2015 at 4:47 PM, Alex Afanasyev <span dir="ltr"><<a href="mailto:aa@cs.ucla.edu" target="_blank">aa@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>It seems that the compilation cannot find ndn-cxx library headers.</div><div><br></div><div>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><br></div><div>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">http://named-data.net/doc/NFD/current/INSTALL.html</a>).</div><div><br></div><div>---</div><div>Alex</div><br><div><blockquote type="cite"><div><div class="h5"><div>On Sep 4, 2015, at 12:43 AM, Alexander Ni <<a href="mailto:alexni1992@gmail.com" target="_blank">alexni1992@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div>Hello everyone.<br><br>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><br>./waf<br><br>[ 5/40] Compiling tools/dump/main.cpp<br>In file included from ../core/version.hpp:23:0,<br>                 from ../core/version.cpp:20:<br>../core/common.hpp:64:48: fatal error: ndn-cxx/security/signing-helpers.hpp: No such file or directory<br> #include <ndn-cxx/security/signing-helpers.hpp><br>                                                ^<br>compilation terminated.<br><br>In file included from /root/ndn/ndn-tools/core/version.hpp:23:0,<br>                 from ../tools/peek/ndn-peek.cpp:51:<br>/root/ndn/ndn-tools/core/common.hpp:64:48: fatal error: ndn-cxx/security/signing-helpers.hpp: No such file or directory<br> #include <ndn-cxx/security/signing-helpers.hpp><br>                                                ^<br>compilation terminated.<br><br>In file included from /root/ndn/ndn-tools/core/version.hpp:23:0,<br>                 from ../tools/peek/ndn-poke.cpp:51:<br>/root/ndn/ndn-tools/core/common.hpp:64:48: fatal error: ndn-cxx/security/signing-helpers.hpp: No such file or directory<br> #include <ndn-cxx/security/signing-helpers.hpp><br>                                                ^<br>compilation terminated.<br><br>In file included from /root/ndn/ndn-tools/core/version.hpp:23:0,<br>                 from ../tools/dump/main.cpp:38:<br>/root/ndn/ndn-tools/core/common.hpp:64:48: fatal error: ndn-cxx/security/signing-helpers.hpp: No such file or directory<br> #include <ndn-cxx/security/signing-helpers.hpp><br>                                                ^<br>compilation terminated.<br><br>Waf: Leaving directory `/root/ndn/ndn-tools/build'<br>Build failed<br> -> task in 'core-objects' failed (exit status 1): <br>    {task 139918217243024: cxx version.cpp -> version.cpp.1.o}<br>['/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> -> task in '../../bin/ndnpeek' failed (exit status 1): <br>    {task 139918217338640: cxx ndn-peek.cpp -> ndn-peek.cpp.1.o}<br>['/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> -> task in '../../bin/ndnpoke' failed (exit status 1): <br>    {task 139918217363152: cxx ndn-poke.cpp -> ndn-poke.cpp.2.o}<br>['/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> -> task in '../../bin/ndndump' failed (exit status 1): <br>    {task 139918217362960: cxx main.cpp -> main.cpp.2.o}<br>['/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><br></div><div><br></div><div><div><div><div><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px">Best Regards,</span><br><div><span style="font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px">Alexander Ni</span></div><div><span style="font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333px;line-height:18.2px"><br></span></div></div></div></div></div></div>
</div></div></div></div></div></div>
_______________________________________________<br>Nfd-dev mailing list<br><a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br></div></blockquote></div><br></div></blockquote></div><br></div>