these are the steps to install NS-2

Embed Size (px)

Citation preview

User Name

Password

Log in

Register

Lost password?

Resend activation?

Remember Me?

Forum

Search

Rules

GroupsFAQ

AlbumsForum Rules

ExperienceForum Actions

BlogsCommunity Advanced Search

Today's Posts Unanswered Posts What's New? Quick Links

Private Messages

Forum

EDA Software

Linux Software

these are the steps to install NS-2

+ Post New Thread

+ Reply to ThreadResults 1 to 4 of 4LinkBack Thread Tools Search Thread

Thread: these are the steps to install NS-2

26-02-08 09:37

#1

kazimMember level 4

ns2 installationyou can follow the se ste ps in any linux e nvironm e nt INSTALLING NS-2 O N FEDO R A 8 STEP 1 From te rm inal login as supe r use r and do the following.(inte rne t m ust also be conne cte d in orde r to install the pack age de pe nde ncie s. yum install autoco nf yum install autom ak e yum install gcc-c++ yum install libX11-de ve l yum install x org-x 11-proto-de ve l yum install libXt-de ve l And for nam insta llation (optional): yum install libXm u-de ve l STEP 2 From te rm inal go to the folde r whe re the ns-allinone patch is place d and type the following to e x tract $ tar -x zf ns-allino ne -2.31.tar.gz $ cd ns-allinone -2.29 $. /install STEP 3 Now go to /e tc folde r and type ge dit ~/.bashrc Add the following line s to the e nd of it. R e m e m be r re place "/your/path" by som e thing lik e "/hom e /k azim ". And acco rdingly also change the ve rsion num be rs. This is for ns 2.31. # LD_LIBR AR Y_PATH O TC L_LIB=/your/path/ns-allinone -2.31/otcl-1.13

Join Date: Location: Posts: Helped: Points: Level:

May 2006 NORRKOPING,SWEDEN 74 5/5 1,354 8

NS2_LIB=/your/pa th/ns-allinone -2.31/lib X11_LIB=/usr/X11R 6/lib USR _LO C AL_LIB=/usr/local/lib e x port LD_LIBR AR Y_PATH=$LD_LIBR AR Y_PATH:$O TC L_LIB :$NS2_LI B:$X11_LIB:$USR _LO C AL_LIB # TC L_LIBR AR Y TC L_LIB=/your/pa th/ns-allinone -2.31/tcl8.4.14 /library USR _LIB=/usr/lib e x port TC L_LIBR AR Y=$TC L_LIB:$USR _LIB # PATH XGR APH=/your/pa th/ns-allinone -2.31/bin: /your/path/ns-allinone -2.31/tcl8.4.14/unix : /your/path/ns-allinone -2.31/tk 8.4.14/unix NS=/your/path/ns-allinone -2.31/ns-2.31/ NAM=/your/path/ns-allinone -2.31/na m -1.13/ PATH=$PATH:$XGR APH:$NS:$NAM Le t it tak e e ffe ct im m e diate ly source ~/.bashrc

Note : the ste p de scribe d above is im portant; othe rwise , you cannot run ns succe ssfully. or you can re start your X windows.i.e . logout and the n login, or re bo ot your syste m , to m ak e it work .) Now, the installatio n has be e n com ple te d. If you try: $ ns The n a "%" will appe ar on the scre e n.type "e x it" to quit the m ode and back to "$" If you m iss out ste p 1 you m ay ge t the following e rrors Build XGraph-12.1 ==================================== ============== ========== loading cache ./co nfig.cache che ck ing for a BSD com patible install... /usr/bin /install -c che ck ing whe the r build e nvironm e nt is sane ... ye s che ck ing whe the r m ak e se ts ${MAKE}... ye s che ck ing for work ing aclocal... m issing che ck ing for work ing autoconf... m issing che ck ing for work ing autom ak e ... m issing che ck ing for work ing autohe ade r... m issing che ck ing for work ing m ak e info... m issing che ck ing if m alloc de bugging is wante d... no che ck ing for gcc... no che ck ing for cc... no

configure : e rror: no acce ptable cc found in $PATH m ak e : *** No targe ts spe cifie d and no m ak e file found. Stop. C an not cre ate x graph; But x graph is an optional pack age , continuing... If you m iss ste p 3 At the prom pt whe n you type ns you will ge t Ns com m and not foundView Profile Reply With Quote

01-03-10 12:09

#2

adi.svpNewbie level 3

Re: these are the steps to install NS-2I am ge tting an e rror of NS -m ak e fa ile d wat sud i do??Mar 2010 3 0/0 137 1

Join Date: Posts: Helped: Points: Level:

View Profile

Reply With Quote

Advertising

07-03-10 18:35

#3

arkrameshNewbie level 3

Re: these are the steps to install NS-2O riginally P osted by adi.svp

Join Date: Location: Posts: Helped: Points: Level:

Dec 2009 Pondicherry 3 1/1 197 2

I am getting an error of NS -mak e failed wat sud i do??

can u te ll m e in which platform u r installing ns2 and which ve rsion? u can contact m e at m y m ail ark m e c@gm ail.com

View Profile

Reply With Quote

Advertising

13-10-10 22:34

#4

cipher_cryptoJunior Member level 3

Re: these are the steps to install NS-2R unning NS2 in windows is ve ry e asy. He re is a ste p by ste p tutorial ho w to install it in W indows: Ns2 Installation on W indows | paulso n.in I just did re ce ntly and I found it ve ry use ful

Join Date: Posts: Helped: Points: Level:

Jan 2006 28 2/2 1,031 7

+ Post New Thread View Profile

+ Reply to Thread

Reply With Quote

Failure to get license | IC5141 cannot launch on Ubuntu... Similar T hr eadsSteps to install IC 5.1.44 on Suse 10 (Tested >> OK) (17) I need help about DLL design steps, what should be known??? (1) GSM Startup Steps (5) help with steps taken to power up a tv (1) What are the steps for Diva LVS? (7)

-- Edaboard Classic

Contact Us Forum for Electronics A rchive Privacy Statement Terms of Service TopAll times are GMT +1. The time now is 08:33. Powered by vBulletin Copyright 2010 vBulletin Solutions, Inc. All rights reserved. SEO by vBSEO