[ns] How to install NS2.28 in Ubuntu 10.04 if i have ns2.34?

2011-10-06 Thread Rocío R


I want to install NS2.28  in Ubuntu 10.04 where i have ns2.34 working with 
gcc-4.3

Someone can help me?

I read that NS2.28 requires an older version of gcc. 
How can I install the two versions of gcc and make sure that each version of ns 
uses the correct gcc version?

Thanks
  


[ns] where can I get ns-2.28-gcc410.patch?

2011-10-14 Thread Rocío R


Hi,

I have a question

where can I look for the ns-2.28-gcc410.patch patch for ns-2.28 to work with 
gcc version greater than 4.0?

because I need to install ns-2.28 and I have gcc-4.4 and then it can't be 
installed

Thanks in advance

Rocío



> Date: Sun, 9 Oct 2011 05:39:34 -0700
> From: zmez...@yahoo.com
> To: ns-users@ISI.EDU
> Subject: Re: [ns] Installation problem of allinone 2.29 on Kubuntu 8.04
> 
> 
> 
> step by step on how to install ns-2.29 on linux ubuntu 8.04...
> 
> fist at all we need to make all the updests nesserary to this installation .
> 
> after system update we type these comands ..
> 
> 1. Install the essential packages for NS2. Use the command below:
> 
>   # sudo apt-get install build-essential
> 
>   # sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev
> 
>   # sduo apt-get install libxmu-dev libxmu-headers
> 
> in order to install the allinone packege to have these ..
> packeges ..
> 
> ns-allinone-2.29.tar.gz
> 
> patches..
> 
> ns2292-gcc410.patch
> 
> 
> 
> now we patch the patch that are related with the ns-2.29 instalation 
> ns2292-gcc410.patch
> 
> to patched it we run in the directory that have the ns-allinone-2.29 file
> this comand 
> 
> patch -p0 < ns2292-gcc410.patch
> 
> and after that we go to the ns-allinone-2.29/nam-1.11/agent.h and change
> this lins line 73
> to be like this "double &corner_x, double &corner_y) const = 0;"
> 
> after we do that we run ./configure in the same dieractory ..
> 
> and after that we go to the ns-allinone-2.29 directery using the cd comand .
> and run 
> ./install 
> 
>  
> 
> it will work this time in the end we need to set the invirument by adding
> this lines to the end of the bashrc file 
> 
> so we run this 
> 
> gedit ~/.bashrc 
> 
> we add this 
> 
> # LD_LIBRARY_PATH
> OTCL_LIB=/home/mfouda/ns-allinone-2.29/otcl-1.11
> NS2_LIB=/home/mfouda/ns-allinone-2.29/lib
> X11_LIB=/usr/X11R6/lib
> USR_LOCAL_LIB=/usr/local/lib
> export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
> 
> # TCL_LIBRARY
> TCL_LIB=/home/mfouda/ns-allinone-2.29/tcl8.4.11/library
> USR_LIB=/usr/lib
> export TCL_LIBRARY=$TCL_LIB:$USR_LIB
> # PATH
> XGRAPH=/home/mfouda/ns-allinone-2.29/bin:/home/mfouda/ns-allinone-2.29/tcl8.4.11/unix:/home/mfouda/ns-allinone-2.29/tk8.4.11/unix
> NS=/home/mfouda/ns-allinone-2.29/ns-2.29/
> 
> we change "mfouda" acording to are pc name ..   my pc named fear ..
> for example i mad the ns-allinone-2.29 file in ns2 file in home directary so
> i change to this 
> 
> # LD_LIBRARY_PATH
> OTCL_LIB=/home/fear/ns2/ns-allinone-2.29/otcl-1.11
> and so on for the rest ..
> 
> to make the changes take effect we run 
> 
> source ~/.bashrc
> 
> in the end it should be done 
> 
> Antonino La Torre wrote:
> > 
> > 
> > Hi alll,
> > i need to install the ns-allinone-2.29 on my kubuntu 8.04
> > to run a bittorrent patch, but i have a problem when i compile ns2 whit
> > ./install command.
> > I post the error message:
> > 
> > 
> > 
> > * Build tcl8.4.11
> > 
> > loading cache ./config.cache
> > checking whether to use symlinks for
> > manpages... no
> > checking whether to compress the
> > manpages... no
> > checking whether to add a package name
> > suffix for the manpages... no
> > checking for gcc... gcc
> > checking whether the C compiler (gcc  )
> > works... yes
> > checking whether the C compiler (gcc  )
> > is a cross-compiler... no
> > checking whether we are using GNU C...
> > yes
> > checking whether gcc accepts -g... yes
> > checking for building with threads...
> > no (default)
> > checking if the compiler understands
> > -pipe... yes
> > checking how to run the C
> > preprocessor... gcc -pipe -E
> > checking for sin... no
> > checking for main in -lieee... yes
> > checking for main in -linet... no
> > checking for net/errno.h... no
> > checking for connect... yes
> > checking for gethostbyname... yes
> > checking how to build libraries...
> > static
> > checking for ranlib... ranlib
> > checking if 64bit support is
> > requested... no
> > checking if 64bit Sparc VIS support is
> > requested... no
> > checking system version (for dynamic
> > loading)... ./configure: 1: Syntax error: Unterminated quoted string
> > tcl8.3.2 configuration failed! Exiting
> > ...
> > Tcl is not part of the ns project. 
> > Please see www.Scriptics.com
> > to see if they have a fix for your
> > platform.
> > 
> > 
> > 
> > Anyone can help me? 
> > 
> > I have already install whit synaptic manager  tcl8.3, tk8.3,  tcl8.3-dev,
> > tk8.3-dev, g++ and made
> > sudo apt-get install build-essential make tcl8.4-dev tk8.4-dev autoconf
> > automake libxmu-dev
> > on terminal.
> > 
> > 
> > thanks in advance
> > 
> > Antonino
> > 
> > 
> >   Scopri il blog di Yahoo! Mail:
> > Trucchi, novità e scrivi la tua opinione.
> > http://www.ymailblogit.com/blog
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Installation-problem-of-

[ns] help with tracing

2012-10-18 Thread Rocío R








Hi everyone:

I need some help with tracing, because I don't know where to look for commands 
for tracing flows.
I found in some slides that use makeflowmon command, but, it isn't in the ns2 
manual.
Where can I find the documentation from this command and those related with 
this?

Thaks for all.

Rocío.

  


[ns] help with errormodule

2012-10-24 Thread Rocío R


Hi,
what's the difference between errormodel and errormodule?
I find an example with the code:
set emod [$lossylink_ errormodule]
set errmodel [new ErrorModel/Periodic]
$errmodel unit pkt
$errmodel set offset_ 10
$errmodel set period_ $interval
$ns at $changetime "$errmodel set period_ 1"
$emod insert $errmodel
$emod bind $errmodel 0

but I can't find what means "insert" and "bind". 
Where can I look for those commands?

Thaks everyone.

Rocío

  


[ns] Parameter LabelFont: can't translate `helvetica-10' into a font

2012-10-31 Thread Rocío R


Hi everyone,

anybody please tell me

what this statement is?

Parameter LabelFont: can't translate `helvetica-10' into a font (defaulting to 
`fixed')

Please help me.


With regards.

Rocio Romero