Redirect the stderr of pybindgen to a log file (ns3modulegen.log).
--- a/bindings/python/wscript Wed Jul 09 17:31:01 2008 +0100
+++ b/bindings/python/wscript Wed Jul 09 17:31:37 2008 +0100
@@ -316,9 +316,9 @@
if env['ENABLE_PYTHON_BINDINGS']:
bindgen = bld.create_obj('command-output')
bindgen.name = 'pybindgen'
-
bindgen.command = env['PYTHON']
bindgen.command_is_external = True
+ bindgen.stderr = 'ns3modulegen.log'
bindgen.argv = [
bindgen.input_file("ns3modulegen.py"),
bindgen.output_file("ns3module.cc"),