Documente Academic
Documente Profesional
Documente Cultură
http://blog.ceglug.org/venkat/?p=26
eXperiences and eXpressions Mind shares the TECHiE and Heart the TOUCHiE
./install
It will take long time to compile all the required packages for ns to work Step 4: Setting Environmental Variables Type in terminal:
gedit ~/.bashrc
and append the following text to the opened file (Please note that the path contains the path in my system, replace venkat in path with your username)
http://blog.ceglug.org/venkat/?p=26
USR_LOCAL_LIB=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$US # TCL_LIBRARY TCL_LIB=/home/venkat/ns-allinone-2.34/tcl8.4.18/library USR_LIB=/usr/lib export TCL_LIBRARY=$TCL_LIB:$USR_LIB # PATH XGRAPH=/home/venkat/ns-allinone-2.34/bin:/home/venkat/ns-allinone2.34/tcl8.4.18/unix:/home/venkat/ns-allinone-2.34/tk8.4.18/unix NS=/home/venkat/ns-allinone-2.34/ns-2.34/ NAM=/home/venkat/ns-allinone-2.34/nam-1.14/ PATH=$PATH:$XGRAPH:$NS:$NAM
Step 5: Now, after editing the file, save and close it. Then in terminal type:
source ~/.bashrc
Try ns command, it shud go to the % prompt then it just means the installation was successful! Enjoy Note: These steps have been tested and worked like breeze in Ubuntu and is expected work in all the debian based linux. Reference: 1.) http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04 2.) http://alkautsarpens.wordpress.com/2008/02/05/install-ns231-for-ubuntugutsy-710/ 3.) http://www.isi.edu/nsnam/ns/ns-build.html (Might not be needing this, but just in case)
2 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
architecture you are concentrating on, like x86, Power PC or something. Coz , Im currently working on integrating ubuntu on ARM based processors, specically Cortex 9 series. Doing lot of research on that and came to a conclusion that not a lot of resource available on porting a full fledged OS with all necessary applications on ARM. Experiencing lot of bottle necks and stuff. Hope to have your help in few things. Good luck Vivek 2.
3.
4.
5.
3 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
hello again I am sorry I just discovered the error when installing the allinone 2.34 it goes normally then during the otcl phase it says ( otcl-1.13 make failed! Exiting ) what does that mean ? how do I solve it! Thanks alot for your help 6.
7.
8.
9.
4 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
I am using gcc and g++ version: 4.3.2 and its working fine for me. See the forum link, it worked for people having this problem. Venki 10.
11.
12.
13.
14.
5 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
Hi Ramy, I am not that much into NS2 . Just a beginner.. learning.. @Yasir Imteyaz Hi, I tried only with 8.10, but I have seen it work well with 9.10 too. 15.
16.
17.
18.
19.
6 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
21.
22.
23.
24.
7 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
================================================== cd: 424: cant cd to ./tcl8.4.18/unix autoconf: error: no input file ./install: 432: ./configure: not found tcl8.4.18 configuration failed! Exiting Tcl is not part of the ns project. Please see http://www.Scriptics.com to see if they have a x for your platform. can you help me guys?? i really appreciates your help 25.
26.
27.
8 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
29.
30.
31.
32.
33.
9 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
Hi I am currently doing a project in ns2 The problem is after successful installation and even after using ns properly Today it gave an error on executing ns le.tcl the error is Nameserver not responding After updating the packges and restarting ubuntu, when i executed the same command the error given is file.tcl not found I have checked bascrc for path and have updated the packages too Can u help me how to correct this error and get my ns working properly again waiting for a reply
Leave a Reply
Name (required)
Website
Submit Comment
Use the snake, to solve a problem My way of How to Crack GRE recent entries recent comments archives Visit to HPCA-PPoPP 2010 at IISc Some simple questions with complex answers...
10 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
The strong intangible bonding... My way of How to Crack GRE Installing NS2 in simple 5 steps Use the snake, to solve a problem Reason, Purpose and Me Venkatanathan: @Ashoke: Hee hee :) except for the ... Arun: The IISc student whom we met, his ... Ashoke: Good job... :) You got one hell of ... Renu: Hi I am currently doing a project... jagadish: Really nice post :) Too good to kin... jagadish: Oh that is nice :) i stumbled upon ... varsha: really positive n encouraging!! kee... March 2010 October 2009 August 2009 Tag Cloud
Conference GRE HowTo IISc Installation love Network Simulator NS2 Programming Python Spiritual Tutorial
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better. Categories About Me (1) Miscellany (1) TECHiE (3) TOUCHiE (2) Recent Comments Venkatanathan on Visit to HPCA-PPoPP 2010 at IISc Arun on Visit to HPCA-PPoPP 2010 at IISc Ashoke on Visit to HPCA-PPoPP 2010 at IISc Renu on Installing NS2 in simple 5 steps jagadish on Visit to HPCA-PPoPP 2010 at IISc Calendar
11 of 12
06/06/10 01:25
http://blog.ceglug.org/venkat/?p=26
April 2010 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Mar Recent Posts Visit to HPCA-PPoPP 2010 at IISc Some simple questions with complex answers The strong intangible bonding My way of How to Crack GRE Installing NS2 in simple 5 steps Who's Online 0 Members 1 Guests Archives March 2010 (1) October 2009 (3) August 2009 (3) Copyrighted 2010 eXperiences and eXpressions. Wordpress Theme developed by Web Hosting Fan
12 of 12
06/06/10 01:25