<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi<br></div><div><br data-mce-bogus="1"></div><div>Thank you Spyros but unfortunately it doesn't work, I tried as you said to download fresh versions by:<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>git clone https://github.com/named-data-ndnSIM/ns-3-dev.git</div><div>git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git</div><div><br data-mce-bogus="1"></div><div>but without change.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>I tried to install ndnSIM-NLSR to a different directory, but it's the same error. </div><div><br data-mce-bogus="1"></div><div>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 data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thank so much<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>--<br data-mce-bogus="1"></div><div>DJAKER<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></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>Dimanche 9 Décembre 2018 18:20:59<br><b>Subject: </b>Re: [ndnSIM] Problem with waf<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">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><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="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></div></blockquote></div><br class=""></div><br></div><div><br><br data-marker="__SIG_POST__"></div></div></body></html>