DCE installation problem

377 views
Skip to first unread message

Maruf

unread,
Apr 9, 2014, 5:09:13 AM4/9/14
to ns-3-...@googlegroups.com
hi,
I want to install DCE in my ns3. I have make a directory dce in ns-allinone-3.16. but when I will give the command,
bake.py configure -e dce-ns3-1.0

then I got an error.

bash: bake.py: command not found.


Konstantinos

unread,
Apr 9, 2014, 5:11:18 AM4/9/14
to ns-3-...@googlegroups.com

Maruf

unread,
Apr 9, 2014, 5:33:02 AM4/9/14
to ns-3-...@googlegroups.com
Hi,
I gave this code into this directory,
ns-allinone-3.16/bake/dec 

in this directory I gave this code,
bake.py configure -e dce-ns3-1.0

I have used linux CentOS.

Maruf

unread,
Apr 9, 2014, 5:43:35 AM4/9/14
to ns-3-...@googlegroups.com
Hi,
I gave this code into this directory, 
ns-allinone-3.16/bake/dec 

in this directory I gave this code,
bake.py configure -e dce-ns3-1.0

I have used linux CentOS.

still I have got the same message 
bash: bake.py: command not found.

Anyone can solve this problem, because now I am stuck in this position!

Emilio Mancini

unread,
Apr 9, 2014, 6:08:09 AM4/9/14
to ns-3-...@googlegroups.com
You should read and understand the documentation. Everything is there: http://www.nsnam.org/docs/dce/release/1.2/manual/html/getting-started.html

1) You need to install bake. From your home directory:

cd
hg clone http
://code.nsnam.org/bake bake



2) then you have to create a directory for DCE and configure it using bake:

cd
mkdir dce
cd dce
$HOME
/bake/bake.py configure -e dce-ns3-1.2



3) You can then download and install ns-3 and dce:
$HOME/bake/bake.py deploy

4) *Pay attention* to the output. If something goes wrong, it can help you.

5) Please, use the latest versions. Ns-3.16 and dce-1.0 have some bug that it is now solved.

Maruf

unread,
Apr 11, 2014, 4:05:31 PM4/11/14
to ns-3-...@googlegroups.com
Thank you for your reply. now I have installed dce using this link: http://www-sop.inria.fr/members/Frederic.Urbani/ns3dceccnx/getting-started.html

But I have a question:
How I can run an example in which folder (suppose in ns3 we will give the simulation file into scratch folder)?

Emilio Mancini

unread,
Apr 11, 2014, 5:53:22 PM4/11/14
to ns-3-...@googlegroups.com
This link is outdated. I suggest you to look at the most recent documentation:
http://www.nsnam.org/docs/dce/manual/html/getting-started.html

If you want to run your own example you can use the folder myscripts.

If you want to run an existing example use
./waf --run EXAMPLE_NAME

Maruf

unread,
Apr 12, 2014, 5:29:16 AM4/12/14
to ns-3-...@googlegroups.com
Hi,
I have face some problem after this command,
Desktop/bake/dce# bake.py configure -e dce-ns3-1.2

then I have got this error,
bake.py: command not found
Message has been deleted

Dowon Hyun

unread,
Apr 12, 2014, 7:20:45 AM4/12/14
to ns-3-...@googlegroups.com
Hi,

I think you need to set PATH environment like below:

export BAKE_HOME=/YOUR_DIRECTORY/bake
export PATH=$PATH:$BAKE_HOME
export PYTHONPATH=$PYTHONPATH:$BAKE_HOME


2014년 4월 12일 토요일 오후 6시 29분 16초 UTC+9, Maruf 님의 말:

Maruf

unread,
Apr 12, 2014, 8:57:37 AM4/12/14
to ns-3-...@googlegroups.com
thank you. yes I have done it. in my home directory I have this,
root@ubuntu:/home# ls
bake  dce  maruf

1) this back and dce are sepate folder or same folder, I have some confused about this!

2) can I install (Building DCE advanced mode (with Linux kernel) / Building DCE using WAF) for doing the work(network packet loss) in DCE?

3)can I run this file [ dce-iperf.cc ] from this directory (root@ubuntu:/home/dce/source/ns-3-dce#) or other directory?

Asif wagan

unread,
Jan 6, 2015, 8:14:27 PM1/6/15
to ns-3-...@googlegroups.com


Hi
I facing problem during installation of dce-umip. Please find the attached pic , everything fine only two last command making trouble
./test.py and
./waf.py
pic2.png
Pic 1 .png
Reply all
Reply to author
Forward
0 new messages