Mr.Carra
unread,Sep 9, 2009, 7:00:39 AM9/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hi, I got latest ns3 from mercury, but now it can not build...
running
->./waf configure
Checking for program g++ : ok /usr/bin/g++
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
Checking for g++ : ok
Checking for program pkg-config : ok /usr/bin/pkg-config
Checking for regression reference traces : ok ../ns-3-dev-ref-traces
(guessed)
Checking for -Wno-error=deprecated-declarations support : no
Checking for -Wl,--soname=foo support : yes
Checking for header stdlib.h : ok
Checking for header signal.h : ok
Checking for header pthread.h : ok
Checking for high precision time implementation : 128-bit
integer
Checking for header stdint.h : ok
Checking for header inttypes.h : ok
Checking for header sys/inttypes.h : not found
Checking for library rt : ok
Checking for header netpacket/packet.h : ok
Checking for pkg-config flags for GSL : ok
Checking for header linux/if_tun.h : ok
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
Package 'cairo', required by 'Pango Cairo', not found
Checking for pkg-config flags for GTK_CONFIG_STORE : not found
Checking for pkg-config flags for LIBXML2 : ok
Checking for library sqlite3 : ok
Checking for NSC location : ok ../nsc
(guessed)
Checking for library dl : ok
Checking for NSC supported architecture x86_64 : ok
Checking for program python : ok /usr/
local/bin/python
Checking for Python version >= 2.3 : ok 2.4.3
Checking for library python2.4 : ok
Checking for program python2.4-config : not found
Checking for program python-config-2.4 : not found
Checking for header Python.h : ok
Checking for -fvisibility=hidden support : yes
Checking for pybindgen location : ok ../
pybindgen (guessed)
Checking for Python module pybindgen : ok
Checking for pybindgen version : ok
0.11.0.697
Checking for Python module pygccxml : ok
Checking for pygccxml version : ok 1.0.0
Checking for program gccxml : ok /usr/
local/bin/gccxml
Checking for gccxml version : ok 0.9.0
Checking for program sudo : ok /usr/bin/
sudo
Checking for program hg : ok /usr/bin/
hg
Checking for program valgrind : ok /usr/bin/
valgrind
---- Summary of optional NS-3 features:
Threading Primitives : enabled
Real Time Simulator : enabled
Emulated Net Device : enabled
GNU Scientific Library (GSL) : enabled
Tap Bridge : enabled
GtkConfigStore : not enabled (library 'gtk+-2.0 >=
2.12' not found)
XmlIo : enabled
SQlite stats data output : enabled
Network Simulation Cradle : enabled
Python Bindings : enabled
Python API Scanning Support : enabled
Use sudo to set suid bit : not enabled (option --enable-sudo not
selected)
Static build : not enabled (option --enable-static
not selected)
and ./waf chech
running ./waf check from ns-3-dev generates:
Waf: Leaving directory `/home/lauril/ns3/repos/ns-3-allinone/ns-3-dev/
build'
Build failed
-> task failed (err #1):
{task: cxx ns3module.cc -> ns3module_3.o}
-> task failed (err #1):
{task: cxx ns3module_helpers.cc -> ns3module_helpers_3.o}
-> task failed (err #1):
{task: cxx ns3_module_csma.cc -> ns3_module_csma_3.o}
-> task failed (err #1):
{task: cxx ns3_module_onoff.cc -> ns3_module_onoff_3.o}
-> task failed (err #1):
{task: cxx ns3_module_udp_echo.cc -> ns3_module_udp_echo_3.o}
-> task failed (err #1):
{task: cxx ns3_module_simulator.cc -> ns3_module_simulator_3.o}
-> task failed (err #1):
{task: cxx ns3_module_internet_stack.cc ->
ns3_module_internet_stack_3.o}
-> task failed (err #1):
{task: cxx ns3_module_list_routing.cc -> ns3_module_list_routing_3.o}
running ./build from ns-3-allinone
besides countless varnings, fails
Waf: Leaving directory `/home/lauril/ns3/repos/ns-3-allinone/ns-3-dev/
build'
Build failed
-> task failed (err #1):
{task: cxx ns3module.cc -> ns3module_3.o}
-> task failed (err #1):
{task: cxx ns3module_helpers.cc -> ns3module_helpers_3.o}
-> task failed (err #1):
{task: cxx ns3_module_udp_echo.cc -> ns3_module_udp_echo_3.o}
-> task failed (err #1):
{task: cxx ns3_module_csma.cc -> ns3_module_csma_3.o}
-> task failed (err #1):
{task: cxx ns3_module_onoff.cc -> ns3_module_onoff_3.o}
-> task failed (err #1):
{task: cxx ns3_module_simulator.cc -> ns3_module_simulator_3.o}
-> task failed (err #1):
{task: cxx ns3_module_list_routing.cc -> ns3_module_list_routing_3.o}
-> task failed (err #1):
{task: cxx ns3_module_internet_stack.cc ->
ns3_module_internet_stack_3.o}
Traceback (most recent call last):
File "./build.py", line 117, in ?
sys.exit(main(sys.argv))
File "./build.py", line 108, in main
build_ns3(config)
File "./build.py", line 56, in build_ns3
run_command(["python", "waf"])
File "/home/lauril/ns3/repos/ns-3-allinone/util.py", line 24, in
run_command
raise CommandError("Command %r exited with code %i" % (argv,
retval))
util.CommandError: Command ['python', 'waf'] exited with code 1
any sugestions?