Bug 1083 - scratch doesn't work when only some modules are enabled
scratch doesn't work when only some modules are enabled
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
ns-3-dev
All All
: P5 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-28 09:55 EDT by Nicola Baldo
Modified: 2011-03-28 10:37 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 Nicola Baldo 2011-03-28 09:55:08 EDT
I am trying to run a program put in scratch.

If I configure the build with
./waf configure
then the example can be compiled and run correctly this way:
./waf --run scratch/lte-wifi-wimax-roaming

If I configure the build excluding some module, e.g.,
./waf configure --enable-modules=wifi,wimax,lte
then I get this error:

./waf --run scratch/lte-wifi-wimax-roaming
Waf: Entering directory `/home/nicola/locale/ns-3-dev/build'
Modules to build: ['ns3-wifi', 'ns3-wimax', 'ns3-lte', 'ns3-network', 'ns3-propagation', 'ns3-spectrum', 'ns3-point-to-point', 'ns3-internet', 'ns3-core', 'ns3-mobility', 'ns3-applications', 'ns3-mpi', 'ns3-bridge', 'ns3-config-store', 'ns3-tools']
program 'scratch/lte-wifi-wimax-roaming' not found; available programs are: 
[snip]

Shouldn't the scratch dir work regardless of which modules are enabled?
Comment 1 Gustavo J. A. M. Carneiro 2011-03-28 10:37:44 EDT
changeset:   6962:7df7b903d035
tag:         tip
user:        Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>
date:        Mon Mar 28 15:37:23 2011 +0100
summary:     Bug 1083 - scratch doesn't work when only some modules are enabled