Bug 288

Summary: --python-scan does not build everything.h before running
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED INVALID    
Severity: normal CC: gjcarneiro, ns-bugs
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   

Description Mathieu Lacage 2008-08-15 13:59:28 UTC
I have a hard time figuring out:
1) why we build everything.h when --python-scan is not run
2) why we _don't_ build everything.h when --python-scan is run

Both look like bugs to me.
Comment 1 Gustavo J. A. M. Carneiro 2008-08-18 17:14:04 UTC
(In reply to comment #0)
> I have a hard time figuring out:
> 1) why we build everything.h when --python-scan is not run

This is needed because the python bindings include this header file.  Well, it doesn't have to be this way, but it's easier this way, so why bother changing.

> 2) why we _don't_ build everything.h when --python-scan is run

This is a bug; confirmed.
Comment 2 Mathieu Lacage 2008-09-02 16:32:47 UTC
I still get this bug in ns-3-dev HEAD as of today.
Comment 3 Gustavo J. A. M. Carneiro 2008-09-02 17:30:42 UTC
(In reply to comment #2)
> I still get this bug in ns-3-dev HEAD as of today.

What are you doing that expect everything.h to be rebuilt?  Maybe I missed some dependency.
Comment 4 Mathieu Lacage 2008-09-02 17:35:14 UTC
I just modify a couple of headers in src/devices/wifi/
Comment 5 Gustavo J. A. M. Carneiro 2008-09-03 06:26:31 UTC
(In reply to comment #4)
> I just modify a couple of headers in src/devices/wifi/
 
I modified a couple of headers in src/devices/wifi and it worked.  What particular headers does it not work with?  If they are private headers...
Comment 6 Mathieu Lacage 2008-10-16 07:02:00 UTC
I think we can close this bug as INVALID since --python-scan does not try to build anything anymore. it exits.