LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem while installing ns3.6 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-while-installing-ns3-6-a-780999/)

sumeet2220 01-09-2010 01:56 AM

problem while installing ns3.6
 
hi all
actually during the installation of ns 3.6,
with the following command
./waf -d debug configure

i get some components not found
specially pybindgen
i have downloaded it
but cant install it and bind it with ns
guys i m a beginner
pls help

acid_kewpie 01-09-2010 02:25 AM

nothing at all to do with networking. Moved to Linux - Newbie.

knudfl 01-09-2010 07:00 AM

Network simulator ns3 ..
 
ns3.6 : http://www.nsnam.org/ > > ns-allinone-3.6.tar.bz2
The install ..
http://www.nsnam.org/wiki/index.php/Installation
.. where I don't see any command ' ./waf -d debug configure '
cd ns-allinone-3.6/ns-3.6
'./waf --help' : no './waf -d debug configure' ? ?
( -d could be an old obsolete option ? ).

Valid commands seems to be, examples :
'./waf --build-profile=debug'
'./waf configure --build-profile=debug'
'./waf configure --with-pybindgen=../pybindgen-0.12.0.703/pybindgen/'
'./waf configure --with-pybindgen=../pybindgen-0.12.0.703/pybindgen/ \
--build-profile=debug'

*
* But then again : the above is not the recommended install metod.
* Go to the top directory ( ns-allinone-3.6/ ) and do :
* ' python build.py '
*
.....
.....

And "pybindgen-0.12.0.703" is part of ns-allinone-3.6 .
Please read the file 'README' ..
QUOTE : ""You can simply recursively copy the entire pybindgen
folder into Python's site-packages directory, and that's it!""

.. Example, Ubuntu 9.10 Karmic ..
sudo cp -a \
ns-allinone-3.6/pybindgen-0.12.0.703/pybindgen/ /usr/lib/python2.6/

Other links ..
http://www.nsnam.org/wiki/index.php/...ndings#Testing
> > NS-3 Python Bindings
.....

And welcome to LQ .. .. :) ..
.....

sumeet2220 02-12-2010 06:21 AM

thanks for info
sorry for late reply but i was busy with some persoal problems.


i tried to run the programmes given it the examples folder
the programmes like wifi-adhoc.cc is ruuning
but i am unable to understand what exactly the output is.
i get string of some numbers in the command window
what does it represent?

and what exactly the programme is about?
please help

knudfl 02-27-2010 04:13 PM

Building samples, examples ..
1) cd ns-allinone-3.6/ns-3.6/
./waf configure --help
... to know all options : Example =
--enable-examples : "Build the ns-3 examples and samples".

1a) And if you want to enable GSL, the 'GNU Scientific Library' ,
and sqlite :
sudo apt-get install libgsl0-dev libsqlite3-dev

2) ./waf configure \
--enable-examples --with-pybindgen=../pybindgen-0.12.0.703/pybindgen
→ → will build : ns-3.6/build/debug/examples .. and samples/

And / or : 2a)
./waf configure --enable-examples --build-profile=optimized \
--with-pybindgen=../pybindgen-0.12.0.703/pybindgen
→ → will build : ns-3.6/build/optimized/examples/.. and samples/
and a lot of : build/optimized/bindings/python/

Actually both configure lines can be used to have both versions,
there may be a difference in "debug/" and "optimized/" ? ?
Just run "./waf build" twice, after each "./waf configure" :
3) ./waf build
But I don't know the exact purpose of the above examples/samples.
.....
.....
4) Running some examples : cd ns-allinone-3.6/ns-3.6/
./waf --pyrun examples/wireless/mixed-wireless.py

4a) ./waf --run examples/wireless/mixed-wireless
./waf --run examples/wireless/wifi-simple-adhoc

etc. etc.

.....

ankscorek 03-02-2010 11:08 AM

use the numbers to create a plot of time versus packets

goodGOD 12-22-2010 10:42 AM

Please best version of NS 3 for Optical Networking and WiMAX
 
dear all

Please I need to know the best version of NS 3 for Optical Networking and WiMAX

NS 3.6 or 3.9


also what is the code(s)
to get NAM sort in NS 3 or get the graphical results.

test codes could be sent please

thanks all

knudfl 12-22-2010 11:19 AM

Post # 7 :

I guess, you will have to search for answers to your two questions.
In "ns-3-users" http://groups.google.com/group/ns-3-users?pli=1

.. and 1) Google : .. NS 3 Optical Networking ..

2) Google .. ns3 wimax ..
Lots of hits ..

Good hunting ! .. .. :) ..
..

goodGOD 12-22-2010 12:38 PM

thanks
I will do that then.....

prinav 09-27-2011 05:58 AM

hello
 
hello guys
i m new to both ubuntu and ns3.

pls give me detailed steps for installing ns3.10 in ubuntu 9.10

i v just installed ubuntu9.10 and have not made any changes..
if there any changes to be made then pls specify them and also explain how to perform them


thank u in advance....

shanky 10-11-2011 04:50 AM

hiii
to get GUI in ns3 u can either try pyViz or NetAnim ..but ppl generally prefer pyViz..
check this link out ..
http://www.nsnam.org/wiki/index.php/PyViz
hope it helps..

knudfl 10-11-2011 05:30 AM

# 10, @prinav : The unsupported Ubuntu 9.10 should not be used.
Recommended is : CentOS 6 ( Based on Fedora 12 ).
The long term supported Ubuntu 10.04.3 can be used.

Prerequisites for Ubuntu :
sudo apt-get install g++ flex bison scons libgsl0-dev \
python<version>-dev linux-image-<??> linux-headers-<??>


cd ns-allinone-3.10/ && python build.py

..


All times are GMT -5. The time now is 08:06 PM.