1 Monolith (C) Copyright 2000-2002 Richard W.M. Jones <rich@annexia.org>
3 Monolith is distributed under the terms of the GNU Library GPL. See
4 the accompanying file COPYING.LIB for details.
6 Please see doc/index.html for full documentation and a tutorial.
11 You first need to install the following components, in the order
14 0. cdoc from http://www.annexia.org/freeware/c2lib/ (optional)
15 1. c2lib from http://www.annexia.org/freeware/c2lib/
16 2. pthrlib from http://www.annexia.org/freeware/pthrlib/
17 3. rws from http://www.annexia.org/freeware/rws/
19 Make sure you have the latest versions of these packages. Older
20 versions may not work correctly.
24 ./configure --sysconfdir=/etc
32 You will now need to configure rws. The configuration files for rws
33 are normally located in the /etc/rws/ directory.
35 For the /etc/rws/rws.conf file, just use the example one supplied with
36 rws. You can modify it if you want, but I didn't.
38 Now create a /etc/rws/hosts/localhost file which should contain:
41 # Path to the document root. NOTE you will
42 # definitely want to change this!
49 path: /usr/local/share/rws/so-bin
54 path: /usr/local/share/rws/ml-styles
59 path: /usr/local/share/rws/ml-icons
63 These are the default locations for the files if you installed
64 Monolith with --prefix=/usr/local, but you may need to change these if
65 you installed with another prefix.
67 Create symbolic links as necessary to your localhost file:
70 ln -s localhost:8080 localhost
71 ln -s www.example.com localhost
75 Now, start up rws (as root, of course):
77 /usr/local/sbin/rwsd -C /etc/rws -p 8080
79 Fire up a browser and point it at
81 http://localhost:8080/so-bin/01_label_and_button.so
83 Errors will be displayed in the error log (/tmp/error_log,
84 /var/log/httpd/error_log or /var/log/rws/error_log).
86 If the button doesn't appear as a white square surrounded by a black
87 rectangle, then the stylesheet is not being found. Make sure you set
88 up the /ml-styles/ alias correctly.
90 Monolith installs other example programs. Look in the examples/
91 directory for a full list.