[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nam prints tcl scripts to stdout instead of opening a window
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