I saw that the files I attached were not sent well. I attach them in a zip 
file. 
 David



----- Mensaje reenviado ----
De: David Rodenas <drodenasherr...@yahoo.es>
Para: ns-users@ISI.EDU
Enviado: sáb,22 enero, 2011 10:48
Asunto: [ns] Rv:  ns2-28 installation problems


I made a mistake at stpes. I'm sorry! Now they're correct!!

Hi


I had a lot of problems with the instalation of ns 2.28 too. You should follow 
the next steps:

1) Decompress ns-allinone 2.28
tar xvzf ns-allinone-2.28.tar.gz

2) Patch nam: you need the patch file (I attach it)
cp nam-1.11.patch ns-allinone-2.28/nam-1.11/
cd ns-allinone-2.28/nam-1.11/
patch -p0 < ./nam-1.11.patch

3) Patch tk: you need the pacth file (I attach it)
cp tk-8.4-lastevent.patch ns-allinone-2.28/tk8.4.5/
cd ns-allinone-2.28/tk8.4.5/patch -p0 < ./tk-8.4-lastevent.patch 

4) Modify gt-itm files:
4.1) Create the following directories:
mkdir ns-allinone-2.28/gt-itm/bin
mkdir ns-allinone-2.28/gt-itm/lib
4.2) Copy the libgb.a file (I attach it) into the lib folder
cp libgb.a ns-allinone-2.28/gt-itm/lib
4.3) Copy the eval.c file (I attach it) into the src folder
cp eval.c ns-allinone-2.28/gt-itm/src

5) Install ns
cd ns-allinone-2.28/
./install
  
Good luck!!!
David




________________________________
De: Ashwini Patankar <ashwinispatan...@gmail.com>
Para: ns-users@ISI.EDU
Enviado: sáb,22 enero, 2011 07:49
Asunto: Re: [ns] ns2-28 installation problems


> ------------------------------
>
> Message: 2
> Date: Fri, 21 Jan 2011 11:33:01 +0100
> From: hend baklouti <hend.baklo...@gmail.com>
> Subject: [ns] ns2-28 installation problems
> To: ns-users@isi.edu
> Message-ID:
>        
><AANLkTimhsb40yo2Zofu+=nfsxzsd5y1ador+jdvy_...@mail.gmail.com<nfsxzsd5y1ador%2bjdvy_...@mail.gmail.com>
>
>
> >
> Content-Type: text/plain;  charset=ISO-8859-1
>
> Hi everybody,
> i have installed ns-2.32 on fedora core 8 but now i have to replace it by
> ns-2.28 .i have removed ns-2.32 but while installing ns-2.28 i have this
> kind of msg
>
>  When configured, ns found the right version of tclsh in
> /home/ns-allinone-2.32/bin/tclsh8.4
> but it doesn't seem to be there anymore, so ns will fall back on running
> the
> first tclsh in your path. The wrong version of tclsh may break the test
> suites. Reconfigure and rebuild ns if this is a problem.
> ns:
> [code omitted because of length]
> : invalid command name " SRMEXT off_srm_ext_"
>    while executing
> "{ SRMEXT off_srm_ext_}"
>
> i'm a beginner and i don't know what to do .
> Help me please.
> Hend
>
>
> ------------------------------
>
> Installation of ns2 is a two  step process, in step 1 you install by running
make etc. and second step is to set the Path. When you installed ns2.32 you
definately has set the path variables, and then you removed ns2.32 by
deleting it, and then you installed ns2.28 but you have not removed the path
variables set during installation of ns2.32 , just remove those variables
and then try install ns2.28 after rebooting the machine or exporting the
variables. Else visit this
http://wirelesscafe.wordpress.com/2008/12/22/how-to-install-ns-2-network-simulator-2/



thanks and regards,
Ashwini


      

Reply via email to