<div dir="ltr">Hi Carl Zu,<div><br></div><div>I have updated the shell script to install ndnSIM (which was shared on the mailing list earlier). The new script works with latest version of the simulator and has been tested on Ubuntu 14.04, 15.04, 16.04, and 17.04</div><div><br></div><div>Please check this blog post:</div><div><br></div><div><a href="http://mohittahiliani.blogspot.in/2015/10/ns-3-installing-ndnsim-on-ubuntu.html">http://mohittahiliani.blogspot.in/2015/10/ns-3-installing-ndnsim-on-ubuntu.html</a><br></div><div><br></div><div>Hope it helps.</div><div><br></div><div>Regards,</div><div>Mohit P. Tahiliani</div><div><br></div><div>P.S: Let us know if you spot any bugs with the script.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 21, 2017 at 3:09 AM, Carl Zu <span dir="ltr"><<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Dear Spyridon,<br><br></div>Could you please give me some more hints?<br><br></div>Thanks,<br></div>C<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 9:07 PM, Carl Zu <span dir="ltr"><<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Spyridon,<div><br></div><div>Thanks for the link. I read it carefully. However, I still have a couple of questions below:<br><br>1. is the cryptoPP version(s) associated with ndnSIM's 2.1, 2.2, and 2.3 different ?. If this is the case, one cannot have different versions of ndnSIM installed on a single machine. Right?<br><br>2. I could not find any information regarding the appropriate versions of cryptoPP for each of 2.1, 2.2, and 2.3 releases.<br><br>Thank you for your guidance in advance.<span class="m_6150530712082106755HOEnZb"><font color="#888888"><br><br></font></span></div><span class="m_6150530712082106755HOEnZb"><font color="#888888"><div>-C</div></font></span></div><div class="m_6150530712082106755HOEnZb"><div class="m_6150530712082106755h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 8:51 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@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">Probably you are using a different version of CryptoPP that the one expected.<div><br></div><div>Please take a look here:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/ndnSIM/issues/81#issuecomment-328081673" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ndnSIM/issues/81#issuec<wbr>omment-328081673</a></div><div><span><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~m<wbr>astorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div></div></div>
</div>
<br></span><div><div class="m_6150530712082106755m_614489047757587954h5"><div><blockquote type="cite"><div>On Sep 20, 2017, at 11:49 AM, Carl Zu <<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>> wrote:</div><br class="m_6150530712082106755m_614489047757587954m_3959828955839889730Apple-interchange-newline"><div><div dir="ltr">Thank you Spyridon.<br><br>Yes, just figured out that for ndnSIM 2.1, I need to download version 0.3.4 for NFD and ndn-cxx. Now, it configures, but it says:<br><br><div>CryptoPP is present, but is not usable</div><div>(complete log in /home/carl/ndnSIM-2.1/ns-3/bui<wbr>ld/config.log)<br><br>I have installed all the prerequisites completely. What could be wrong here.</div><div><br></div><div>Thanks,</div><div>C</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 8:43 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@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">Take a look at the release notes of each version. The NFD and ndn-cxx versions are mentioned there.<div><br></div><div>Then, follow those links and clone the branches with the appropriate version:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/ndn-cxx" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ndn-cxx</a></div><div><a href="https://github.com/named-data-ndnSIM/NFD" target="_blank">https://github.com/named-data-<wbr>ndnSIM/NFD</a></div><div><br></div><div>Thanks,</div><div><br><div><span><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~m<wbr>astorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div></div></div>
</div>
<br></span><div><div class="m_6150530712082106755m_614489047757587954m_3959828955839889730h5"><div><blockquote type="cite"><div>On Sep 20, 2017, at 11:39 AM, Carl Zu <<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>> wrote:</div><br class="m_6150530712082106755m_614489047757587954m_3959828955839889730m_-2032390911546787691Apple-interchange-newline"><div><div dir="ltr">Hi Spyridon,<br><span style="font-size:12.8px"><br>Correct.</span><div style="font-size:12.8px"><br>Which NFD and ndn-cxx versions are associated with 2.1 and 2.2 ? Could you please give me instructions how can I do this with clone and with recursive flag ?<br><br>Thanks,<br>C</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 8:37 PM, Carl Zu <span dir="ltr"><<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Spyridon,<div><br></div><div>Correct.</div><div><br>Which NFD and ndn-cxx versions are associated with 2.1 and 2.2 ?<br><br>Thanks,<br>C</div></div><div class="m_6150530712082106755m_614489047757587954m_3959828955839889730m_-2032390911546787691HOEnZb"><div class="m_6150530712082106755m_614489047757587954m_3959828955839889730m_-2032390911546787691h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 8:34 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@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">NFD and ndn-cxx are linked as github submodules with the simulator.<div><br></div><div>Unless you use git clone with the —recursive flag on, you will download the ndnSIM source code that contains 2 empty directories named NFD and ndn-cxx.</div><div><br></div><div><span><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~m<wbr>astorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div><div><br></div></div></div></div></span><div><div class="m_6150530712082106755m_614489047757587954m_3959828955839889730m_-2032390911546787691m_349677602028494868h5"><div><blockquote type="cite"><div>On Sep 20, 2017, at 11:31 AM, Carl Zu <<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>> wrote:</div><br class="m_6150530712082106755m_614489047757587954m_3959828955839889730m_-2032390911546787691m_349677602028494868m_8155213251030051064Apple-interchange-newline"><div><div dir="ltr">Hi all,<div><br></div><div>@John: I am on ubuntu 14.04.</div><div><br></div><div>@<span style="font-size:12.8px">Spyridon: </span>When I use the following link to download 2.1, how could I download the wrong<span style="font-size:12.8px"> NFD and ndn-cxx versions associated with this simulator ?</span><br><br><span style="font-size:12.8px"><a href="https://github.com/named-data-ndnSIM/ndnSIM/releases/tag/ndnSIM-2.1" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ndnSIM/releases/tag/ndn<wbr>SIM-2.1</a></span><br><span style="font-size:12.8px"><br>Thanks,</span></div><div><span style="font-size:12.8px">C </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 8:26 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@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">Hi,<div><br></div><div>are you sure you download the appropriate NFD and ndn-cxx versions associated with the simulator too?</div><div><br></div><div>Thanks,</div><div><br></div><div><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~m<wbr>astorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div><div><br></div></div></div></div><div><div class="m_6150530712082106755m_614489047757587954m_3959828955839889730m_-2032390911546787691m_349677602028494868m_8155213251030051064h5"><div><blockquote type="cite"><div>On Sep 20, 2017, at 11:18 AM, Carl Zu <<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>> wrote:</div><br class="m_6150530712082106755m_614489047757587954m_3959828955839889730m_-2032390911546787691m_349677602028494868m_8155213251030051064m_8304330591751484325Apple-interchange-newline"><div><div dir="ltr">Hi everyone,<div><br></div><div>I need to install ndnSIM 2.1.I downloaded ndnSIM 2.1 from here:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/ndnSIM/releases/tag/ndnSIM-2.1" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ndnSIM/releases/tag/ndn<wbr>SIM-2.1</a><br></div><div><br></div><div>As for "ns-3" and "pybindgen", first, I did the following:  </div><div><br></div><div><pre>git clone <a href="https://github.com/named-data-ndnSIM/ns-3-dev.git" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ns-3-dev.git</a> ns-3
git clone <a href="https://github.com/named-data-ndnSIM/pybindgen.git" target="_blank">https://github.com/named-data-<wbr>ndnSIM/pybindgen.git</a> pybindgen</pre><pre><br></pre><pre>After, I tried also downloading older versions of "pybindgen" as well as "ns-3". But in any case, when I write "./waf configure --enable-examples", I have the following error:</pre><pre><br></pre><pre>Traceback (most recent call last):
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Scripting.<wbr>py", line 108, in waf_entry_point
    run_commands()
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Scripting.<wbr>py", line 165, in run_commands
    parse_options()
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Scripting.<wbr>py", line 138, in parse_options
    Context.create_context('option<wbr>s').execute()
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Options.py<wbr>", line 146, in execute
    super(OptionsContext,self).exe<wbr>cute()
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Context.py<wbr>", line 92, in execute
    self.recurse([os.path.dirname(<wbr>g_module.root_path)])
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Context.py<wbr>", line 133, in recurse
    user_function(self)
  File "/home/carl/ndnSIM-2.1/ns-3/ws<wbr>cript", line 213, in options
    opt.recurse('src')
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Context.py<wbr>", line 133, in recurse
    user_function(self)
  File "/home/carl/ndnSIM-2.1/ns-3/sr<wbr>c/wscript", line 48, in options
    opt.recurse(module, mandatory=False)
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Context.py<wbr>", line 133, in recurse
    user_function(self)
  File "/home/carl/ndnSIM-2.1/ns-3/sr<wbr>c/ndnSIM/wscript", line 16, in options
    opt.load(['version'], tooldir=['%s/.waf-tools' % opt.path.abspath()])
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Context.py<wbr>", line 86, in load
    module=load_tool(t,path)
  File "/home/carl/ndnSIM-2.1/ns-3/.w<wbr>af-1.8.12-f00e5b53f6bbeab1384a<wbr>38c9cc5d51f7/waflib/Context.py<wbr>", line 342, in load_tool
    __import__(tool)
ImportError: No module named version
</pre><pre><br></pre><pre>I have the same problem for installing ndnSIM 2.2 as well. That is, I can only install the latest version. Does anybody have a successful experience on installing 2.1 or 2.2 ? I highly appreciate any guidance.</pre><pre><br></pre><pre>Thanks,</pre><pre>C</pre></div></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndnsim</a><br>
<br></blockquote></div><br></div>