User Tools

Site Tools


informatica:linux:ns2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
informatica:linux:ns2 [2010/01/21 12:25] 192.168.1.30informatica:linux:ns2 [2010/01/21 13:13] 192.168.1.30
Line 8: Line 8:
 Listado de los aplicaciones a instalar: http://www.isi.edu/nsnam/ns/ns-build.html#pieces Listado de los aplicaciones a instalar: http://www.isi.edu/nsnam/ns/ns-build.html#pieces
 Manual: http://wpage.unina.it/marcello.caleffi/ns2/fedora.html Manual: http://wpage.unina.it/marcello.caleffi/ns2/fedora.html
 +
 +
 +
 +
 +
 +
  
  
Line 16: Line 22:
 He instalado algunos paquetes: He instalado algunos paquetes:
  
-  aptitude install ibX11-dev libXt-dev libXmu-dev+  aptitude install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool
  
 Instalo por este orden: Instalo por este orden:
Line 23: Line 29:
 tcl tcl
 tk tk
-otcl+otcl ./configure --prefix=/usr/ --enable-shared --with-tcl=/usr/local/src/ns2_a_mano/tcl8.4.19/
 tclcl tclcl
 +ns2
 +nam
 </code> </code>
  
Line 36: Line 44:
  
 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: 
- 
-<code> 
-ns2 
-nam 
-xgraph 
-</code> 
- 
  
 **xgraph** **xgraph**
  
   ./configure   ./configure
 +
 +OK
  
   make   make
Line 83: Line 84:
 make: *** [dialog.o] Error 1 make: *** [dialog.o] Error 1
 </code> </code>
 +
 +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+=/usr/local/src/ns2_a_mano/otcl-1.13/libotcl.so
 +  TCL_LIBRARY+=/usr/local/src/ns2_a_mano/tcl8.4.19
 +  TK_LIBRARY+=/usr/local/src/ns2_a_mano/tk8.4.19
 +
 +Ahora cuando ejecuto nam:
 +
 +<code>
 +nam: 
 +[code omitted because of length]
 +: no event type or button # or keysym
 +    while executing
 +"bind Listbox <MouseWheel> {
 +%W yview scroll [expr {- (%D / 120) * 4}] units
 +}"
 +    invoked from within
 +"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
 +bind Listbox <MouseWheel> {
 +%W yview scroll [expr {- (%D)}] units
 +}
 +bind Li..."
 +</code>
 +  
  
 ===== Allinone ===== ===== Allinone =====
informatica/linux/ns2.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1