<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="">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Looks like that repo has fallen behind ndn-cxx developments.</p>
<p><br>
</p>
<p>Either you can try to re-base on current NFD (<a href="https://github.com/named-data/NFD/" class="OWAAutoLink" id="LPlnk438927">https://github.com/named-data/NFD/</a>).</p>
<br>
<p>(Or just see what changes it has in current NFD in nfdc.cpp and in any other file that complains during compilation and fix those).</p>
<p><br>
</p>
<p>Or use an older version of ndn-cxx which has the DontVerifySegment method in there.</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Nfd-dev <nfd-dev-bounces@lists.cs.ucla.edu> on behalf of Cong Wang <cwang1@umass.edu><br>
<b>Sent:</b> Thursday, August 4, 2016 9:14:46 PM<br>
<b>To:</b> nfd-dev@lists.cs.ucla.edu<br>
<b>Subject:</b> [Nfd-dev] NFD caching policy installation failure</font>
<div> </div>
</div>
<div>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>
</div>
</body>
</html>