[ndnSIM] Problem in installing ndnSIM 2.1 / 2.2

Carl Zu carlzu8 at gmail.com
Wed Sep 20 11:39:22 PDT 2017


Hi Spyridon,

Correct.

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 ?

Thanks,
C

On Wed, Sep 20, 2017 at 8:37 PM, Carl Zu <carlzu8 at gmail.com> wrote:

> Hi Spyridon,
>
> Correct.
>
> Which NFD and ndn-cxx versions are associated with 2.1 and 2.2 ?
>
> Thanks,
> C
>
> On Wed, Sep 20, 2017 at 8:34 PM, Spyridon (Spyros) Mastorakis <
> mastorakis at cs.ucla.edu> wrote:
>
>> NFD and ndn-cxx are linked as github submodules with the simulator.
>>
>> 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.
>>
>> Spyridon (Spyros) Mastorakis
>> Personal Website: http://cs.ucla.edu/~mastorakis/
>> Internet Research Laboratory
>> Computer Science Department
>> UCLA
>>
>> On Sep 20, 2017, at 11:31 AM, Carl Zu <carlzu8 at gmail.com> wrote:
>>
>> Hi all,
>>
>> @John: I am on ubuntu 14.04.
>>
>> @Spyridon: When I use the following link to download 2.1, how could I
>> download the wrong NFD and ndn-cxx versions associated with this
>> simulator ?
>>
>> https://github.com/named-data-ndnSIM/ndnSIM/releases/tag/ndnSIM-2.1
>>
>> Thanks,
>> C
>>
>> On Wed, Sep 20, 2017 at 8:26 PM, Spyridon (Spyros) Mastorakis <
>> mastorakis at cs.ucla.edu> wrote:
>>
>>> Hi,
>>>
>>> are you sure you download the appropriate NFD and ndn-cxx versions
>>> associated with the simulator too?
>>>
>>> Thanks,
>>>
>>> Spyridon (Spyros) Mastorakis
>>> Personal Website: http://cs.ucla.edu/~mastorakis/
>>> Internet Research Laboratory
>>> Computer Science Department
>>> UCLA
>>>
>>> On Sep 20, 2017, at 11:18 AM, Carl Zu <carlzu8 at gmail.com> wrote:
>>>
>>> Hi everyone,
>>>
>>> I need to install ndnSIM 2.1.I downloaded ndnSIM 2.1 from here:
>>>
>>> https://github.com/named-data-ndnSIM/ndnSIM/releases/tag/ndnSIM-2.1
>>>
>>> As for "ns-3" and "pybindgen", first, I did the following:
>>>
>>> git clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
>>> git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen
>>>
>>>
>>> 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:
>>>
>>>
>>> Traceback (most recent call last):
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 108, in waf_entry_point
>>>     run_commands()
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 165, in run_commands
>>>     parse_options()
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 138, in parse_options
>>>     Context.create_context('options').execute()
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Options.py", line 146, in execute
>>>     super(OptionsContext,self).execute()
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 92, in execute
>>>     self.recurse([os.path.dirname(g_module.root_path)])
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse
>>>     user_function(self)
>>>   File "/home/carl/ndnSIM-2.1/ns-3/wscript", line 213, in options
>>>     opt.recurse('src')
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse
>>>     user_function(self)
>>>   File "/home/carl/ndnSIM-2.1/ns-3/src/wscript", line 48, in options
>>>     opt.recurse(module, mandatory=False)
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse
>>>     user_function(self)
>>>   File "/home/carl/ndnSIM-2.1/ns-3/src/ndnSIM/wscript", line 16, in options
>>>     opt.load(['version'], tooldir=['%s/.waf-tools' % opt.path.abspath()])
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 86, in load
>>>     module=load_tool(t,path)
>>>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 342, in load_tool
>>>     __import__(tool)
>>> ImportError: No module named version
>>>
>>>
>>> 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.
>>>
>>>
>>> Thanks,
>>>
>>> C
>>>
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170920/e2e6de47/attachment-0001.html>


More information about the ndnSIM mailing list