Bug 1355 - visualizer dependencies not detected at buildtime
visualizer dependencies not detected at buildtime
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: visualizer
pre-release
All All
: P5 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-31 13:38 UTC by Tom Henderson
Modified: 2012-02-15 08:46 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2012-01-31 13:38:51 UTC
I just tried to use pyviz on a system without pygraphviz.

At configure time and build time, the visualizer library is built.  However, at runtime, when I type (e.g.) ./waf --run wifi-adhoc --vis, I get
No visualization support (No module named pygraphviz).

Could/should we add dependency checking to ./waf configure to alert people that visualization won't work?  e.g. 

Visualization                   : not enabled (reason)

and suppress the building of visualizer library if the python support is absent?
Comment 1 Gustavo J. A. M. Carneiro 2012-02-14 13:44:37 UTC
changeset:   7712:e22640804bf7
tag:         tip
user:        Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>
date:        Tue Feb 14 18:44:16 2012 +0000
summary:     Bug 1355 - visualizer dependencies not detected at buildtime
Comment 2 Vedran Miletić 2012-02-15 08:46:00 UTC
Thanks for fixing this, helps with packaging.