I obviously missed something during the install, because I'm getting these errors:
Traceback (most recent call last):
File "/usr/local/bin/trace-summary", line 19, in <module>
ImportError: No module named SubnetTree
1.06 real 0.04 user 0.78 sys
I installed ipsumdump. What else should I have done? A configure option?
Are you running trace-summary manually?
The SubnetTree module its complaining about should get installed by default in $prefix/lib/broctl/SubnetTree.py and broctl at least can automatically find it there. But if you run trace-summary manually you may have to alter your PYTHONPATH for it to be found. E.g:
Or is SubnetTree.py just missing completely?
It apparently never got installed. The FreeBSD port wasn't well maintained. I've tried to fix it but apparently missed that one. Looks like I need -DINSTALL_AUX_TOOLS: BOOL=ON?
That's for toggling the install of stuff under aux/bro-aux.
If you look at the configure output, does it give a summary for PySubnetTree? That should indicate where it installed it. If you're not using the ./configure script, but CMake directly and don't -DPY_MOD_INSTALL_DIR:PATH=$prefix/lib/broctl, then I think it will install it in to $HOME/lib/python.
I figured that out and reinstalled bro. It's working now. Thanks.