<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hello,
<div class=""><br class="">
</div>
<div class="">I’m trying to build the alternative NFD caching policies from this github webpage:</div>
<div class=""><a href="https://github.com/ndncomm/nfd-caching-policies" class="">https://github.com/ndncomm/nfd-caching-policies</a></div>
<div class=""><br class="">
</div>
<div class="">I’m able to do ./waf configure without errors, however, I got some errors while trying ./waf.</div>
<div class=""><br class="">
</div>
<div class="">I’m using Ubuntu 16.04. NDN is installed through NDN PPA repository on Ubuntu. The error log is below. </div>
<div class=""><br class="">
</div>
<div class="">Could someone please help me debug this issue? Or is there any instructions for compiling and installing the NFD caching policies?</div>
<div class=""><br class="">
</div>
<div class="">Thank you very much,</div>
<div class="">Cong</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">cong@cong-VirtualBox:~/work/nfd-caching-policies$ ./waf configure</div>
<div class="">Setting top to                           : /home/cong/work/nfd-caching-policies </div>
<div class="">Setting out to                           : /home/cong/work/nfd-caching-policies/build </div>
<div class="">Checking for 'g++' (C++ compiler)        : /usr/bin/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 'doxygen'           : /usr/bin/doxygen </div>
<div class="">Checking for program 'tar'               : /bin/tar </div>
<div class="">Checking for program 'sphinx-build'      : /usr/bin/sphinx-build </div>
<div class="">Checking for std::is_default_constructible : yes </div>
<div class="">Checking for std::is_move_constructible    : yes </div>
<div class="">Checking for override specifier            : yes </div>
<div class="">Checking for std::to_string                : yes </div>
<div class="">Checking for program 'bash'                : /bin/bash </div>
<div class="">Checking for program 'pkg-config'          : /usr/bin/pkg-config </div>
<div class="">Checking for 'libndn-cxx'                  : yes </div>
<div class="">Checking for librt library                 : yes </div>
<div class="">Checking for libresolv library             : yes </div>
<div class="">Checking if privilege drop/elevation is supported : yes </div>
<div class="">Checking for header ifaddrs.h                     : yes </div>
<div class="">Checking boost includes                           : 1.58.0 </div>
<div class="">Checking boost libs                               : ok </div>
<div class="">Checking for boost linkage                        : ok </div>
<div class="">Checking if Unix sockets are supported            : yes </div>
<div class="">Checking for WebSocket includes                   : 0.5.1 </div>
<div class="">Checking if Ethernet face support can be enabled  : yes </div>
<div class="">Checking for libpcap library                      : yes </div>
<div class="">Checking for function pcap_set_immediate_mode     : yes </div>
<div class="">'configure' finished successfully (30.114s)</div>
<div class="">cong@cong-VirtualBox:~/work/nfd-caching-policies$ ./waf </div>
<div class="">Waf: Entering directory `/home/cong/work/nfd-caching-policies/build'</div>
<div class="">[ 10/126] Compiling tools/ndn-autoconfig/base.cpp</div>
<div class="">[ 11/126] Compiling tools/nfdc.cpp</div>
<div class="">../tools/nfdc.cpp: In member function ‘void nfdc::Nfdc::FaceIdFetcher::onCanonizeSuccess(const ndn::util::FaceUri&)’:</div>
<div class="">../tools/nfdc.cpp:163:36: error: ‘DontVerifySegment’ is not a member of ‘ndn::util’</div>
<div class="">                                    ndn::util::DontVerifySegment(),</div>
<div class="">                                    ^</div>
<div class=""><br class="">
</div>
<div class="">Waf: Leaving directory `/home/cong/work/nfd-caching-policies/build'</div>
<div class="">Build failed</div>
<div class=""> -> task in '../bin/nfdc' failed (exit status 1): </div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>{task 139981258738128: cxx nfdc.cpp -> nfdc.cpp.6.o}</div>
<div class="">['/usr/bin/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-include', '/home/cong/work/nfd-caching-policies/build/core-objects.2', '-I/home/cong/work/nfd-caching-policies/build', '-I/home/cong/work/nfd-caching-policies', '-I/home/cong/work/nfd-caching-policies/build/core',
 '-I/home/cong/work/nfd-caching-policies/core', '-I/usr/include', '-I/usr/local/include', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '../tools/nfdc.cpp', '-c', '-o', '/home/cong/work/nfd-caching-policies/build/tools/nfdc.cpp.6.o']</div>
</div>
</body>
</html>