Hi all,
I built ns-3.29 in Ubuntu 16.04 64-bit. When I try "bake.py --debug build -vv", it comes out error as showing below.
[2696/2758] Compiling build/src/visualizer/visualizer/__pycache__/__init__.cpython-35.pyo
[2697/2758] Compiling build/src/visualizer/visualizer/__pycache__/hud.cpython-35.pyo
[2698/2758] Compiling build/src/visualizer/visualizer/__pycache__/base.cpython-35.pyc
Traceback (most recent call last):
File "/usr/lib/python3.5/py_compile.py", line 125, in compile
_optimize=optimize)
File "<frozen importlib._bootstrap_external>", line 727, in source_to_code
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/vic/build/lib/python3.5/site-packages/visualizer/visualizer/base.py", line 129
except ImportError , ex:
^
SyntaxError: invalid syntax
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/usr/lib/python3.5/py_compile.py", line 129, in compile
raise py_exc
py_compile.PyCompileError: File "/home/vic/build/lib/python3.5/site-packages/visualizer/visualizer/base.py", line 129
except ImportError , ex:
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/usr/lib/python3.5/py_compile.py", line 125, in compile
_optimize=optimize)
File "<frozen importlib._bootstrap_external>", line 727, in source_to_code
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/vic/build/lib/python3.5/site-packages/visualizer/visualizer/base.py", line 129
except ImportError , ex:
^
SyntaxError: invalid syntax
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/usr/lib/python3.5/py_compile.py", line 129, in compile
raise py_exc
py_compile.PyCompileError: File "/home/vic/build/lib/python3.5/site-packages/visualizer/visualizer/base.py", line 129
except ImportError , ex:
^
SyntaxError: invalid syntax
Waf: Leaving directory `/home/vic/source/ns-3.29/build'
Build failed
-> task in '' failed with exit status 1 (run with -v to display more information)
-> task in '' failed with exit status 1 (run with -v to display more information)
>> Building ns-3.29 - Problem
> Subprocess failed with error 1: ['/usr/bin/python', '/home/vic/source/ns-3.29/waf']
bake.Exceptions.TaskError: Subprocess failed with error 1: ['/usr/bin/python', '/home/vic/source/ns-3.29/waf']
File "/home/vic/bake/bake/Module.py", line 427, in build
self._build.build(env, jobs)
File "/home/vic/bake/bake/ModuleBuild.py", line 416, in build
env=self._env(env.objdir))
File "/home/vic/bake/bake/ModuleEnvironment.py", line 540, in run
raise TaskError('Subprocess failed with error %d: %s' % (retcode, str(args)))
> Error: Critical dependency, module "ns-3.29" failed
bake.Dependencies.DependencyUnmet: (<bake.Module.Module object at 0x7f8c365989e8>, 'failed')
File "/home/vic/bake/bake/Bake.py", line 687, in _iterate
deps.resolve(targets)
File "/home/vic/bake/bake/Dependencies.py", line 198, in resolve
self._resolve_serial(targets, callback)
File "/home/vic/bake/bake/Dependencies.py", line 433, in _resolve_serial
finished = self._resolve_one_iteration(targets, callback)
File "/home/vic/bake/bake/Dependencies.py", line 411, in _resolve_one_iteration
raise DependencyUnmet(i.dst(), tailError)
How can I resolve this?
Thanks in advance.