informatica:linux:ns2
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:linux:ns2 [2010/01/21 11:31] – 192.168.1.30 | informatica:linux:ns2 [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== ns2 ====== | ||
| + | |||
| + | ns2 nam | ||
| + | |||
| + | Aplicación para simular el rendimiento de una red. | ||
| + | |||
| + | Wiki: http:// | ||
| + | Listado de los aplicaciones a instalar: http:// | ||
| + | Manual: http:// | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Uno a uno ===== | ||
| + | |||
| + | Sigo http:// | ||
| + | |||
| + | He instalado algunos paquetes: | ||
| + | |||
| + | aptitude install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool | ||
| + | |||
| + | Instalo por este orden: | ||
| + | |||
| + | < | ||
| + | tcl | ||
| + | tk | ||
| + | otcl ./configure --prefix=/ | ||
| + | tclcl | ||
| + | ns2 | ||
| + | nam | ||
| + | </ | ||
| + | |||
| + | Siempre con la secuencia: | ||
| + | |||
| + | < | ||
| + | ./configure | ||
| + | make | ||
| + | make install | ||
| + | </ | ||
| + | |||
| + | Solo en los configures le tengo que pasar la ruta a tcl, pero de momento me funciona | ||
| + | |||
| + | **xgraph** | ||
| + | |||
| + | ./configure | ||
| + | |||
| + | OK | ||
| + | |||
| + | make | ||
| + | |||
| + | |||
| + | < | ||
| + | gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c xgraph.c | ||
| + | gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c xgX.c | ||
| + | gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c hard_devices.c | ||
| + | gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c dialog.c | ||
| + | dialog.c: In function ‘make_msg_box’: | ||
| + | dialog.c: | ||
| + | dialog.c: | ||
| + | dialog.c: In function ‘getline’: | ||
| + | dialog.c: | ||
| + | / | ||
| + | dialog.c: | ||
| + | / | ||
| + | make: *** [dialog.o] Error 1 | ||
| + | </ | ||
| + | |||
| + | make install | ||
| + | |||
| + | < | ||
| + | gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c dialog.c | ||
| + | dialog.c: In function ‘make_msg_box’: | ||
| + | dialog.c: | ||
| + | dialog.c: | ||
| + | dialog.c: In function ‘getline’: | ||
| + | dialog.c: | ||
| + | / | ||
| + | dialog.c: | ||
| + | / | ||
| + | make: *** [dialog.o] Error 1 | ||
| + | </ | ||
| + | |||
| + | Al arrancar ns: | ||
| + | |||
| + | ns: error while loading shared libraries: libotcl.so: cannot open shared object file: No such file or directory | ||
| + | |||
| + | No funciona: | ||
| + | |||
| + |   LD_LIBRARY_PATH+=/ | ||
| + |   TCL_LIBRARY+=/ | ||
| + |   TK_LIBRARY+=/ | ||
| + | |||
| + | Ahora cuando ejecuto nam: | ||
| + | |||
| + | < | ||
| + | nam: | ||
| + | [code omitted because of length] | ||
| + | : no event type or button # or keysym | ||
| + | while executing | ||
| + | "bind Listbox < | ||
| + | %W yview scroll [expr {- (%D / 120) * 4}] units | ||
| + | }" | ||
| + | invoked from within | ||
| + | "if {[tk windowingsystem] eq " | ||
| + | bind Listbox < | ||
| + | %W yview scroll [expr {- (%D)}] units | ||
| + | } | ||
| + | bind Li..." | ||
| + | </ | ||
| + |    | ||
| + | |||
| + | ===== Allinone ===== | ||
| + | |||
| Please put: | Please put: | ||
informatica/linux/ns2.1264073513.txt.gz · Last modified:  (external edit)
                
                