NS-3 DCE : pb with waf configure and quagga examples

78 views
Skip to first unread message

damien....@gmail.com

unread,
Apr 19, 2013, 8:37:45 AM4/19/13
to ns-3-...@googlegroups.com
Hi all,

I'm a beginner with ns-3 DCE.

I built it for quagga execution upon ns3:
bake.py configure -e dce-ns3 -e dce-quagga
 and I ran the dce-quagga-ospfd example successfully. But then I looked at the ns-3-dce configuration:
/home/damien/workspace/dce/source/ns-3-dce/waf configure

And now i can't run dce-quagga examples anymore:
./waf --run dce-quagga-ospfd
Waf: Entering directory `/home/damien/workspace/dce/source/ns-3-dce/build'
program 'dce-quagga-ospfd' not found; available programs are: ['test', './lib/test']


However examples are enabled according to the ./waf configure command:
Example programs              : enabled
 
Could anyone explain me why ? I may misunderstood something.

Thanks.
Damien

Hajime Tazaki

unread,
Apr 20, 2013, 9:34:49 AM4/20/13
to ns-3-...@googlegroups.com

Hi,

thank you for your feedback.

At Fri, 19 Apr 2013 05:37:45 -0700 (PDT),
damien....@gmail.com wrote:
>
> [1 <text/plain; ISO-8859-1 (7bit)>]
> Hi all,
>
> I'm a beginner with ns-3 DCE.
>
> I built it for quagga execution upon ns3:
>
> > *bake.py configure -e dce-ns3 -e dce-quagga *
>
> and I ran the dce-quagga-ospfd example successfully. But then I looked at
> the ns-3-dce configuration:
>
> > */home/damien/workspace/dce/source/ns-3-dce/waf configure*
> >
>
> And now i can't run dce-quagga examples anymore:
>
> > *./waf --run dce-quagga-ospfd*
> > *Waf: Entering directory
> > `/home/damien/workspace/dce/source/ns-3-dce/build'
> > program 'dce-quagga-ospfd' not found; available programs are: ['test',
> > './lib/test']*
> >
>
> However examples are enabled according to the ./waf configure command:
>
> > *Example programs : enabled*
> >
>
> Could anyone explain me why ? I may misunderstood something.

./waf configure in bake specifies options listed below (this
is the case of dce-ns3):

<attribute name="configure_arguments" value="configure --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --prefix=$INSTALLDIR"/>

so if you directly call './waf configure' in ns-3-dce, you
will miss several libraries need to build.

if you want to configure ns-3-dce after bake build, you can
simply call;

$ bake.py build

is that what you're looking for ?

-- Hajime

damien....@gmail.com

unread,
Apr 22, 2013, 3:33:04 AM4/22/13
to ns-3-...@googlegroups.com
so if you directly call './waf configure' in ns-3-dce, you
will miss several libraries need to build.

if you want to configure ns-3-dce after bake build, you can simply call;
 $ bake.py build

ok I understand now. I though that after bake build I could use the ns-3-dce as an usual ns-3 workspace.
thank you for your help Hajime
Reply all
Reply to author
Forward
0 new messages