[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] [bug] problems running prebuild nam on Windows NT



you need to explicitly set the home directory in Windows NT:
  set HOMEDRIVE=C:
  set HOMEPATH=\NetSim

if it still doesn't work, email me all the environment variables
(output of 'set').

thanks,
difa

On Thu, 15 Nov 2001, Gesa Lorenz wrote:

> [Bug Report]
>
> -----------------------------
> Category:  Other
> Package:   ns 2.1b8a-win
> OS:        Windows NT 4.0
> Environment Variables:
> LD_LIBRARY_PATH= I didn't specify these environment variables under Windows, but I changed my PATH variable to: path=%path%;c:\Progra~1\tcl\bin;c:\NetSim\ns-2~1.1b8;c:\NetSim\nam;c:\NetSim;c:\NetSim\GenApps\Bin;vcvars32.bat;c:\NetSim\otcl-1.0a7;c:\NetSim\tclcl-~1.0b1;c:\NetSim\tcl83~1.2;c:\NetSim\tk83~1.2;c:\NetSim\tcl83~1.2\library
> TCL_LIBRARY=
> TK_LIBRARY=
>
>
> -----------------------------
> Description:
>
> Description of Problem:
> I tried to run the pre-build binaries of nam (all versions) under Windows
> NT version 4.0.
> It starts by printing lots of tcl commands in the current window and
> suddenly stops with the following error message:
>
> proc nam_init { trace_file args } {
> set actrl [new AnimControl $trace_file $args]
>
> nam_init_hook
>  }
>
>  proc nam_init_hook {} {
>  }
>  : no file matched glob pattern "~"
>  	while executing
>  "glob ~"
>
>
>
>
> How Easily Reproducible:
> (e.g. every time, intermittent, once only, etc.)
> every time
>
> Steps to Reproduce:
> (describe the minimal set of steps necessary to trigger the bug)
> 1. Installation of ns-2.1b8a-win by following the instructions of http://www.public.iastate.edu/~magico/nsFiles/InstallNS1.html (-> it works, I can run ns)
> 2. Download (different) prebuild versions of nam http://www.isi.edu/nsnam/dist/binary/ (e.g. nam-1.0a10-win32.exe)
> 3. Execute nam-file (either in a command shell where the PATH environment variable is explicitely set according to the specification above or by double click)
>
>
> Actual Results:
> (describe what the application did after performing the above steps)
> It starts by printing lots of tcl commands in the current window and
> suddenly stops with the following error message:
>
> proc nam_init { trace_file args } {
> set actrl [new AnimControl $trace_file $args]
>
> nam_init_hook
>  }
>
>  proc nam_init_hook {} {
>  }
>  : no file matched glob pattern "~"
>  	while executing
>  "glob ~"
>
>
> Expected Results:
> (describe what the application should have done, were the bug not present)
> Under Suse Linux 7.1 the nam visualization window appears.
>
> Additional Information:
> (e.g. URLs to your script, detailed output files, packet trace, etc. if they are big files.)
> I also tried to install nam by myself (because the prebuild versions did not work).
> Within the file INSTALL.WIN32 (which I downloaded with the nam source code) I found the following
> statement:
>   - nam-1
>     - IMPORTANT: nam-1 will NOT work when compiled with tcl8.3.2 and tk8.3.2. It
>     requires that a STATIC build of tcl/tk, which the current release does not
>     support. To solve the problem, you can download a patched tcl/tk 8.0.2 that
>     can be compiled into static libraries (i.e., not DLLs) from this pointer:
>     http://www.isi.edu/nsnam/dist/tcltk/tcl80p2-win32-static.zip
>     and
>     http://www.isi.edu/nsnam/dist/tcltk/tk80p2-win32-static.zip
>     Then you should uncomment the STATIC_LIB macro in ~nam/conf/makefile.win,
>     and correct other paths to your vc, otcl, tclcl, tclsh, then compile.
>
> So I tried to install the patched tcl/tk versions but I was not able to install these.
>
>