|
Bugzilla – Full Text Bug Listing |
| Summary: | click is listed as built even if it's not enabled | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Vedran Miletić <vedran> |
| Component: | build system | Assignee: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | ns-bugs, suresh.lalith, watrous |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Vedran Miletić
2011-06-08 17:40:06 UTC
This is because Click is built in the same manner as MPI, and builds empty classes if Click isn't enabled. Running any of the Click examples in this case reminds the user to get Click enabled first. This was raised during the review by Tom [0], and Mathieu responded by saying it's much easier to avoid making wscripts too smart. So I left it as it is. If anyone can send in wscript patches for this, I'll be more than happy to push it through. :) [0] http://codereview.appspot.com/3988043/diff/35001/src/routing/click/helper/click-internet-stack-helper.cc#newcode23 In order to get the static build to work on darwin, I added the capability to our waf scripts to have enabled modules not be built if the components they depend on (click, Python, openflow, etc) are not present on the user's machine. So it is relatively easy to make the click module not be built when click is not installed. Bug closed. Changeset: 73175a16fa7a Thanks. |