[ndnSIM] Errors occurred when setting up ndnSIM2.1

Christian Kreuzberger christian.kreuzberger at itec.aau.at
Sun Nov 29 09:24:26 PST 2015


It tells you that you are missing sqlite (last two lines of the log).
What operating system (distribution) are you using?

On 2015-11-29 17:38, Aaron wrote:
> Hi, all!
> 
> I tried to set up ndnSIM 2.1 following the instructions of Getting
> Started. However, some errors occurred as shown below.
> 
> root at Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf configure
> Setting top to : /home/NDNSIM/ndnSIM-2.1/ns-3
> Setting out to : /home/NDNSIM/ndnSIM-2.1/ns-3/build
> Checking for 'gcc' (C compiler) : /usr/bin/gcc
> Checking for cc version : 4.9.1
> 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, 9, 'final', 0)
> python-config : /usr/bin/python-config
> Asking python-config for pyembed '--cflags --libs --ldflags' flags :
> yes
> Getting pyembed flags from python-config : yes
> Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
> 
> Getting pyext flags from python-config : 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' : ok
> Traceback (most recent call last):
>  File "setup.py", line 2, in <module>
>  from setuptools import setup
> ImportError: No module named setuptools
> Checking for pybindgen version :
> pybindgen (found ''), (need '0.17.0.post45+ng4806e4f')
> Checking boost includes : 1_55
> Checking boost libs : ok
> Checking for boost linkage : ok
> Checking for click location : not found
> Checking for program 'pkg-config' : /usr/bin/pkg-config
> Checking for 'gtk+-2.0' >= 2.12 : not found
> 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' : not found
> 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 friend typename-specifier : yes
> Checking for override and final specifiers : yes
> Checking for std::vector::insert with const_iterators : yes
> Checking for library pthread : yes
> Checking for 'sqlite3' : not found
> Checking for SQLite3 library : not found
> The configuration failed
> (complete log in /home/NDNSIM/ndnSIM-2.1/ns-3/build/config.log)
> 
> How to fix it?
> 
> Regards,
> 
> Aaron
> 
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim



More information about the ndnSIM mailing list