Bug 1944

Summary: feature request: ./waf configure detects invalid module
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: NEW ---    
Severity: enhancement CC: ns-bugs
Priority: P5    
Version: pre-release   
Hardware: PC   
OS: Linux   

Description Tom Henderson 2014-07-07 12:17:09 UTC
when './waf configure --enable-modules" is provided with an invalid module name, the configuration succeeds,  but the build fails with a more cryptic error.  e.g.

./waf configure --enable-modules=invalidmodulename

// succeeds

./waf build
Waf: Entering directory `/path/to/ns-3-dev/build'
Could not find a task generator for the name 'ns3-invalidmodulename'

A user has requested that './waf configure' instead detect this and print out a more helpful error message.

maybe something that called get_tgen_by_name() for each module at the end of configure, and caught the exception with a helpful error message, would work.