[ndnSIM] Ubuntu 18.04

Kamrul Morshed shohanmk at yahoo.com
Thu Nov 22 08:01:45 PST 2018


Although, NS-3 3.29 was installed successfully I was unable to install ndnSIM.
I am getting such output while running ./waf configure
user at CyberTron:~/ndnSIM/ns-3$ ./waf configure --enable-examplesSetting top to                           : /home/userx/ndnSIM/ns-3 Setting out to                           : /home/userx/ndnSIM/ns-3/build Checking for 'gcc' (C compiler)          : /usr/bin/gcc Checking for cc version                  : 7.3.0 Checking for 'g++' (C++ compiler)        : /usr/bin/g++ Checking supported compiler CXXFLAGS     : -std=c++0x -std=c++11 Checking supported optimizations CXXFLAGS : -O0 Checking supported debug CXXFLAGS         : -ggdb -g3 Checking supported warnings CXXFLAGS      : -Wall -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing Checking for compilation flag -Wl,--soname=foo support : ok Checking for program 'python'                          : /usr/bin/python Checking for python version                            : (2, 7, 15, 'candidate', 1) python-config                                          : /usr/bin/python-config Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes Testing pyembed configuration                                      : yes Asking python-config for pyext '--cflags --libs --ldflags' flags   : yes Testing pyext configuration                                        : yes Checking for compilation flag -fvisibility=hidden support          : ok Checking for compilation flag -Wno-array-bounds support            : ok Checking for pybindgen location                                    : ../pybindgen (guessed) Checking for python module 'pybindgen'                             : 0.19.0 Checking for pybindgen version                                     : 0.19.0 Checking for code snippet                                          : yes Checking for types uint64_t and unsigned long equivalence          : no Checking for code snippet                                          : no Checking for types uint64_t and unsigned long long equivalence     : yes Checking for the apidefs that can be used for Python bindings      : gcc-LP64 Checking for internal GCC cxxabi                                   : complete Checking for python module 'pygccxml'                              : not found Checking boost includes                                            : 1_65_1 Checking boost libs                                                : lib graph not found in /usr/lib/x86_64-linux-gnu Checking boost includes                                            : 1_65_1 Checking boost libs                                                : lib graph not found in /usr/lib/x86_64-linux-gnu Checking for click location                                        : not found Checking for program 'pkg-config'                                  : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.12                                    : yes Checking for 'libxml-2.0' >= 2.7                                   : yes Checking for type uint128_t                                        : not found Checking for type __uint128_t                                      : yes Checking high precision implementation                             : 128-bit integer (default) Checking for header stdint.h                                       : yes Checking for header inttypes.h                                     : yes Checking for header sys/inttypes.h                                 : not found Checking for header sys/types.h                                    : yes Checking for header sys/stat.h                                     : yes Checking for header dirent.h                                       : yes Checking for header stdlib.h                                       : yes Checking for header signal.h                                       : yes Checking for header pthread.h                                      : yes Checking for header stdint.h                                       : yes Checking for header inttypes.h                                     : yes Checking for header sys/inttypes.h                                 : not found Checking for library rt                                            : yes Checking for header sys/ioctl.h                                    : yes Checking for header net/if.h                                       : yes Checking for header net/ethernet.h                                 : yes Checking for header linux/if_tun.h                                 : yes Checking for header netpacket/packet.h                             : yes Checking for NSC location                                          : not found Checking for program 'doxygen'                                     : /usr/bin/doxygen Checking for program 'tar'                                         : /bin/tar Checking for program 'sphinx-build'                                : not found Checking for std::is_default_constructible                         : yes Checking for std::is_nothrow_move_constructible                    : yes Checking for std::is_nothrow_move_assignable                       : yes Checking for std::to_string                                        : yes Checking for std::vector::insert with const_iterator               : yes Checking for library pthread                                       : yes Checking for 'sqlite3'                                             : yes Checking for OpenSSL lib                                           : "OpenSSL 1.1.0g-fips  2 Nov 2017" Checking if OpenSSL library works                                  : yes ndnSIM will not be built as it requires boost libraries of version at least 1.54.0Checking for 'sqlite3'                                             : yes Checking for header linux/if_tun.h                                 : yes Checking for python module 'gtk'                                   : not found Checking for python module 'goocanvas'                             : not found Checking for python module 'pygraphviz'                            : 1.4rc1 Checking for program 'sudo'                                        : /usr/bin/sudo Checking for program 'valgrind'                                    : /usr/bin/valgrind Checking for 'gsl'                                                 : not found python-config                                                      : not found Checking for program 'doxygen'                                     : /usr/bin/doxygen ---- Summary of optional NS-3 features:Build profile                 : debugBuild directory               : BRITE Integration             : not enabled (BRITE not enabled (see option --with-brite))DES Metrics event collection  : not enabled (defaults to disabled)Emulation FdNetDevice         : enabledExamples                      : enabledFile descriptor NetDevice     : enabledGNU Scientific Library (GSL)  : not enabled (GSL not found)Gcrypt library                : not enabled (libgcrypt not found: you can use libgcrypt-config to find its location.)GtkConfigStore                : enabledMPI Support                   : not enabled (option --enable-mpi not selected)NS-3 Click Integration        : not enabled (nsclick not enabled (see option --with-nsclick))NS-3 OpenFlow Integration     : not enabled (Required boost libraries not found)Network Simulation Cradle     : not enabled (NSC not found (see option --with-nsc))PlanetLab FdNetDevice         : not enabled (PlanetLab operating system not detected (see option --force-planetlab))PyViz visualizer              : not enabled (Missing python modules: gtk, goocanvas)Python API Scanning Support   : not enabled (Missing 'pygccxml' Python module)Python Bindings               : enabledReal Time Simulator           : enabledSQlite stats data output      : enabledTap Bridge                    : enabledTap FdNetDevice               : enabledTests                         : not enabled (defaults to disabled)Threading Primitives          : enabledUse sudo to set suid bit      : not enabled (option --enable-sudo not selected)XmlIo                         : enabledndnSIM                        : not enabled (Required boost libraries not found)'configure' finished successfully (4.315s)


