<div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Peter,</div><div><br></div><div>Thanks for your reply. Yes, I've already tried the command "./install.sh -a", but it seems like it doesn't install all the dependencies. So I chose to do it manually by following the instructions on the page and install each component one by one.</div><div>How I can check if I have the "boost libs" installed?</div><div>--<br><div><div style="font-size:12.8px"><span style="color:rgb(0,0,255);font-family:"comic sans ms",sans-serif;font-size:small">==============================================================</span><br></div><div style="font-size:12.8px"><font size="2" face="georgia, serif"><span style="color:rgb(0,0,255)">Zakaria SABIR, </span><span style="color:rgb(0,0,255)">Ph.D. Student, Computer Sciences, Connected Vehicles,</span></font></div><span style="font-size:12.8px;color:rgb(136,136,136)"><font size="2" face="georgia, serif"><div><font color="#0000ff">Systems Engineering Laboratory, </font><a href="http://ensa.uit.ac.ma/" target="_blank">National School of Applied Sciences</a>,      </div><div><font color="#0000ff"><a href="http://www.uit.ac.ma/" target="_blank">Ibn Tofail University</a>, Kenitra, Morocco                                                             </font></div></font></span><div style="font-size:12.8px;color:rgb(80,0,80)"><font size="2" face="georgia, serif"><font color="#0000ff"><img src="https://docs.google.com/uc?export=download&id=0B7D6c4p4-LmXaGtYUWNDb0hVems&revid=0B7D6c4p4-LmXemtyZldXWVgrR1JuNTBmUkNNYzdFN29SZzBRPQ"></font><a href="mailto:zaksabir@gmail.com" target="_blank">zaksabir@gmail.com</a> ; <a href="mailto:zakaria.sabir@uit.ac.ma" target="_blank">zakaria.sabir@uit.ac.ma</a>                                       </font></div><div style="font-size:12.8px"><span style="color:rgb(0,0,255);font-family:"comic sans ms",sans-serif;font-size:small">==============================================================</span><br></div></div></div><div style="font-size:12.8px"><span style="font-size:18pt;text-align:center;color:rgb(91,136,40);font-family:Webdings">P</span><i style="font-size:16px;text-align:center;color:rgb(91,136,40);font-family:verdana,helvetica,sans-serif"><span style="font-size:10pt;font-family:Arial,sans-serif"> </span></i><i style="font-size:12.8px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><p style="margin:0px;display:inline"><b><span lang="EN-US" style="margin:0px;font-family:New"><font size="2" color="#6aa84f">Consider the environment. Please don't print this e-mail unless you have to.</font></span></b></p></i><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=d9bce51f-6b2c-419e-ba79-b3cd145b9df8"><font color="#ffffff" size="1">ᐧ</font></div><img src="https://my-email-signature.link/signature.gif?u=128007&e=74056227&v=f1c1a23644342704b33aea0ca6d0222cee8b23e3076585cdfd53d65c5dee981e" style="width:0;max-height:0;overflow:hidden"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 6, 2019 at 11:39 AM Peter Maynard <<a href="mailto:pmaynard01@qub.ac.uk">pmaynard01@qub.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Zakaria, <br>
<br>
Have you tried running sudo ./install.sh -a ?<br>
This will perform all the steps for you and install the dependencies.<br>
If you want to do it manually, you can check out that script, it will<br>
show you what libraries are needed.<br>
<br>
Your error below may be related to the boost libs. Make sure you have<br>
them installed and also run 'sudo ldconfig' which updated the shared<br>
library cache. <br>
<br>
Regards, <br>
Pete<br>
<br>
On Wed, 2019-11-06 at 11:08 +0100, Zakaria SABIR wrote:<br>
> Hi,<br>
> <br>
> I have a problem with the build of ndn-tools. In fact, it's my first<br>
> time installing mini-ndn, so I am following the tutorial on the<br>
> official website (<br>
> <a href="http://minindn.memphis.edu/mini_ndn_installation.php" rel="noreferrer" target="_blank">http://minindn.memphis.edu/mini_ndn_installation.php</a>). The command<br>
> "./waf configure" ran successfully, but the next command "./waf"<br>
> doesn't. I have always errors:<br>
> <br>
> zakaria@ubuntu:~/mini-ndn/ndn-tools$ sudo ./waf configure<br>
> [sudo] password for zakaria: <br>
> Setting top to                           : /home/zakaria/mini-<br>
> ndn/ndn-tools <br>
> Setting out to                           : /home/zakaria/mini-<br>
> ndn/ndn-tools/build <br>
> Checking for 'g++' (C++ compiler)        : /usr/bin/g++ <br>
> Checking C++ compiler version            : 5.4.0 <br>
> Checking supported CXXFLAGS              : -std=c++14 <br>
> Checking supported LINKFLAGS             : -fuse-ld=gold <br>
> Checking for program 'sphinx-build'      : /usr/local/bin/sphinx-<br>
> build <br>
> Checking for program 'pkg-config'        : /usr/bin/pkg-config <br>
> Checking for 'libndn-cxx'                : yes <br>
> Checking for program 'dpkg-architecture' : /usr/bin/dpkg-<br>
> architecture <br>
> Checking boost includes                  : 1.58.0 <br>
> Checking boost libs                      : boost_system<br>
> boost_program_options boost_filesystem <br>
> Checking for boost linkage               : ok <br>
> Checking for 'libpcap'                   : yes <br>
> Checking if struct tcphdr has member th_off  : yes <br>
> Checking if struct udphdr has member uh_ulen : yes <br>
> Checking supported CXXFLAGS                  : -O2 -g -pedantic -Wall<br>
> -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -fdiagnostics-color <br>
> Checking supported LINKFLAGS                 : -Wl,-O1 <br>
> Tools to build                               : peek, dump, dissect,<br>
> ping, chunks, dissect-wireshark <br>
> 'configure' finished successfully (16.311s)<br>
> zakaria@ubuntu:~/mini-ndn/ndn-tools$ sudo ./waf<br>
> Waf: Entering directory `/home/zakaria/mini-ndn/ndn-tools/build'<br>
> [ 5/39] Linking build/bin/ndnpeek<br>
> ../tools/peek/ndnpeek/ndnpeek.hpp:61: error: undefined reference to<br>
> 'ndn::scheduler::Scheduler::~Scheduler()'<br>
> ../tools/peek/ndnpeek/main.cpp:182: error: undefined reference to<br>
> 'ndn::io::loadBuffer(std::istream&, ndn::io::IoEncoding)'<br>
> ../tools/peek/ndnpeek/main.cpp:197: error: undefined reference to<br>
> 'ndn::io::loadBuffer(std::istream&, ndn::io::IoEncoding)'<br>
> ../tools/peek/ndnpeek/ndnpeek.cpp:38: error: undefined reference to<br>
> 'ndn::scheduler::Scheduler::Scheduler(boost::asio::io_service&)'<br>
> ../tools/peek/ndnpeek/ndnpeek.cpp:70: error: undefined reference to<br>
> 'ndn::Interest::setHopLimit(nonstd::optional_lite::optional<unsigned<br>
> char>)'<br>
> ../tools/peek/ndnpeek/ndnpeek.cpp:51: error: undefined reference to<br>
> 'ndn::scheduler::Scheduler::schedule(boost::chrono::duration<long,<br>
> boost::ratio<1l, 1000000000l> >, std::function<void ()>)'<br>
> collect2: error: ld returned 1 exit status<br>
> <br>
> Waf: Leaving directory `/home/zakaria/mini-ndn/ndn-tools/build'<br>
> Build failed<br>
>  -> task in 'ndnpeek' failed with exit status 1 (run with -v to<br>
> display more information)<br>
> <br>
> Could you help me, please?<br>
> Thanks in advance.<br>
> <br>
> --<br>
> ==============================================================<br>
> Zakaria SABIR, Ph.D. Student, Computer Sciences, Connected Vehicles,<br>
> Systems Engineering Laboratory, National School of Applied Sciences, <br>
>     <br>
> Ibn Tofail University, Kenitra, Morocco                             <br>
>                                <br>
> <a href="mailto:zaksabir@gmail.com" target="_blank">zaksabir@gmail.com</a> ; <a href="mailto:zakaria.sabir@uit.ac.ma" target="_blank">zakaria.sabir@uit.ac.ma</a>                         <br>
>              <br>
> ==============================================================<br>
> P Consider the environment. Please don't print this e-mail unless you<br>
> have to.<br>
> ᐧ<br>
> <br>
> _______________________________________________<br>
> Mini-NDN mailing list<br>
> <a href="mailto:Mini-NDN@lists.cs.ucla.edu" target="_blank">Mini-NDN@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a><br>
-- <br>
Pete Maynard <br>
<a href="https://petermaynard.co.uk" rel="noreferrer" target="_blank">https://petermaynard.co.uk</a> <br>
GnuPGP: 0x248FC016ABB8D69D <br>
</blockquote></div>