Bug 288 - --python-scan does not build everything.h before running
--python-scan does not build everything.h before running
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
All All
: P3 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-15 13:59 UTC by Mathieu Lacage
Modified: 2008-10-16 08:16 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.