[ns] Help with Tcllib
mbadhri at gmail.com
Sun Nov 19 17:24:26 PST 2006
> I am trying to execute a piece of code which uses tcllib . However the
> computer I installed it in does not have root priveleges, hence I installed
> it onto my home directory. I added the library path( LD_LIBRARY_PATH) to the
> .bashrc file $HOME/Desktop/ns- allinone-2.28/tcl-1.19 ( this is not a
> typo, I installed tcl1.9 in 1.19 directory). However when I run the main
> ns CMAX.tcl
> I get the following error:
> bash-3.00$ ns CMAX_LtdFlooding.tcl
> can't find package struct 1.3
> while executing
> "package require struct 1.3"
> (file "CMAX_LtdFlooding.tcl" line 2)
> why is it not detecting the package? When I type ns and get into % I
> looked at the auto_path and it showed ( tcl-1.19) in its path.
> Thanks a lot in advance!!
More information about the Ns-users