[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nam prints tcl scripts to stdout instead of opening a window
The problematic script belongs to tk, but not nam. Can you check if tk is
working?
- Haobo
On 20 Apr 1999, Urs Thuermann wrote:
> I have a strange problem with nam-1.07a, compiled on Linux-2.2.6, with
> egcs-1.1.2, configured as
>
> ./configure --prefix=/usr/home/thuerman/ns \
> --with-tcl=../tcl8.0.5 --with-tk=../tk8.0.5 \
> --with-otcl=../otcl-1.0a4 --with-tclcl=../tclcl-1.0b8 \
> --without-zlib
>
> When I run nam it doesn't open a X window but only prints some tcl
> script to stdout:
>
> bash$ ./nam-1.0a7/nam
> nam:
> if {[info commands package] == ""} {
> error "version mismatch: library\nscripts expect Tcl version 7.5b1 or later but the loaded version is\nonly [info patchlevel]"
> }
> package require -exact Tcl 8.0
>
>
> if {![info exists auto_path]} {
> if [catch {set auto_path $env(TCLLIBPATH)}] {
> set auto_path ""
> }
>
> ...
>
> update idletasks
> $w configure -activerelief sunken
> $w activate slider
> tkScrollStartDrag $w $x $y
> }
> : bad event type or keysym "MouseWheel"
> while executing
> "bind Listbox <MouseWheel> {
> %W yview scroll [expr - (%D / 120) * 4] units
> }"
> bash$
>
> This happens also if I give a nam tracefile as argument and regardless
> of the currend dir I start nam from.
>
> Any suggestions?
>
>
> urs
>