Changeset 357


Ignore:
Timestamp:
Dec 4, 2009 5:04:47 PM (11 years ago)
Author:
toby
Message:

# on 2000/12/22 19:17:42, toby did:
testing Tcl/Tk? FAQ added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/expgui_Unix_readme.html

    • Property rcs:date changed from 2000/10/18 00:11:17 to 2000/12/22 19:17:42
    • Property rcs:lines changed from +2 -2 to +37 -1
    • Property rcs:rev changed from 1.11 to 1.12
    r340 r357  
    4141</A> for installation instructions. Please note that EXPGUI seems to run very
    4242slowly in Tcl/Tk version 8.1, but OK in 8.0 and 8.2.
     43Also see <a href="#testtcltk">below</a> on how to test if Tcl/Tk is properly
     44installed.
    4345<P>
    4446Likewise, I will assume you have also loaded the appropriate GSAS release, if not see
     
    183185</PRE>
    184186
     187<a name="testtcltk"></a><H3>
     188Is Tcl/Tk installed already?</H3>
     189To test if Tcl/Tk is installed correctly on your system
     190do the following commands. Commands are in <tt>typewriter</tt> font, computer responses are in <I>italics</I> and comments are in this font but are <U>underlined</U> comments.
     191<UL>
     192<TABLE>
     193<TR><TD><tt>[tammy@beryl tammy]$ wish</tt></TD>
     194<TD><U>(note a window is created)</U></TD></TR>
     195<TR><TD><tt><I>%</I> set tcl_version</TD></TR>
     196<TR><TD><tt><I>8.0</I></tt></TD>
     197<TD><U>(8.0 is the Tcl/Tk version number. EXPGUI requires 8.0 or higher)</U></TD></TR>
     198<TR><TD><tt><I>%</I> package require BLT</tt></TD></TR>
     199<TR><TD><tt><I>2.4</I></tt></TD>
     200<TD><U>(2.4 is the BLT package version number.
     201EXPGUI requires 2.3 or higher.
     202If you get "can't find package BLT" then
     203BLT is not installed [properly] on your system)</U></TD></TR>
     204<TR><TD><tt><I>%</I> blt::graph .g</tt></TD></TR>
     205<TR><TD><tt><I>.g</I></tt></TD>
     206<TD><U>(nothing happens. You should not get an error message here.)</U></TD></TR>
     207<TR><TD><tt><I>%</I> pack .g</tt></TD>
     208<TD><U>(now a graph is displayed)</U></TD></TR>
     209<TR><TD><tt><I>%</I> Blt_ZoomStack .g</tt></TD>
     210<TD><U>(if error message: invalid command name "Blt_ZoomStack" appears
     211there is a problem with your BLT installation, see below.)</U></TD></TR>
     212</TABLE>
     213There is a common problem with the pkg_Index.tcl file in BLT that makes
     214the Blt_ZoomStack command inaccessible, see my updated copy
     215<A HREF="ftp://ftp.ncnr.nist.gov/pub/cryst/tcltk/BLT2.4_pkgIndex.tcl">
     216ftp://ftp.ncnr.nist.gov/pub/cryst/tcltk/BLT2.4_pkgIndex.tcl
     217</A> for an example that works. Also see the
     218<A HREF="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs82linux.html">
     219Compiling Tcl/Tk 8.2.3 & packages for Linux</A> example of how to install.
     220</UL>
    185221<hr>
    186222<A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html">
Note: See TracChangeset for help on using the changeset viewer.