Bug 1077 - The ns-3 configuration file file (.ns3rc) only works if you disable python
The ns-3 configuration file file (.ns3rc) only works if you disable python
Status: RESOLVED DUPLICATE of bug 1076
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
All All
: P5 major
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-18 17:51 EDT by Mitch Watrous
Modified: 2011-03-20 10:21 EDT (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 Mitch Watrous 2011-03-18 17:51:36 EDT
To demonstrate this bug, first get a copy of the .ns3rc file that is in the utils directory:

    cp utils/.ns3rc .

The .ns3rc file should now be in your ns-3-dev directory.

Modify the .ns3rc file to only enable a single module like this:

    modules_enabled = ['core']

You will now get a waf error if you do:

    ./waf configure
    ./waf build

The error will go away if you disable Python like this:

    ./waf configure --disable-python
    ./waf build
Comment 1 Gustavo J. A. M. Carneiro 2011-03-20 10:21:24 EDT

*** This bug has been marked as a duplicate of bug 1076 ***