1 | <!--
|
---|
2 | //-----------------------------------------------------------
|
---|
3 | // Copyright Christian Arnault LAL-Orsay CNRS
|
---|
4 | // arnault@lal.in2p3.fr
|
---|
5 | // See the complete license in cmt_license.txt "http://www.cecill.info".
|
---|
6 | //-----------------------------------------------------------
|
---|
7 | -->
|
---|
8 |
|
---|
9 | <center><h1><b>Installing from the source kit</b></h1></center>
|
---|
10 |
|
---|
11 | <br>
|
---|
12 |
|
---|
13 | <hr>
|
---|
14 | <h2>On Unix platforms</h2>
|
---|
15 | <blockquote>
|
---|
16 | First download the <a href="download.html">source distribution kit</a>.
|
---|
17 |
|
---|
18 | <p>This results in a directory structure like:
|
---|
19 |
|
---|
20 | <blockquote>
|
---|
21 | <pre>
|
---|
22 | <some root>/CMT/v1r<nn>p<xxx>/...
|
---|
23 | </pre>
|
---|
24 | </blockquote>
|
---|
25 |
|
---|
26 | Then, you have to perform the installation by running:
|
---|
27 |
|
---|
28 | <blockquote>
|
---|
29 | <pre>
|
---|
30 | unix> cd <some root>/CMT/v1r<nn>p<xxx>/mgr
|
---|
31 | unix> ./INSTALL
|
---|
32 | unix> source setup.[c]sh
|
---|
33 |
|
---|
34 | or
|
---|
35 |
|
---|
36 | dos> cd <some root>\CMT\v1r<nn>p<xxx>\mgr
|
---|
37 | dos> call INSTALL.bat
|
---|
38 | dos> call setup.bat
|
---|
39 |
|
---|
40 | </pre>
|
---|
41 | </blockquote>
|
---|
42 |
|
---|
43 | <p>At this stage, you may either <i>build</i> CMT yourself, or fetch
|
---|
44 | from the <a href="download.html">download page</a> some of the
|
---|
45 | prebuilt binaries (note that even if you select to get one of the
|
---|
46 | prebuilt binaries, you always have to first download the source
|
---|
47 | kit).</p>
|
---|
48 |
|
---|
49 | <blockquote>
|
---|
50 | <pre>
|
---|
51 | unix> source setup.[c]sh
|
---|
52 | unix> [g]make
|
---|
53 |
|
---|
54 | or
|
---|
55 |
|
---|
56 | dos> call setup.bat
|
---|
57 | dos> nmake /f nmake
|
---|
58 |
|
---|
59 | </pre>
|
---|
60 | </blockquote>
|
---|
61 |
|
---|
62 | Then CMT is installed, and read to be used. Users have then to
|
---|
63 | connect to CMT by doing:
|
---|
64 |
|
---|
65 | <blockquote>
|
---|
66 | <pre>
|
---|
67 |
|
---|
68 | unix-csh> source <some root>/CMT/v1r<nn>p<xxx>/mgr/setup.csh
|
---|
69 |
|
---|
70 | or
|
---|
71 |
|
---|
72 | unix-sh> . <some root>/CMT/v1r<nn>p<xxx>/mgr/setup.sh
|
---|
73 |
|
---|
74 | or
|
---|
75 |
|
---|
76 | dos> call <some root>\CMT\v1r<nn>p<xxx>\mgr\setup.bat
|
---|
77 | </pre>
|
---|
78 | </blockquote>
|
---|
79 |
|
---|
80 |
|
---|
81 | </blockquote>
|
---|
82 |
|
---|
83 | <hr>
|
---|
84 | <h2>On Windows platforms</h2>
|
---|
85 |
|
---|
86 | <blockquote>
|
---|
87 |
|
---|
88 | <P>
|
---|
89 | Some of the global configuration parameters for CMT <i>may</i>
|
---|
90 | optionally be installed as Windows registry entries (although the
|
---|
91 | environment variables style of definitions is fully supported). This
|
---|
92 | can be done using the <tt>install.exe</tt> facility available from
|
---|
93 | the download page or using the standard RegEdit facility : </P>
|
---|
94 |
|
---|
95 | <UL>
|
---|
96 |
|
---|
97 | <LI>
|
---|
98 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/root</tt> will contain the root
|
---|
99 | directory where CMT is installed (eg. "e:").
|
---|
100 | </LI>
|
---|
101 |
|
---|
102 | <LI>
|
---|
103 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/version</tt> will contain the
|
---|
104 | current version tag of CMT ("v1r16" for this version).
|
---|
105 | </LI>
|
---|
106 |
|
---|
107 | <LI>
|
---|
108 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/path/</tt> may
|
---|
109 | optionally contain a set of text values corresponding to the
|
---|
110 | different package global access paths (similar to the
|
---|
111 | CMTPATH environment variable.
|
---|
112 | </LI>
|
---|
113 |
|
---|
114 | <LI>
|
---|
115 | <tt>HKEY_CURRENT_USER/Software/CMT/path/</tt> may contain a
|
---|
116 | set of text values corresponding to the different package
|
---|
117 | private access paths (complementary to the latter).
|
---|
118 | </LI>
|
---|
119 |
|
---|
120 | </UL>
|
---|
121 | </blockquote>
|
---|
122 |
|
---|
123 | <hr>
|
---|