Here is the output when I run this command: ./waf -d optimized --enable-examples --enable-tests configure
Setting top to : /Users/miguel/Desktop/ns-allinone-3.19/ns-3.19
Setting out to : /Users/miguel/Desktop/ns-allinone-3.19/ns-3.19/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for cc version : 5.0.0
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking for compilation flag -march=native... support : ok
Checking for program python : /usr/bin/python
Checking for python version : (2, 7, 5, 'final', 0)
Checking for library python2.7 in LIBDIR : not found
Checking for library python2.7 in python_LIBPL : not found
Checking for library python2.7 in $prefix/libs : not found
Checking for library python2.7m in LIBDIR : not found
Checking for library python2.7m in python_LIBPL : not found
Checking for library python2.7m in $prefix/libs : not found
Checking for library python27 in LIBDIR : not found
Checking for library python27 in python_LIBPL : not found
Checking for library python27 in $prefix/libs : not found
Checking for program /usr/bin/python-config,python2.7-config,python-config-2.7,python2.7m-config : /usr/bin/python-config
Checking for header Python.h : :-(
Asking python-config for pyembed --cflags flags : yes
Asking python-config for pyembed --libs flags : yes
Asking python-config for pyembed --ldflags flags : yes
Getting pyembed flags from python-config : Could not build a python embedded interpreter
Checking boost includes : not found
Checking boost includes : not found
Checking for click location : not found
Checking for program pkg-config : not found
Checking for program pkg-config : not found
Checking for type uint128_t : not found
Checking for type __uint128_t : yes
Checking high precision time implementation : 128-bit integer
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 : not found
Checking for header netpacket/packet.h : not found
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 : not found
Checking for header netpacket/packet.h : not found
Checking for NSC location : not found
Checking for program pkg-config : not found
Checking for header linux/if_tun.h : not found
Checking for program sudo : /usr/bin/sudo
Checking for program valgrind : not found
Checking for program pkg-config : not found
Checking for compilation flag -Wno-error=deprecated-d... support : ok
Checking for compilation flag -Wno-error=deprecated-d... support : ok
Checking for compilation flag -fstrict-aliasing... support : ok
Checking for compilation flag -fstrict-aliasing... support : ok
Checking for compilation flag -Wstrict-aliasing... support : ok
Checking for compilation flag -Wstrict-aliasing... support : ok
Checking for program doxygen : not found
---- Summary of optional NS-3 features:
Python Bindings : not enabled (Python library or headers missing)
BRITE Integration : not enabled (BRITE not enabled (see option --with-brite))
NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick))
GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found)
XmlIo : not enabled (library 'libxml-2.0 >= 2.7' not found)
Threading Primitives : enabled
Real Time Simulator : not enabled (librt is not available)
Emulated Net Device : not enabled (<netpacket/packet.h> include not detected)
File descriptor NetDevice : enabled
Tap FdNetDevice : not enabled (needs linux/if_tun.h)
Emulation FdNetDevice : not enabled (needs netpacket/packet.h)
PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab))
Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc))
MPI Support : not enabled (option --enable-mpi not selected)
NS-3 OpenFlow Integration : not enabled (Required boost libraries not found)
SQlite stats data output : not enabled (library 'sqlite3' not found)
Tap Bridge : not enabled (<linux/if_tun.h> include not detected)
PyViz visualizer : not enabled (Python Bindings are needed but not enabled)
Use sudo to set suid bit : not enabled (option --enable-sudo not selected)
Build tests : enabled
Build examples : enabled
GNU Scientific Library (GSL) : not enabled (GSL not found)
'configure' finished successfully (3.401s)
../src/mpi/model/null-message-mpi-interface.cc:52:16: error: unused variable 'NULL_MESSAGE_MAX_MPI_MSG_SIZE' [-Werror,-Wunused-const-variable]
const uint32_t NULL_MESSAGE_MAX_MPI_MSG_SIZE = 2000;
^
1 error generated.
Waf: Leaving directory `/Users/jcmpoliveira/Desktop/ns-allinone-3.19/ns-3.19/build'
Build failed
-> task in 'ns3-mpi' failed (exit status 1):
{task 4540605008: cxx null-message-mpi-interface.cc -> null-message-mpi-interface.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-I.', '-I..', '-I/usr/local/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_GSL=1', '../src/mpi/model/null-message-mpi-interface.cc', '-c', '-o', 'src/mpi/model/null-message-mpi-interface.cc.1.o']
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/81qvw9CM4bo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
marnelaval02:ns-3.19 junaidahmedkhan$ ./waf configure
Setting top to : /Users/junaidahmedkhan/Documents/PhD/NS/ns-allinone-3.19/ns-3.19
Setting out to : /Users/junaidahmedkhan/Documents/PhD/NS/ns-allinone-3.19/ns-3.19/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for cc version : 4.2.1
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking for program python : /opt/local/bin/python
python executable '/opt/local/bin/python' differs from system '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python'
Checking for python version : (2, 7, 6, 'final', 0)
Checking for library python2.7 in LIBPATH_PYEMBED : yes
Checking for program /opt/local/bin/python-config,python2.7-config,python-config-2.7,python2.7m-config : /opt/local/bin/python-config
Checking for header Python.h : yes
Checking for compilation flag -fvisibility=hidden... support : ok
Checking for compilation flag -Wno-array-bounds... support : not found
Checking for pybindgen location : ../pybindgen-0.16.0.834 (guessed)
Python module pybindgen : ok
Checking for pybindgen version : 0.16.0.834
Checking for types uint64_t and unsigned long equivalence : no
Checking for types uint64_t and unsigned long long equivalence : yes
Checking for the apidefs that can be used for Python bindings : gcc-ILP32
Checking for internal GCC cxxabi : incomplete
Python module pygccxml : 1.0.0
Checking for pygccxml version : 1.0.0
Checking for program gccxml : /usr/local/bin/gccxml
Checking for gccxml version : 0.9.0
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 : /opt/local/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 time implementation : 128-bit integer
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 : not found
Checking for header netpacket/packet.h : not found
Checking for header sys/ioctl.h : yes
Checking for header net/if.h : not found
Checking for header net/ethernet.h : yes
Checking for header linux/if_tun.h : not found
Checking for header netpacket/packet.h : not found
Checking for NSC location : not found
Checking for OpenFlow location : not found
Checking for 'sqlite3' : yes
Checking for header linux/if_tun.h : not found
Python module gtk : ok
Python module goocanvas : not found
Python module pygraphviz : 1.2
Checking for program sudo : /usr/bin/sudo
Checking for program valgrind : not found
Checking for 'gsl' : not found
Checking for compilation flag -Wno-error=deprecated-d... support : ok
Checking for compilation flag -Wno-error=deprecated-d... support : ok
Checking for compilation flag -fstrict-aliasing... support : ok
Checking for compilation flag -fstrict-aliasing... support : ok
Checking for compilation flag -Wstrict-aliasing... support : ok
Checking for compilation flag -Wstrict-aliasing... support : ok
Checking for program doxygen : not found
---- Summary of optional NS-3 features:
Python Bindings : enabled
Python API Scanning Support : enabled
BRITE Integration : not enabled (BRITE not enabled (see option --with-brite))
NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick))
GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found)
XmlIo : enabled
Threading Primitives : enabled
Real Time Simulator : not enabled (librt is not available)
Emulated Net Device : not enabled (<netpacket/packet.h> include not detected)
File descriptor NetDevice : enabled
Tap FdNetDevice : not enabled (needs linux/if_tun.h)
Emulation FdNetDevice : not enabled (needs netpacket/packet.h)
PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab))
Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc))
MPI Support : not enabled (option --enable-mpi not selected)
NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see option --with-openflow))
SQlite stats data output : enabled
Tap Bridge : not enabled (<linux/if_tun.h> include not detected)
PyViz visualizer : not enabled (Missing python modules: goocanvas)
Use sudo to set suid bit : not enabled (option --enable-sudo not selected)
Build tests : not enabled (defaults to disabled)
Build examples : not enabled (defaults to disabled)
GNU Scientific Library (GSL) : not enabled (GSL not found)
'configure' finished successfully (2.909s)
Junaid
Thanks!!
...<div
Js-MacBook-Pro:ns-3.19 JK$ ./waf configure
Setting top to : /Users/JK/Documents/ns3/ns-3.19
Setting out to : /Users/JK/Documents/ns3/ns-3.19/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for cc version : 5.1.0
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking for program python : /usr/bin/python
Checking for python version : (2, 7, 5, 'final', 0)
Checking for library python2.7 in LIBDIR : yes
Checking for program /usr/bin/python-config,python2.7-config,python-config-2.7,python2.7m-config : /usr/bin/python-config
Checking for header Python.h : yes
Checking for compilation flag -fvisibility=hidden... support : ok
Checking for compilation flag -Wno-array-bounds... support : ok
Checking for pybindgen location : not found
Python module pybindgen : not found
pybindgen missing => no python bindings
Python Bindings : not enabled (PyBindGen missing)
BRITE Integration : not enabled (BRITE not enabled (see option --with-brite))
NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick))
GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found)
XmlIo : not enabled (library 'libxml-2.0 >= 2.7' not found)
Threading Primitives : enabled
Real Time Simulator : not enabled (librt is not available)
Emulated Net Device : not enabled (<netpacket/packet.h> include not detected)
File descriptor NetDevice : enabled
Tap FdNetDevice : not enabled (needs linux/if_tun.h)
Emulation FdNetDevice : not enabled (needs netpacket/packet.h)
PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab))
Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc))
MPI Support : not enabled (option --enable-mpi not selected)
NS-3 OpenFlow Integration : not enabled (Required boost libraries not found)
SQlite stats data output : not enabled (library 'sqlite3' not found)
Tap Bridge : not enabled (<linux/if_tun.h> include not detected)
PyViz visualizer : not enabled (Python Bindings are needed but not enabled)
Use sudo to set suid bit : not enabled (option --enable-sudo not selected)
Build tests : not enabled (defaults to disabled)
Build examples : not enabled (defaults to disabled)
GNU Scientific Library (GSL) : not enabled (GSL not found)
'configure' finished successfully (3.219s)