task in 'pybindgen(ns3 module plc)' failed (exit status 1)

1,202 views
Skip to first unread message

Qi Pan

unread,
Jul 9, 2014, 8:31:57 AM7/9/14
to ns-3-...@googlegroups.com

Checking for 'gcc' (c compiler)          : /usr/bin/gcc
Checking for cc version                  : 4.6.3
Checking for 'g++' (c++ compiler)        : /usr/bin/g++
Checking for compilation flag -Wl,--soname=foo... support : ok
Checking for program python                               : /usr/bin/python
Checking for python version                               : (2, 7, 3, '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                                                                  : ../pybindgen-0.17.0.868 (guessed)
Python module pybindgen                                                                          : 0.17.0.868
Checking for pybindgen version                                                                   : 0.17.0.868
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                                                                 : complete
Python module pygccxml                                                                           : not found
Checking boost includes                                                                          : 1_46_1
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                                                                  : yes
Checking for 'libxml-2.0' >= 2.7                                                                 : yes
Checking for type uint128_t                                                                      : not found
Checking for type __uint128_t                                                                    : not found
Checking high precision implementation                                                           : cairo 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 netpacket/packet.h                                                           : 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 OpenFlow location                                                                   : not found
Checking for 'sqlite3'                                                                           : yes
Checking for header linux/if_tun.h                                                               : yes
Python module gtk                                                                                : ok
Python module goocanvas                                                                          : 0.14.1
Python module pygraphviz                                                                         : 1.1
Checking for program sudo                                                                        : /usr/bin/sudo
Checking for program valgrind                                                                    : /usr/bin/valgrind
Checking for 'gsl'                                                                               : yes
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                                                                     : /usr/bin/doxygen
---- Summary of optional NS-3 features:
Build profile                 : debug
Build directory               : /home/panqi/ns3/ns-allinone-3.20/ns-3.20/build
Python Bindings               : enabled
Python API Scanning Support   : not enabled (Missing 'pygccxml' Python module)
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                : enabled
XmlIo                         : enabled
Threading Primitives          : enabled
Real Time Simulator           : enabled
Emulated Net Device           : enabled
File descriptor NetDevice     : enabled
Tap FdNetDevice               : enabled
Emulation FdNetDevice         : enabled
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                    : enabled
PyViz visualizer              : 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)  : enabled
'configure' finished successfully (6.147s)
panqi@panqi-Lenovo-IdeaPad-V450:~/ns3/ns-allinone-3.20/ns-3.20$ ./waf
Waf: Entering directory `/home/panqi/ns3/ns-allinone-3.20/ns-3.20/build'
[ 571/1798] command (${PYTHON}): bindings/python/ns3modulegen-modular.py src/plc/bindings/modulegen__gcc_ILP32.py -> build/src/plc/bindings/ns3module.cc build/src/plc/bindings/ns3module.h build/src/plc/bindings/ns3modulegen.log
Waf: Leaving directory `/home/panqi/ns3/ns-allinone-3.20/ns-3.20/build'
Build failed
 -> task in 'pybindgen(ns3 module plc)' failed (exit status 1):
    {task 147792652: command_task ns3modulegen-modular.py,modulegen__gcc_ILP32.py -> ns3module.cc,ns3module.h,ns3modulegen.log}


I am working on the ubuntu12.04 with the ns-3.16.However,there are a lot of problems during the cnfiguring of the ns3.Who can tell me why that happened .
Thank you .

Qi Pan

unread,
Jul 9, 2014, 8:48:07 AM7/9/14
to ns-3-...@googlegroups.com
I did as http://www.nsnam.org/wiki/Installation

在 2014年7月9日星期三UTC+8下午8时31分57秒,Qi Pan写道:

Tommaso Pecorella

unread,
Jul 9, 2014, 12:52:46 PM7/9/14
to ns-3-...@googlegroups.com
Hi,

disable python. You can disable it just for the plc module, just comment the line:
    bld.ns3_python_bindings()

T.

Qi Pan

unread,
Jul 9, 2014, 9:11:06 PM7/9/14
to ns-3-...@googlegroups.com
Thank you.It does work with your great advice.


--
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/KPcbEiy6Q_s/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.

Reply all
Reply to author
Forward
0 new messages