<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Thank you Spyros<br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Spyridon" <mastorakis@cs.ucla.edu><br><b>To: </b>"DJAKER Abou-Bakr" <djaker.aboubakr@edu.univ-oran1.dz><br><b>Cc: </b>"ndnSIM Forum" <ndnsim@lists.cs.ucla.edu><br><b>Sent: </b>Lundi 10 Décembre 2018 02:36:32<br><b>Subject: </b>Re: [ndnSIM] Problem with waf<br></div><br><div data-marker="__QUOTED_TEXT__">Hi,<div class=""><br class=""></div><div class="">sorry, I am not familiar with the dependencies of the NLSR port into ndnSIM.</div><div class=""><br class=""></div><div class="">You can clean the build directory and remove the lock file of waf through ./waf distclean. </div><div class=""><br class=""></div><div class="">To remove files installed on your system: ./waf uninstall. If this fails, you will have to find and delete the files manually.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><br class=""></div></div></div></div><div><blockquote class=""><div class="">On Dec 9, 2018, at 1:18 PM, DJAKER Abou-Bakr <<a href="mailto:djaker.aboubakr@edu.univ-oran1.dz" class="" target="_blank">djaker.aboubakr@edu.univ-oran1.dz</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" class=""><div class="">Hi<br class=""></div><div class=""><br class=""></div><div class="">Thank you Spyros but unfortunately it doesn't work, I tried as you said to download fresh versions by:<br class=""></div><div class=""><br class=""></div><div class="">git clone <a href="https://github.com/named-data-ndnSIM/ns-3-dev.git" class="" target="_blank">https://github.com/named-data-ndnSIM/ns-3-dev.git</a><br data-mce-bogus="1"></div><div class="">git clone --recursive <a href="https://github.com/named-data-ndnSIM/ndnSIM.git" class="" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM.git</a><br data-mce-bogus="1"></div><div class=""><br class=""></div><div class="">but without change.<br class=""></div><div class=""><br class=""></div><div class="">I tried to install ndnSIM-NLSR to a different directory, but it's the same error. </div><div class=""><br class=""></div><div class="">Also, I was wondering if there is a way to remove all ndnSIM files and its dependencies and doing a clean installation from the beginning (the simulator was working well before).<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thank so much<br class=""></div><div class=""><br class=""></div><div class="">--<br class=""></div><div class="">DJAKER<br class=""></div><div class=""><br class=""></div><hr id="zwchr" class=""><div class=""><b class="">From: </b>"Spyridon" <<a href="mailto:mastorakis@cs.ucla.edu" class="" target="_blank">mastorakis@cs.ucla.edu</a>><br class=""><b class="">To: </b>"DJAKER Abou-Bakr" <<a href="mailto:djaker.aboubakr@edu.univ-oran1.dz" class="" target="_blank">djaker.aboubakr@edu.univ-oran1.dz</a>><br class=""><b class="">Cc: </b>"ndnSIM Forum" <<a href="mailto:ndnsim@lists.cs.ucla.edu" class="" target="_blank">ndnsim@lists.cs.ucla.edu</a>><br class=""><b class="">Sent: </b>Dimanche 9 Décembre 2018 18:20:59<br class=""><b class="">Subject: </b>Re: [ndnSIM] Problem with waf<br class=""></div><div class=""><br class=""></div><div class="">Hi,<div class=""><br class=""></div><div class="">this has happened to me when I tried to copy and paste an already compiled version of ndnSIM to another folder. I guess something breaks with the way that waf links things.</div><div class=""><br class=""></div><div class="">The way to get around that is to clone a fresh version of NS-3 and ndnSIM from github.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<div class=""><br class=""><blockquote class=""><div class="">On Dec 9, 2018, at 8:15 AM, DJAKER Abou-Bakr <<a href="mailto:djaker.aboubakr@edu.univ-oran1.dz" class="" target="_blank">djaker.aboubakr@edu.univ-oran1.dz</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello<br class=""><br class="">When I try to execute this command (./waf configure --enable-examples), it outputs the following error:<br class=""><br class=""><br class="">Traceback (most recent call last):<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 312, in ant_iter<br class="">    raise StopIteration<br class="">StopIteration<br class=""><br class="">The above exception was the direct cause of the following exception:<br class=""><br class="">Traceback (most recent call last):<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 110, in waf_entry_point<br class="">    run_commands()<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 167, in run_commands<br class="">    parse_options()<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 140, in parse_options<br class="">    Context.create_context('options').execute()<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Options.py", line 146, in execute<br class="">    super(OptionsContext,self).execute()<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 93, in execute<br class="">    self.recurse([os.path.dirname(g_module.root_path)])<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 134, in recurse<br class="">    user_function(self)<br class="">  File "/home/user/ndnSIM/ns-3/wscript", line 144, in options<br class="">    opt.load('compiler_c')<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 90, in load<br class="">    fun(self)<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Tools/compiler_c.py", line 36, in options<br class="">    opt.load_special_tools('c_*.py',ban=['c_dumbpreproc.py'])<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 321, in load_special_tools<br class="">    lst=self.root.find_node(waf_dir).find_node('waflib/extras').ant_glob(var)<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 361, in ant_glob<br class="">    ret=[x for x in self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=kw.get('maxdepth',25),dir=dir,src=src,remove=kw.get('remove',True))]<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 361, in <listcomp><br class="">    ret=[x for x in self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=kw.get('maxdepth',25),dir=dir,src=src,remove=kw.get('remove',True))]<br class="">RuntimeError: generator raised StopIteration<br class=""><br class=""><br class="">How can I fix it please ?<br class=""><br class="">Best Regards<br class=""><br class="">--<br class="">DJAKER<br class="">_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" class="" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class=""></div></div></blockquote></div><br class=""></div><br class=""></div><div class=""><br class=""><br class=""></div></div></div></div></blockquote></div><br class=""></div><br></div><br><div data-marker="__SIG_POST__">-- <br></div><div><br>Mr. DJAKER Abou-Bakr<br>University Oran1</div></div></body></html>