File: README

package info (click to toggle)
xotcl 0.85.3-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,832 kB
  • ctags: 2,734
  • sloc: ansic: 18,065; tcl: 1,256; makefile: 653; sh: 430
file content (133 lines) | stat: -rw-r--r-- 4,279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
***************** $Id: s.README 1.8 01/03/09 13:17:29-00:00 neumann $
XOTcl README File
*****************

**********************************
Compilation of Source Distribution 
*********************************
Read COMPILE for compilation guidance on UNIX or 
COMPILE.win for Windows.


************************************
Installation of Binary Distributions
************************************

For all binary distributions firstly Tcl and Tk must be installed
properly.  All binary distributions require Tcl/Tk 8.3 (included in
most Linux distributions), which you can find from:

  http://dev.scriptics.com


Linux Binary Distribution
-------------------------

Per default the Linux version install to usr/local and XOTcl
directories. If you want to install to these directions, just
  cd /
  tar xvfz xotcl-XXX.tar.gz
otherwise:
  mkdir temp-xotcl
  cd temp-xotcl
  tar xvfz xotcl-XXX.tar.gz
and then copy the file in temp-xotcl/usr/local to your installation
destination and temp-dir/xotcl where you want to have the examples
and documentation.

Make sure that the installed programs xotclsh and xowish can be found
on the PATH of your system.  If the packages can not be found, try to
set the TCLLIBPATH. On Unix Systems:

csh:  setenv TCLLIBPATH "/usr/local/lib/xotcl/ $(TCLLIBPATH)"
bash: export TCLLIBPATH="/usr/local/lib/xotcl/ $(TCLLIBPATH)"


Windows Binary Release
----------------------

You need Tcl 8.3.2 installed properly. If necessary, get Tcl
8.3 for your system from 
  web site:  http://dev.scriptics.com/software/tcltk/downloadnow83.tml
  installer: http://dev.scriptics.com/download/tcl/tcl8_3/tcl832.exe

Now check where Tcl is installed and what the name of the tclsh*.exe
is. If you installed Tcl 8.3.2, the name is tclsh83.exe. On my system
Tcl installs tclsh in c:\Programme\Tcl\bin (in English versions this
is most likely under c:\Program Files\Tcl\bin).

On my system the tcl 8.3.2 installer adds this directory automatically
to the search PATH; if this is not the case on your system, add this
directory manually to your PATH (under NT or Win2K, use: Control
Panel/System/.../Environment; MSDOS-class system use autoexec.bat to
add this directory to the PATH variable by a line like
   SET PATH=c:\Progra~1\Tcl\bin;%PATH%
) and reboot.

Now you should be able now to start the Tcl shell by typing "tclsh83". You
will see the % prompt. To exit the shell, type "exit".

The xotcl*.zip file contains the XOTcl distribution.  Unzip the
contents of the XOTcl zip file on c: to a directory "xotcl."  Open a
DOS box window and change to the XOTcl directory, like:

  c:
  cd \xotcl 

Next, you have to invoke the installer:

   tclsh83 installWin.tcl

The installer tries to install xotcl in the default directory
"\Program~1\Tcl", which should at least work on English and German
platforms (in English Windows distributions the program directory is
called "Program Files", in German versions, it is called "Programme").

If you want to install XOTcl at a different you can specify the target
directory as an argument of the installer:

  tclsh83 installWin.tcl /Programme/Tcl

Now you should be able to start the XOTcl shell by typing "xotclsh";
leave the shell by typing "exit". If xotclsh is not found on your
system, check the setting of PATH (see above).

Finally check, whether the xotcl packages can be located on your
system.  Invoke from the DOS window the XOTcl shell and try to load a
package; type e.g.

  xotclsh
  package require xotcl::trace

If "package require" returns an error, the search heuristics 
do not work for your configuration, and you will have to set the
TCLLIBPATH variable to "C:/PROGRA~1/TCL/lib/xotcl" (under NT or Win2K, 
use: Control Panel/System/.../Environment; MSDOS-class system use 
autoexec.bat to set this environment and reboot).

Please note the slashes, do not use backslashes here!

You can test your installation with:

XOTcl Tests:
  xotclsh src/lib/testx.xotcl
  xotclsh src/lib/testo.xotcl
  xotclsh src/lib/speedtest.xotcl

ACTIWEB Test:
  cd packages
  xotclsh make.xotcl -test

More Infos
----------

More information can be found at:

  http://www.xotcl.org

Please report bugs and problems to the authors under one of these
email addresses:

  uwe.zdun@xotcl.org
  gustaf.neumann@xotcl.org