[ndnSIM] Problem with waf
Spyridon (Spyros) Mastorakis
mastorakis at cs.ucla.edu
Sun Dec 9 17:36:32 PST 2018
Hi,
sorry, I am not familiar with the dependencies of the NLSR port into ndnSIM.
You can clean the build directory and remove the lock file of waf through ./waf distclean.
To remove files installed on your system: ./waf uninstall. If this fails, you will have to find and delete the files manually.
Thanks,
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Dec 9, 2018, at 1:18 PM, DJAKER Abou-Bakr <djaker.aboubakr at edu.univ-oran1.dz> wrote:
>
> Hi
>
> Thank you Spyros but unfortunately it doesn't work, I tried as you said to download fresh versions by:
>
> git clone https://github.com/named-data-ndnSIM/ns-3-dev.git
> git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git
>
> but without change.
>
> I tried to install ndnSIM-NLSR to a different directory, but it's the same error.
>
> 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).
>
>
> Thank so much
>
> --
> DJAKER
>
> From: "Spyridon" <mastorakis at cs.ucla.edu>
> To: "DJAKER Abou-Bakr" <djaker.aboubakr at edu.univ-oran1.dz>
> Cc: "ndnSIM Forum" <ndnsim at lists.cs.ucla.edu>
> Sent: Dimanche 9 Décembre 2018 18:20:59
> Subject: Re: [ndnSIM] Problem with waf
>
> Hi,
>
> 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.
>
> The way to get around that is to clone a fresh version of NS-3 and ndnSIM from github.
>
> Thanks,
>
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
> Internet Research Laboratory
> Computer Science Department
> UCLA
>
> On Dec 9, 2018, at 8:15 AM, DJAKER Abou-Bakr <djaker.aboubakr at edu.univ-oran1.dz <mailto:djaker.aboubakr at edu.univ-oran1.dz>> wrote:
>
> Hello
>
> When I try to execute this command (./waf configure --enable-examples), it outputs the following error:
>
>
> Traceback (most recent call last):
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 312, in ant_iter
> raise StopIteration
> StopIteration
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 110, in waf_entry_point
> run_commands()
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 167, in run_commands
> parse_options()
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 140, in parse_options
> Context.create_context('options').execute()
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Options.py", line 146, in execute
> super(OptionsContext,self).execute()
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 93, in execute
> self.recurse([os.path.dirname(g_module.root_path)])
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 134, in recurse
> user_function(self)
> File "/home/user/ndnSIM/ns-3/wscript", line 144, in options
> opt.load('compiler_c')
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 90, in load
> fun(self)
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Tools/compiler_c.py", line 36, in options
> opt.load_special_tools('c_*.py',ban=['c_dumbpreproc.py'])
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 321, in load_special_tools
> lst=self.root.find_node(waf_dir).find_node('waflib/extras').ant_glob(var)
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 361, in ant_glob
> 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))]
> File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 361, in <listcomp>
> 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))]
> RuntimeError: generator raised StopIteration
>
>
> How can I fix it please ?
>
> Best Regards
>
> --
> DJAKER
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20181209/4c3316d6/attachment-0001.html>
More information about the ndnSIM
mailing list