[14404] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 7.7X:  tcl & tk

daemon@ATHENA.MIT.EDU (Petros Komodromos)
Mon Jun 24 08:05:13 1996

To: bugs@MIT.EDU
Date: Mon, 24 Jun 1996 08:05:08 EDT
From: Petros Komodromos <petros@MIT.EDU>

System name:		w20-575-27
Type and version:	SPARC/5 7.7X
Display type:		cgthree

What were you trying to do?
	I am trying to use the tcl7.5 and tk 4.1 

Before trying to run tcl and tk I load them(%add tcl ; add tk)
and I set the following:

setenv TCL_LIBRARY /mit/tcl/lib/tcl7.5
setenv TK_LIBRARY  /mit/tcl/lib/tk4.1

What's wrong:
	 I am getting the following warnings:
% tclsh
Tcl_AppInit failed: version mismatch: library
scripts expect Tcl version 7.5b1 or later but the loaded version is
only 106

%wish
tkerror failed to handle background error.
    Original error: no more colors left in colormap; changing screen's color mel to monochrome
    Error in tkerror: invalid command name: "tkerror"
Tcl_AppInit failed: version mismatch: library
scripts expect Tcl version 7.5b1 or later but the loaded version is
only 106

xf also gives an error and does not work:
xf &
[1] 14246
~/Mail/inbox% tkerror failed to handle background error.
    Original error: no more colors left in colormap; changing screen's color mel to monochrome
    Error in tkerror: invalid command name: "tkerror"
Tcl_AppInit failed: version mismatch: library
scripts expect Tcl version 7.5b1 or later but the loaded version is
only 106
can't read "tk_strictMotif": no such variable
"set xfConf(strictMotif) $tk_strictMotif..."
    (procedure "XFStartup" line 234)
    invoked from within
"XFStartup"
    (file "/afs/sipb.mit.edu/project/tcl/lib/xf2.3/src/xfmain.tcl" line 1196)
    invoked from within
"source /afs/sipb.mit.edu/project/tcl/lib/xf2.3/src/xfmain.tcl"

What should have happened:

Please describe any relevant documentation references:



How tcl7.5 and tk4.1 should be used on athena?
What I should set to use them correctly?
Thanks in advance 
Petros Komodromos








home help back first fref pref prev next nref lref last post