Moodss requires Tcl 8.0 and Tk 8.0 or above to be installed and
working on your platform.



Then the tkTable widget library for UNIX and Windows (at
http://www.cs.uoregon.edu/research/tcl/) needs to be installed as a
package (in the Tcl sense) on your system. You may eventually just
generate the tkTable library (named Tktable.so.1.82 on Unix,
tktable.dll on Windows) and move it to the moodss unpacking directory
for a quick try. (Note: I do not think it works yet with Tcl/Tk 8.1).

Note: the following line is all you need in the pkgIndex.tcl file
(along with the Tktable.so.1.82 file in the /usr/local/lib/Tktable
directory on UNIX) for a working tkTable package:

package ifneeded Tktable 1.82 "load [file join $dir Tktable.so.1.82]"



Then the latest BLT library for Tcl/Tk 8.0 (at
ftp://ftp.neosoft.com/pub/tcl/sorted/devel/blt8.0p2-unoff.tgz, should
work with Tcl/Tk 8.1) needs to be installed also as a package. To do
so, copy the libBLT8.0.so file (generated as you built BLT according
to the instructions) to the /usr/local/lib/BLT (for UNIX) directory
(which you just created :). Then create a pkgIndex.tcl file in the
same directory, containing only the following line:

package ifneeded blt 8.0 "load [file join $dir libBLT8.0.so]"

You may eventually just generate the BLT library (named libBLT8.0.so
on Unix) and move it to the moodss unpacking directory for a quick
try.

Note: moodss only uses the graphs, barcharts and vectors from the BLT
library, so you may use the following instruction to compile only the
necessary parts and save space:

make CFLAGS='-O2 -Wwrite-strings -Wtraditional -fwritable-strings -Wall -DNO_BGEXEC -DNO_BITMAP -DNO_BUSY -DNO_DRAGDROP -DNO_HTEXT -DNO_TABLE -DNO_TILEFRAME -DNO_TILESCROLLBAR -DNO_WATCH'

For Windows, check out Mumit Khan's homepage at
http://www.xraylith.wisc.edu/~khan/software/tcl/. You probably also
need cw3220.dll which can be found through the www.ftpsearch.com
service.



Then there are 2 cases:

1. you only want to use moodss as is and eventually write modules for it
2. you would also like to work on the moodss source code itself

In the first case, there is nothing else to do since the moodss file
is a self contained Tcl application. Thus, typing the following from
the unpacking directory should work:

$ wish moodss random

If you would like to run moodss from any directory, then you need to
install the data modules that you are interested in as Tcl packages,
which is really not difficult: it is just the matter of moving the
package files to directories that the Tcl core will look into
(/usr/local/lib/ by default on Unix) (look at the pkg_mkIndex manual
page for more information).

In the second case, you will need to install stooop (3.5.1 or above),
scwoop (2.2 or above) and tkpiechart (4.2 or above) as Tcl
packages. All the information required to do this can be found in the
packages themselves, at http://www.mygale.org/~jfontain/ or
ftp://ftp.neosoft.com/pub/tcl/sorted/devel/.

Note: you must uncomment the tkTable and BLT wrapper code in
scwoop.tcl in the scwoop package.



Note: the moodss self running was generated using the included
source.tcl utility:
$ source.tcl -o moodss moodss.tcl



Feel free to email questions and comments to
mailto:jfontain@mygale.org if you have any problems.
