"Fossies" - the Fresh Open Source Software Archive

Member "SAOImageDS9/tcllib/INSTALL.txt" (13 Nov 2019, 2765 Bytes) of package /linux/misc/ds9.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 How to install Tcllib
    2 =====================
    3 
    4 Introduction
    5 ------------
    6 
    7 The tcllib distribution, whether a snapshot directly from CVS, or
    8 officially released, offers a single method for installing tcllib,
    9 based on Tcl itself.
   10 
   11 This is based on the assumption that for tcllib to be of use Tcl has
   12 to be present, and therefore can be used.
   13 
   14 This single method however can be used in a variety of ways.
   15 
   16 0	For an unwrapped (= directory) distribution or CVS snapshot
   17 
   18 	a.	either call the application 'installer.tcl' directly,
   19 	b	or use
   20 
   21 			% configure ; make install
   22 
   23 		The latter is provided for people which are used to
   24 		this method and more comfortable with it. In end this
   25 		boils down into a call of 'installer.tcl' too.
   26 
   27 1.	A starpack distribution (window-only) is a self-extracting
   28 	installer which internally uses the aforementioned installer.
   29 
   30 2.	A starkit distribution is very much like a starpack, but
   31 	required an external interpreyter to run. This can be any tcl
   32 	interpreter which has all the packages to support starkits
   33 	(tclvfs, memchan, trf).
   34 
   35 3.	A distribution in a tarball has to be unpacked first, then any
   36 	of the methods described in (0) can be used.
   37 
   38 
   39 Usage of the installer
   40 ----------------------
   41 
   42 The installer selects automatically either a gui based mode, or a
   43 command line based mode. If the package Tk is present and can be
   44 loaded, then the GUI mode is entered, else the system falls back to
   45 the command line.
   46 
   47 Note that it is possible to specify options on the command line even
   48 if the installer ultimatively selects a gui mode. In that case the
   49 hardwired defaults and the options determine the data presented to the
   50 user for editing.
   51 
   52 Command line help can be asked for by using the option -help when
   53 running the installer (3) or the distribution itself in the case of
   54 (1) or (2).
   55 
   56 The installer will select a number of defaults for the locations of
   57 packages, examples, and documentation, and also the format of the
   58 documentation. The user can overide these defaults in the GUI, or by
   59 specifying additional options.
   60 
   61 The defaults depend on the platform detected (unix/windows) and the
   62 executable used to run the installer. In the case of a starpack
   63 distribution (1) this means that _no defaults_ are possible for the
   64 various locations as the executable is part of the distribution and
   65 has no knowledge of its environment.
   66 
   67 In all other cases the intepreter executable is outside of the
   68 distribution, which means that its location can be used to determine
   69 sensible defaults.
   70 
   71 Notes
   72 -----
   73 
   74 The installer will overwrite an existing installation of tcllib 1.6
   75 without asking back after the initial confirmation is given. And if
   76 the user chooses the same directory as for tcllib 1.4, or 1.3, etc.
   77 then the installer will overwrite that too.