ns2 es un programa simulador de trafico de redes. Para instalarlo en Fedora 13 deben hacer lo siguiente:
1. Instalar las dependencias desde terminal como super-usuarios:
#yum install autoconf, automake, gcc-c++, libX11-devel, xorg-x11-proto-devel, libXt-devel, libXmu-devel
2. Descargar ns-allinone (2.34 actualmente)
$ tar -xzf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34
$. /install
Luego agregar las lineas al archivo “.bashrc” con el comando:
$gedit ~/.bashrc
Las lineas a agregar son (donde deben modificar la ruta por la que tengan):
# LD_LIBRARY_PATHOTCL_LIB=/home/cleve/Descargas/ns-allinone-2.34/otcl-1.13NS2_LIB=/home/cleve/Descargas/ns-allinone-2.34/libX11_LIB=/usr/X11R6/libUSR_LOCAL_LIB=/usr/local/libexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARYTCL_LIB=/home/cleve/Descargas/ns-allinone-2.34/tcl8.4.18/libraryUSR_LIB=/usr/libexport TCL_LIBRARY=$TCL_LIB:$USR_LIB
#PATHXGRAPH=/home/cleve/Descargas/ns-allinone-2.34/bin:/home/cleve/Descargas/ns-allinone-2.34/tcl8.4.18/unix:/home/cleve/Descargas/ns-allinone-2.34/tk8.4.18/unixNS=/home/cleve/Descargas/ns-allinone-2.34/ns-2.34/NAM=/home/cleve/Descargas/ns-allinone-2.34/nam-1.14/PATH=$PATH:$XGRAPH:$NS:$NAM
Luego al escribir:
$ns
Debe aparecer el simbolo “%”.
Eso es todo.
hi i have a error
** (gedit:29295): CRITICAL **: gedit_spell_checker_language_to_key: assertion `lang != NULL’ failed
help me
sorry its too late, the error is originated in the text editor.
Me sale un error casi al ultimo de la instalacion me sale error con el octpl o algo asi… me podrias ayudar…
Si pudieras colocar el error completo por favor. Saludos.
logre instalar pero se me daño la maquina y estoy empezando desde 0, ahora el error es que pongo ./install y me sale lo siguiente:
bash: ./install: Permiso denegado
Ayudame por favor.