<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">First of all, please use the ndnSIM mailing list for related questions.</div><div class=""><br class=""></div><div class="">Please make sure to clean up your system from previous installations and try to install again. It is not clear to me what might be going wrong.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Spyridon (Spyros) Mastorakis<br class="">Assistant Professor<br class="">Computer Science Department<br class="">University of Nebraska, Omaha<br class="">Peter Kiewit Institute Room 175A<br class=""><a href="https://sites.google.com/site/spyridonmastorakis" class="">https://sites.google.com/site/spyridonmastorakis</a><br class=""><br class=""><br class=""></div></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Sep 20, 2019, at 6:02 AM, Debraj Das via Ndn-interest <<a href="mailto:ndn-interest@lists.cs.ucla.edu" class="">ndn-interest@lists.cs.ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hello.</div><div class=""><br class=""></div><div class="">I'm stuck with ndnsim installation. I'm working with Ubuntu 16.04. I followed the steps written in <a href="https://ndnsim.net/current/getting-started.html" class="">https://ndnsim.net/current/getting-started.html</a> . Configuration went fine and it's also showing that ndnSIM is enabled -</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Setting top to                           : /home/juit/ndnSIM/ns-3 <br class="">Setting out to                           : /home/juit/ndnSIM/ns-3/build <br class="">Checking for 'gcc' (C compiler)          : /usr/bin/gcc <br class="">Checking for cc version                  : 5.4.0 <br class="">Checking for 'g++' (C++ compiler)        : /usr/bin/g++ <br class="">Checking supported compiler CXXFLAGS     : -std=c++14 <br class="">Checking supported optimizations CXXFLAGS : -O3 <br class="">Checking supported debug CXXFLAGS         : -g <br class="">Checking supported warnings CXXFLAGS      : -Wall -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing <br class="">Checking for compilation flag -march=native support : ok <br class="">Checking for compilation flag -Wl,--soname=foo support : ok <br class="">Checking for compilation flag -std=c++14 support       : ok <br class="">Checking for program 'python'                          : /usr/bin/python <br class="">Checking for python version >= 2.3                     : 2.7.12 <br class="">python-config                                          : /usr/bin/python-config <br class="">Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes <br class="">Testing pyembed configuration                                      : yes <br class="">Asking python-config for pyext '--cflags --libs --ldflags' flags   : yes <br class="">Testing pyext configuration                                        : yes <br class="">Checking for compilation flag -fvisibility=hidden support          : ok <br class="">Checking for compilation flag -Wno-array-bounds support            : ok <br class="">Checking for pybindgen location                                    : ../pybindgen (guessed) <br class="">Checking for python module 'pybindgen'                             : 0.19.0.post4+g823d8b2 <br class="">Checking for pybindgen version                                     : 0.19.0.post4+g823d8b2 <br class="">Checking for code snippet                                          : no <br class="">Checking for types uint64_t and unsigned long equivalence          : yes <br class="">Checking for code snippet                                          : yes <br class="">Checking for types uint64_t and unsigned long long equivalence     : no <br class="">Checking for the apidefs that can be used for Python bindings      : gcc-ILP32 <br class="">Checking for internal GCC cxxabi                                   : complete <br class="">Checking for python module 'pygccxml'                              : 1.9.1 <br class="">Checking for pygccxml version                                      : 1.9.1 <br class="">Checking for program 'castxml'                                     : /usr/bin/castxml <br class="">Checking for castxml version                                       : 0.1 <br class="">Checking boost includes                                            : 1_58 <br class="">Checking boost libs                                                : ok <br class="">Checking for boost linkage                                         : ok <br class="">Checking for click location                                        : not found <br class="">Checking for program 'pkg-config'                                  : /usr/bin/pkg-config <br class="">Checking for 'gtk+-3.0'                                            : not found <br class="">Checking for 'libxml-2.0'                                          : not found <br class="">checking for uint128_t                                             : not found <br class="">checking for __uint128_t                                           : not found <br class="">Checking high precision implementation                             : cairo 128-bit integer (default) <br class="">Checking for header stdint.h                                       : yes <br class="">Checking for header inttypes.h                                     : yes <br class="">Checking for header sys/inttypes.h                                 : not found <br class="">Checking for header sys/types.h                                    : yes <br class="">Checking for header sys/stat.h                                     : yes <br class="">Checking for header dirent.h                                       : yes <br class="">Checking for header stdlib.h                                       : yes <br class="">Checking for header signal.h                                       : yes <br class="">Checking for header pthread.h                                      : yes <br class="">Checking for header stdint.h                                       : yes <br class="">Checking for header inttypes.h                                     : yes <br class="">Checking for header sys/inttypes.h                                 : not found <br class="">Checking for library rt                                            : yes <br class="">Checking for header sys/ioctl.h                                    : yes <br class="">Checking for header net/if.h                                       : yes <br class="">Checking for header net/ethernet.h                                 : yes <br class="">Checking for header linux/if_tun.h                                 : yes <br class="">Checking for header netpacket/packet.h                             : yes <br class="">Checking for NSC location                                          : not found <br class="">Checking for program 'doxygen'                                     : not found <br class="">Checking for program 'tar'                                         : /bin/tar <br class="">Checking for program 'sphinx-build'                                : not found <br class="">Checking for std::to_string                                        : yes <br class="">Checking for library pthread                                       : yes <br class="">Checking for 'sqlite3'                                             : yes <br class="">Checking for OpenSSL lib                                           : "OpenSSL 1.0.2g-fips  1 Mar 2016" <br class="">Checking if OpenSSL library works                                  : yes <br class="">Checking for OpenFlow location                                     : not found <br class="">Checking for 'sqlite3'                                             : yes <br class="">Checking for header linux/if_tun.h                                 : yes <br class="">Checking for python module 'gi'                                    : 3.20.0 <br class="">Checking for python module 'gi.repository.GObject'                 : ok <br class="">Checking for python module 'cairo'                                 : ok <br class="">Checking for python module 'pygraphviz'                            : 1.3.1 <br class="">Checking for python module 'gi.repository.Gtk'                     : ok <br class="">Checking for python module 'gi.repository.Gdk'                     : ok <br class="">Checking for python module 'gi.repository.Pango'                   : ok <br class="">Checking for python module 'gi.repository.GooCanvas'               : ok <br class="">Checking for program 'sudo'                                        : /usr/bin/sudo <br class="">Checking for program 'valgrind'                                    : not found <br class="">Checking for 'gsl'                                                 : not found <br class="">python-config                                                      : not found <br class="">Checking for program 'doxygen'                                     : not found <br class="">---- Summary of optional NS-3 features:<br class="">Build profile                 : optimized<br class="">Build directory               : <br class="">BRITE Integration             : not enabled (BRITE not enabled (see option --with-brite))<br class="">DES Metrics event collection  : not enabled (defaults to disabled)<br class="">Emulation FdNetDevice         : enabled<br class="">Examples                      : not enabled (defaults to disabled)<br class="">File descriptor NetDevice     : enabled<br class="">GNU Scientific Library (GSL)  : not enabled (GSL not found)<br class="">Gcrypt library                : not enabled (libgcrypt not found: you can use libgcrypt-config to find its location.)<br class="">GtkConfigStore                : not enabled (library 'gtk+-3.0 >= 3.0' not found)<br class="">MPI Support                   : not enabled (option --enable-mpi not selected)<br class="">NS-3 Click Integration        : not enabled (nsclick not enabled (see option --with-nsclick))<br class="">NS-3 OpenFlow Integration     : not enabled (OpenFlow not enabled (see option --with-openflow))<br class="">Network Simulation Cradle     : not enabled (NSC not found (see option --with-nsc))<br class="">PlanetLab FdNetDevice         : not enabled (PlanetLab operating system not detected (see option --force-planetlab))<br class="">PyViz visualizer              : enabled<br class="">Python API Scanning Support   : enabled<br class="">Python Bindings               : enabled<br class="">Real Time Simulator           : enabled<br class="">SQlite stats data output      : enabled<br class="">Tap Bridge                    : enabled<br class="">Tap FdNetDevice               : enabled<br class="">Tests                         : not enabled (defaults to disabled)<br class="">Threading Primitives          : enabled<br class="">Use sudo to set suid bit      : not enabled (option --enable-sudo not selected)<br class="">XmlIo                         : not enabled (library 'libxml-2.0 >= 2.7' not found)<br class="">ndnSIM                        : enabled<br class="">'configure' finished successfully (5.120s)<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""> But at the final step (./waf) it's showing the following error -</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">In file included from ../src/core/model/<a href="http://int64x64-cairo.cc:30" class="">int64x64-cairo.cc:30</a>:0:<br class="">../src/core/model/cairo-wideint.c: In function ‘cairo_uquorem64_t _cairo_uint_96by64_32x64_divrem(cairo_uint128_t, cairo_uint64_t)’:<br class="">../src/core/model/cairo-wideint.c:694:44: error: ‘UINT_MAX’ was not declared in this scope<br class="">     result.quo = _cairo_uint32s_to_uint64 (UINT_MAX, UINT_MAX);  //PDB cast<br class="">                                            ^<br class="">../src/core/model/cairo-wideint.c:46:52: note: in definition of macro ‘_cairo_uint32s_to_uint64’<br class=""> #define _cairo_uint32s_to_uint64(h,l) ((uint64_t) (h) << 32 | (l))<br class="">                                                    ^<br class="">../src/core/model/cairo-wideint.c: In function ‘cairo_quorem64_t _cairo_int_96by64_32x64_divrem(cairo_int128_t, cairo_int64_t)’:<br class="">../src/core/model/cairo-wideint.c:810:49: error: ‘UINT_MAX’ was not declared in this scope<br class="">  qr.quo = _cairo_uint32s_to_uint64 (0x7FFFFFFF, UINT_MAX);  //PDB cast<br class="">                                                 ^<br class="">../src/core/model/cairo-wideint.c:46:64: note: in definition of macro ‘_cairo_uint32s_to_uint64’<br class=""> #define _cairo_uint32s_to_uint64(h,l) ((uint64_t) (h) << 32 | (l))<br class="">                                                                ^<br class=""><br class="">Waf: Leaving directory `/home/juit/ndnSIM/ns-3/build'<br class="">Build failed<br class=""> -> task in 'ns3-core' failed with exit status 1 (run with -v to display more information)<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I'm new to ndnsim. I tried installing it on Ubuntu 14.04 also. But the build fails there too. Any kind of help would be appreciated.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks<br class=""></div></div></div></blockquote></div><br class=""></div></body></html>