-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
69 lines (49 loc) · 1.67 KB
/
INSTALL
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
Unix
====
Compile Websh 3.6
-----------------
Please note that we use some GNU make extensions, so make sure that
you compile Websh using a GNU version of make (or gmake) when compiling
under UNIX.
from the top level directory,
cd src/unix
autoconf
./configure
make
make test; # runs test suite on websh
make apachetest; # runs test suite on mod_websh running within Apache
make install
You may have to pass special options to configure, such as
--with-tcl
to indicate where tclConfig.sh is located. (You can provide a
path to tcl where lib/tclConfig.sh and also include/tcl.h is
found so that you don't need to specify --with-tclinclude
separately)
--with-tclinclude
to indicate where the Tcl header files are. (overwrites
--with-tcl for header files)
--with-httpdinclude
to indicate where the Apache header files are
--enable-threads
if you plan to use it with Apache 2 (don't forget to also
compile Tcl with threads enabled).
--httpd
to indicate where the apache httpd binary resides (only
needed to compile Websh on Max OSX)
--with-aprinclude
--with-apuinclude
to indicate where the Apache portable runtime resides if
these are not included with the httpd header files
Websh provides the following targets
------------------------------------
websh3.6.<patch>
standalone tclsh with websh package already loaded
(dynamically linked to libwebsh3.6.<patch>.so and Tcl)
libwebsh3.6.<patch>.so
Tcl package shared object (provides package websh)
mod_websh3.6.<patch>.so
Apache module for Apache 1.3 and Apache 2.0 respectively
(dynamically linked to libwebsh3.6.<patch>.so and Tcl)
Windows
=======
Please refer to the file src\win\README.