[ndnSIM] Install ndnSIM 2.1

Renato Cavalcante renato.frca at gmail.com
Fri Jan 11 07:24:43 PST 2019


Hi Spyros,

Thanks a lot for the help.
I changed the version of pybindgen and the visualizer worked.

Thank you.

Em qui, 10 de jan de 2019 às 20:50, Spyridon (Spyros) Mastorakis <
mastorakis at cs.ucla.edu> escreveu:

> This seems to be a problem with the detection of python bindings by NS-3.
> Can you try the workaround here?
>
> https://www.nsnam.org/wiki/Ns-3.24-errata
>
> Thanks,
>
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> Computer Science Department
> UCLA
>
> On Jan 10, 2019, at 9:22 AM, Renato Cavalcante <renato.frca at gmail.com>
> wrote:
>
> Hi Spyros,
>
> When I run:
> renato at X451MA:~/ndnSIM/ns-3$ *./waf configure
> --boost-includes=/usr/local/include --boost-libs=/usr/local/lib
> --enable-examples*
> ...
> *PyViz visualizer              : not enabled (Python Bindings are needed
> but not enabled)*
> ...
>
> and when I run: *./waf*
> ...
> *Modules not built (see ns-3 tutorial for explanation):*
> *brite                     click                     openflow
>    *
> *visualizer  *
>
> The visualizer module was not built.
> How can i enable it?
>
> Regards.
>
> Em qui, 10 de jan de 2019 às 00:32, Spyridon (Spyros) Mastorakis <
> mastorakis at cs.ucla.edu> escreveu:
>
>> Did you check the output of ./waf configure to see if the visualizer
>> module is enabled?
>>
>> Thanks,
>>
>> Spyridon (Spyros) Mastorakis
>> Personal Website: http://cs.ucla.edu/~mastorakis/
>> Internet Research Laboratory
>> Computer Science Department
>> UCLA
>>
>> On Jan 9, 2019, at 2:38 PM, Renato Cavalcante <renato.frca at gmail.com>
>> wrote:
>>
>> Dear all,
>>
>> I solved the problem after compiling and running NS-3 with custom
>> installation of boost libraries:
>>
>> ./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib --enable-examples
>> ./waf
>>
>> The problem now, is the visualizer that was not compiled.
>>
>> Regards.
>>
>> Regards.
>>
>> Em qua, 9 de jan de 2019 às 18:36, Renato Cavalcante <
>> renato.frca at gmail.com> escreveu:
>>
>>> Hi Spyros,
>>> thanks for the answer.
>>>
>>> I checked:
>>> 1 - I changed ndn-cxx and NFD to version 0.3.4, according to the release
>>> notes of ndnSIM 2.1;
>>>
>>> 2 - cryptopp is installed in the /usr/lib/ directory;
>>>
>>> 3 - code under the .waf-tools directory:
>>> renato at X451MA:~/ndnSIM/ns-3$ ls -a src/ndnSIM/.waf-tools/
>>> *.   compiler-features.py   doxygen.py     type_traits.py  version.pyc*
>>> *..  dependency-checker.py  sphinx_build.py  version.py*
>>>
>>> cat dependency-checker.py
>>>
>>> *https://pastebin.com/82U73kwZ <https://pastebin.com/82U73kwZ>*
>>>
>>> Now, when I run: *./waf configure --enable-examples* no error appears.
>>> But when I run: *./waf* the following error appears:
>>> https://pastebin.com/raw/S2ZEjAkT
>>>
>>> Regards.
>>>
>>> Em qua, 9 de jan de 2019 às 12:45, Spyridon (Spyros) Mastorakis <
>>> mastorakis at cs.ucla.edu> escreveu:
>>>
>>>> Hi Renato,
>>>>
>>>> a few things to check:
>>>>
>>>> 1/ Is the version of NFD and ndn-cxx the right one (i.e., the one that
>>>> it is supposed to be for ndnSIM 2.1)?
>>>>
>>>> 2/ Can you install cryptopp?
>>>>
>>>> 3/ Can you check that there is code under the .waf-tools directory to
>>>> handle the cryptopp dependency?
>>>>
>>>> Thanks,
>>>>
>>>> Spyridon (Spyros) Mastorakis
>>>> Personal Website: http://cs.ucla.edu/~mastorakis/
>>>> Internet Research Laboratory
>>>> Computer Science Department
>>>> UCLA
>>>>
>>>> On Jan 8, 2019, at 4:19 PM, Renato Cavalcante <renato.frca at gmail.com>
>>>> wrote:
>>>>
>>>> Dear all,
>>>>
>>>> I need to install ndnSIM 2.1 and I am facing some problems.
>>>> I am following the steps below, after install all the prerequisites in
>>>> Ubuntu 14.04.
>>>>
>>>> mkdir ndnSIM
>>>> cd ndnSIM
>>>> git clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
>>>> cd ns-3; git checkout ns-3.23-dev-ndnSIM-2.1
>>>>
>>>> git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen
>>>>
>>>> git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git
>>>> ns-3/src/ndnSIM
>>>> cd ns-3/src/ndnSIM; git checkout ndnSIM-2.1
>>>>
>>>> when I run:
>>>> cd <ns-3-folder>
>>>> ./waf configure --enable-examples
>>>>
>>>> This causes the following error:
>>>> https://pastebin.com/raw/YAUVyp5e
>>>>
>>>> I tried to follow these tips (
>>>> https://www.lists.cs.ucla.edu/pipermail/ndnsim/2017-September/004136.html),
>>>> but they also do not work.
>>>>
>>>> Can someone help me?
>>>> Greetings.
>>>>
>>>> --
>>>> Renato Araújo
>>>> Computer Science Department
>>>> UFBA -- Brazil
>>>> Lattes <http://lattes.cnpq.br/3102385411862897> | pingall
>>>> <https://pingall.wordpress.com/>
>>>> _______________________________________________
>>>> ndnSIM mailing list
>>>> ndnSIM at lists.cs.ucla.edu
>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>>>
>>>>
>>>>
>>>
>>> --
>>> Renato Araújo
>>> Computer Science Department
>>> UFBA -- Brazil
>>> Lattes <http://lattes.cnpq.br/3102385411862897> | pingall
>>> <https://pingall.wordpress.com/>
>>>
>>
>>
>> --
>> Renato Araújo
>> Computer Science Department
>> UFBA -- Brazil
>> Lattes <http://lattes.cnpq.br/3102385411862897> | pingall
>> <https://pingall.wordpress.com/>
>>
>>
>>
>
> --
> Renato Araújo
> Computer Science Department
> UFBA -- Brazil
> Lattes <http://lattes.cnpq.br/3102385411862897> | pingall
> <https://pingall.wordpress.com/>
>
>
>

-- 
Renato Araújo
Computer Science Department
UFBA -- Brazil
Lattes <http://lattes.cnpq.br/3102385411862897> | pingall
<https://pingall.wordpress.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190111/b161add8/attachment-0001.html>


More information about the ndnSIM mailing list