University of California at Berkeley Department of Electrical Engineering & Computer Sciences Instructional Support Group /share/b/pub/tk.help /share/b/pub/tcl.help /share/b/pub/gtk.help /share/b/pub/stk.help Mar 6, 2006 TCL and TK on the Instructional UNIX Systems -------------------------------------------- The TCL language and the TK toolkit are installed on the Software Warehouse filesystems, for Sun Solaris SPARC and X86. In general, look in /usr/sww/bin for the binaries. To find the man pages, add the appropriate path to your MANPATH variable using the UNIX commands (for example): setenv MANPATH ${MANPATH}:/usr/sww/pkg/tcltk-8.4.1/man man tk GTK is installed on Solaris systems in /usr/sww/pkg/gtk You should access gtk via /usr/sww/include and /usr/sww/lib. To compile apps that depend on gtk 1.2.x please follow these directions: Type one of the following before running the configure script. [sh,bash users] LDFLAGS="-L/usr/sww/lib" EXPORT LDFLAGS [csh,tcsh users] setenv LDFLAGS "-L/usr/sww/lib" For more information, see http://www.scriptics.com (Jun 2003) Tcl-8.4.1 is the default version in on the Software Warehouse, for Solaris(sparc), Solaris(X86) Executable: /usr/sww/bin/tclsh Libs: /usr/sww/pkg/tcl-8.4.1/lib Documentation: /usr/sww/pkg/tcl-8.4.1/man For information on the UCB Scheme program that is started using 'stk', please see /share/b/pub/scm.help. References ---------- See these documents for information: /usr/sww/doc/faq/lang/tk.faq /usr/sww/doc/faq/lang/tcl.faq /usr/sww/doc/faq/lang/tcl.usage.faq There's a tutorial at http://inst.eecs.berkeley.edu/cgi-bin/pub.cgi?file=tcl.help PalmOS software tools are available; see "PalmOS" under http://inst.eecs.berkeley.edu/software. Other references: the newsgroup comp.lang.tcl http://www.sunlabs.com/research/tcl/ EECS Instructional Support 378/384/386 Cory, 333 Soda inst@eecs.berkeley.edu