1Unix 2==== 3 4Compile Websh 3.6 5----------------- 6 7Please note that we use some GNU make extensions, so make sure that 8you compile Websh using a GNU version of make (or gmake) when compiling 9under UNIX. 10 11from the top level directory, 12 13cd src/unix 14autoconf 15./configure 16make 17make test; # runs test suite on websh 18make apachetest; # runs test suite on mod_websh running within Apache 19make install 20 21You may have to pass special options to configure, such as 22 23--with-tcl 24 to indicate where tclConfig.sh is located. (You can provide a 25 path to tcl where lib/tclConfig.sh and also include/tcl.h is 26 found so that you don't need to specify --with-tclinclude 27 separately) 28 29--with-tclinclude 30 to indicate where the Tcl header files are. (overwrites 31 --with-tcl for header files) 32 33--with-httpdinclude 34 to indicate where the Apache header files are 35 36--enable-threads 37 if you plan to use it with Apache 2 (don't forget to also 38 compile Tcl with threads enabled). 39 40--httpd 41 to indicate where the apache httpd binary resides (only 42 needed to compile Websh on Max OSX) 43 44--with-aprinclude 45--with-apuinclude 46 to indicate where the Apache portable runtime resides if 47 these are not included with the httpd header files 48 49 50Websh provides the following targets 51------------------------------------ 52 53websh3.6.<patch> 54 standalone tclsh with websh package already loaded 55 (dynamically linked to libwebsh3.6.<patch>.so and Tcl) 56 57libwebsh3.6.<patch>.so 58 Tcl package shared object (provides package websh) 59 60mod_websh3.6.<patch>.so 61 Apache module for Apache 1.3 and Apache 2.0 respectively 62 (dynamically linked to libwebsh3.6.<patch>.so and Tcl) 63 64 65 66Windows 67======= 68 69Please refer to the file src\win\README. 70