Thanks for the response. I am able to go through the bake steps until the point of `./bake.py build` and then I always get a problem. The debug output does not clarify what the problem is. Are you able to help and let me know what you think is going wrong? Please see my terminal output below. (It might be worth noting that bake.py looks for python-dev and setuptools and not python3-dev or python3-setuptools even though I have both of them installed.)
xxxxxxxxxxx@xxxxxxxxxx:~/repos/ns-3-dev-git/bake$ ./bake.py show
module: pygraphviz (enabled)
No dependencies!
module: python-dev (enabled)
No dependencies!
module: llvm-dev (enabled)
No dependencies!
module: clang-dev (enabled)
No dependencies!
module: g++ (enabled)
No dependencies!
module: cxxfilt (enabled)
No dependencies!
module: setuptools (enabled)
No dependencies!
module: libgoocanvas2 (enabled)
No dependencies!
module: gi-cairo (enabled)
No dependencies!
module: pygobject (enabled)
No dependencies!
module: qt (enabled)
No dependencies!
module: cmake (enabled)
No dependencies!
module: castxml (enabled)
depends on:
clang-dev (optional:False)
llvm-dev (optional:False)
cmake (optional:False)
module: pybindgen (enabled)
depends on:
python-dev (optional:True)
setuptools (optional:False)
module: pyviz-gtk3-prerequisites (enabled)
depends on:
python-dev (optional:True)
pygraphviz (optional:True)
pygobject (optional:True)
gi-cairo (optional:True)
libgoocanvas2 (optional:True)
module: netanim (enabled)
depends on:
qt (optional:False)
g++ (optional:False)
module: pygccxml (enabled)
depends on:
castxml (optional:False)
setuptools (optional:False)
cxxfilt (optional:False)
module: ns-3-dev (enabled)
depends on:
netanim (optional:True)
pybindgen (optional:True)
pyviz-gtk3-prerequisites (optional:True)
-- System Dependencies --
> clang-dev - OK
> cmake - OK
> cxxfilt - OK
> g++ - OK
> gi-cairo - Missing
>> Python gobject components missing from system.
>> Try: "sudo apt-get install python-gi-cairo", if you have sudo rights.
> libgoocanvas2 - Missing
>> GooCanvas2 support missing from system.
>> Try: "sudo apt-get install gir1.2-goocanvas-2.0", if you have sudo rights.
> llvm-dev - OK
> pygobject - OK
> pygraphviz - Missing
>> The pygraphviz is not installed, try to install it.
>> Try: "sudo apt-get install python-pygraphviz", if you have sudo rights.
> python-dev - OK
> qt - OK
> setuptools - OK
xxxxxxxxxxx@xxxxxxxxxx:~/repos/ns-3-dev-git/bake$ ./bake.py download
>> Searching for system dependency pygraphviz - Problem
> Problem: Optional dependency, module "pygraphviz" not available
This may reduce the functionality of the final build.
However, bake will continue since "pygraphviz" is not an essential dependency.
For more information call bake with -v or -vvv, for full verbose mode.
>> Searching for system dependency python-dev - OK
>> Searching for system dependency llvm-dev - OK
>> Searching for system dependency clang-dev - OK
>> Searching for system dependency qt - OK
>> Searching for system dependency g++ - OK
>> Searching for system dependency cxxfilt - OK
>> Searching for system dependency setuptools - OK
>> Searching for system dependency libgoocanvas2 - Problem
> Problem: Optional dependency, module "libgoocanvas2" not available
This may reduce the functionality of the final build.
However, bake will continue since "libgoocanvas2" is not an essential dependency.
For more information call bake with -v or -vvv, for full verbose mode.
>> Searching for system dependency gi-cairo - Problem
> Problem: Optional dependency, module "gi-cairo" not available
This may reduce the functionality of the final build.
However, bake will continue since "gi-cairo" is not an essential dependency.
For more information call bake with -v or -vvv, for full verbose mode.
>> Searching for system dependency pygobject - OK
>> Searching for system dependency cmake - OK
>> Downloading castxml - OK
>> Downloading pybindgen - OK
>> Downloading netanim - (Nothing to do, source directory already exists) - OK
>> Downloading pygccxml - (Nothing to do, source directory already exists) - OK
>> Downloading ns-3-dev - OK
xxxxxxxxxxx@xxxxxxxxxx:~/repos/ns-3-dev-git/bake$ ./bake.py --debug build
>> Building castxml - Problem
TaskError
File "/home/natasha/repos/ns-3-dev-git/bake/bake/Module.py", line 427, in build
self._build.build(env, jobs)
File "/home/natasha/repos/ns-3-dev-git/bake/bake/ModuleBuild.py", line 538, in build
directory=env.objdir)
File "/home/natasha/repos/ns-3-dev-git/bake/bake/ModuleEnvironment.py", line 540, in run
raise TaskError('Subprocess failed with error %d: %s' % (retcode, str(args)))
> Error: Critical dependency, module "castxml" failed
DependencyUnmet
File "/home/natasha/repos/ns-3-dev-git/bake/bake/Bake.py", line 687, in _iterate
deps.resolve(targets)
File "/home/natasha/repos/ns-3-dev-git/bake/bake/Dependencies.py", line 198, in resolve
self._resolve_serial(targets, callback)
File "/home/natasha/repos/ns-3-dev-git/bake/bake/Dependencies.py", line 433, in _resolve_serial
finished = self._resolve_one_iteration(targets, callback)
File "/home/natasha/repos/ns-3-dev-git/bake/bake/Dependencies.py", line 411, in _resolve_one_iteration
raise DependencyUnmet(i.dst(), tailError)
Please assist if you have an idea what is going wrong? I did also add the paths to my PATH env variable.
Regards