Additional Notes for Tcl/Tk

Some additional notes indicating possible problems with your Tcl/Tk installation and version incompatibilities. If your browser and gui installations work, you can ignore this file.

Back to Installation

Possible sources of Tcl/Tk Problems

Tk4.1 and Tcl7.5 compatibility

In general, the browser, gui and dualgui are not compatible with Tk4.1 and Tcl7.5. However, it seems that just a few socket link flags are sufficient to use Tcl7.5. More extensive changes may be needed to handle Tk4.1

Compatibility with Tk4.1

DOS crap:Change tk-system-init.tcl line 87 (courtesy Craig)
from: source $tk_library/scrollbar.tcl
to : source $tk_library/scrlbar.tcl
Thanks to Kevin Lewis for this note from the tk4.1 archive:
--- tk4.1/changes ---
12/23/95 (feature change) Eliminated Tk_CreateMainWindow and moved
all of its functionality to Tk_Init.  All that you need to do now
to get Tk in an application is to call Tk_Init.  Improved Tk_Init
so that -colormap and -visual command-line arguments are now passed
through to TkCreateFrame.  Tk_Main is much simpler now, since a lot
of its functionality has moved to Tk_Init. (JO)
*** POTENTIAL INCOMPATIBILITY ***
--- tk4.1/changes ---

Compatibility with Tcl7.5

It looks like all that's needed for Tcl7.5 is the addition of the socket flags during compilation. Since these vary by major platform, they are made available in your standard platform such as System/Platforms/unix/Platform.module for the BROWSER and C_TCL_TK. Thanks to Kevin for this fix. You might need the additional library -ldl, that he mentioned as necessary for Solaris 2.5.
--- tcl7.5/changes ---
11/7/95 (new feature) New generic IO facility and support for IO to
files, pipes and sockets based on a common buffering scheme. Support
for asynchronous (non-blocking) IO and for event driver IO. Support
for automatic (background) asynchronous flushing and asynchronous
closing of channels. (JL)
--- tcl7.5/changes ---