I am also unable to install in my system too. I think the boost library used in ubuntu 18.04 is 1.65, in my older system 16.04 point out manually boost library ("--boost-includes=/usr/local/include --boost-libs=/usr/local/lib") worked smoothly which I am unable to do it 18.04. Besides, while using the command "apt-get install python-dev python-pygraphviz python-kiwi python-pygoocanvas python-gnome2 python-rsvg ipython" I am getting this error "E: Unable to locate package python-pygoocanvasE: Unable to locate package python-rsvg"
I really feel ndnSIM community should look a closer view on installing ndnsim 2.6 on Ubuntu 18.04.
 Kamrul MorshedMS Student


      From: Xinyu Ma <bitmxy at gmail.com>
 To: John Baugh <jpbaugh at umich.edu> 
Cc: ndnsim <ndnsim at lists.cs.ucla.edu>
 Sent: Thursday, November 22, 2018 4:39 PM
 Subject: Re: [ndnSIM] Ubuntu 18.04
   
Hello,
I think it will work well on Ubuntu 18.04 the same as 16.04.You can try these notes:http://ndnsim.net/current/getting-started.html
Please feel free to ask if you have any questions about it.
Best,Xinyu Ma.


On Nov 21, 2018, at 11:59 PM, John Baugh <jpbaugh at umich.edu> wrote:
Greetings ndnSIM friends,
Will there be any official notes about Ubuntu 18.04 being supported with 2.0+?  
Has anyone used it with this build yet?
Thanks!
John P. Baugh, Ph.D._______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim


_______________________________________________
ndnSIM mailing list
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/20181122/89c205c2/attachment-0001.html>


More information about the ndnSIM mailing list