File: INSTALL

package info (click to toggle)
moodss 14.0-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,536 kB
  • ctags: 1,003
  • sloc: tcl: 25,371; ansic: 132; perl: 72; python: 64; sh: 63; makefile: 50
file content (126 lines) | stat: -rw-r--r-- 4,745 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
* For Redhat Linux users on the i386 platform, get the following rpms
from the http://jfontain.free.fr/ Redhat sections:
- for Redhat 7.0: moodss and tktable 2.6 suffice, but you may also
  upgrade to Tcl/Tk 8.3.2 or 8.4.
- for Redhat 6.x: moodss-8.27, blt and tktable will do.
- add the tcllib rpm if you need thresholds email capability.
- add the tclperl rpm if you want to test or develop modules written
  in the Perl language.


* For the others:

Moodss requires Tcl 8.3.1 and Tk 8.3.1 or above to be installed and
working on your UNIX or Windows platform.

Then the tkTable widget library version 2.6 or above for UNIX (at
http://www.hobbs.wservice.com/tcl/main.html) needs to be installed as
a package (in the Tcl sense) on your system.

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

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

For Windows, get the tkTable DLL for Tcl 8.3 (if it exists, I have not
checked) from the tktable site above.


* Then the following BLT library:

At ftp://tcltk.sourceforge.net/pub/tcltk/blt/, BLT2.4?.tar.gz needs
to be installed also as a package (always grab the latest version):
follow the instructions in the BLT package.

For Windows, get BLT for windows (check that there is a version for
Tcl/Tk 8.3), which contains BLT24.DLL.


For a quick try without installing tkTable and BLT as packages as
described above, just copy Tktable.so and libBLT.so (or the
corresponding DLLs on Windows) to the moodss unpacking directory and
from that directory launch "wish moodss random", for example.
Note: if you so proceed, the configuration/preference dialog boxes
will not work as they require a complete installation of the BLT
package.


Then install the tcllib library, which contains the mime/smtp package,
if you need thresholds email capability. It can be found at
ftp://ftp.scriptics.com/pub/tcl/.




* Then there are 3 cases:


- 1. you only want to use moodss as is and eventually write modules for
it in the Tcl language:

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 sub-directories to directories that the Tcl core will look
into (/usr/local/lib/ by default on Unix, /usr/lib/moodss/ on Linux
if you used the rpms) (look at the pkg_mkIndex manual page for more
information).

For example, to install the random module as a Tcl package on UNIX,
you could do:
$ mkdir /usr/local/lib/random
$ cp /home/jdoe/moodss-X.x/random/* /usr/local/lib/random/


- 2. you only want to use moodss as is and eventually write modules for
it in the Perl language:

Follow directions as in number 1 case above, and install the tclperl
package, available on my homepage (http:/jfontain.free.fr/), and follow
the instructions in the sample Random.pm module file included in the
moodss distribution.
On Redhat, simply install the tclperl rpm.


- 3. you would also like to work on the moodss core (not the modules)
source code itself:

You will need to install stooop (4.1 or above, switched package
version 2.2 included), scwoop (4.0 or above) and tkpiechart (6.2 or
above) as Tcl packages. All the information required to do this can be
found in the packages themselves, at:
http://jfontain.free.fr/.
Please contact me if you add functionality, fix bugs, ... so I can
integrate your modifications to the core. Thank you very much in
advance.


A final note for windows users:
I have stopped testing moodss on windows, although I do not see why it
would not work if the tktable and blt packages are installed properly.
I had to deal with windows nt and 9x platforms as part of my regular
job and have come to hate microsoft after waisting so much time
rebooting, installing, deinstalling, managing anti-virus software,
trying to calm angry users in front of a hung PC with no valid
explanation to give them, having to deal with microsoft bigots with no
technical knowledge of protocols, software design, ..., managers
making single-handed purchasing decisions while still thinking that a
user-space application crashing a whole system is normal.
Anyway, if you successfully installed and used moodss on a windows
platform, please share you experience with me: I will be happy to
improve this document.





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