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 12:13] – 192.168.1.30 | informatica:linux:ns2 [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Listado de los aplicaciones a instalar: http:// | Listado de los aplicaciones a instalar: http:// | ||
| Manual: http:// | Manual: http:// | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| ===== Uno a uno ===== | ===== Uno a uno ===== | ||
| Line 15: | Line 22: | ||
| He instalado algunos paquetes: | He instalado algunos paquetes: | ||
| - |   aptitude install  | + |   aptitude install  | 
| Instalo por este orden: | Instalo por este orden: | ||
| Line 22: | Line 29: | ||
| tcl | tcl | ||
| tk | tk | ||
| - | otcl | + | otcl ./configure --prefix=/ | 
| tclcl | tclcl | ||
| + | ns2 | ||
| + | nam | ||
| </ | </ | ||
| Line 36: | Line 45: | ||
| Solo en los configures le tengo que pasar la ruta a tcl, pero de momento me funciona | Solo en los configures le tengo que pasar la ruta a tcl, pero de momento me funciona | ||
| - | Por hacer: | + | **xgraph** | 
| + | |||
| + |   ./ | ||
| + | |||
| + | OK | ||
| + | |||
| + | make | ||
| < | < | ||
| - | ns2 | + | gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c xgraph.c | 
| - | nam | + | gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c xgX.c | 
| - | xgraph | + | 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: | ||
| + | [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 ===== | ===== Allinone ===== | ||
informatica/linux/ns2.1264076014.txt.gz · Last modified:  (external edit)
                
                