| 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 | <!-- phpmyvisites --> | 
|---|
| 9 | <a href="http://www.phpmyvisites.net/" title="phpMyVisites | Open source web analytics" | 
|---|
| 10 | onclick="window.open(this.href);return(false);"> | 
|---|
| 11 | <script type="text/javascript"> | 
|---|
| 12 | <!-- | 
|---|
| 13 | var a_vars = Array(); | 
|---|
| 14 | var pagename=''; | 
|---|
| 15 |  | 
|---|
| 16 | var phpmyvisitesSite = 1; | 
|---|
| 17 | var phpmyvisitesURL = "http://www.cmtsite.org/phpmv2/phpmyvisites.php"; | 
|---|
| 18 | //--> | 
|---|
| 19 | </script> | 
|---|
| 20 | <script language=javascript src="http://www.cmtsite.org/phpmv2/phpmyvisites.js" | 
|---|
| 21 | type="text/javascript"></script> | 
|---|
| 22 | <noscript> | 
|---|
| 23 | <p>phpMyVisites | Open source web analytics | 
|---|
| 24 | <img src="http://www.cmtsite.org/phpmv2/phpmyvisites.php" alt="phpMyVisites" style="border:0" /> | 
|---|
| 25 | </p> | 
|---|
| 26 | </noscript> | 
|---|
| 27 | </a> | 
|---|
| 28 | <!-- /phpmyvisites --> | 
|---|
| 29 |  | 
|---|
| 30 | <center><h1><b>Installing from the source kit</b></h1></center> | 
|---|
| 31 |  | 
|---|
| 32 | <br> | 
|---|
| 33 |  | 
|---|
| 34 | <hr> | 
|---|
| 35 | <h2>On Unix platforms</h2> | 
|---|
| 36 | <blockquote> | 
|---|
| 37 | First download the <a href="download.html">source distribution kit</a>. | 
|---|
| 38 |  | 
|---|
| 39 | <p>This results in a directory structure like: | 
|---|
| 40 |  | 
|---|
| 41 | <blockquote> | 
|---|
| 42 | <pre> | 
|---|
| 43 | <some root>/CMT/v1r<nn>p<xxx>/... | 
|---|
| 44 | </pre> | 
|---|
| 45 | </blockquote> | 
|---|
| 46 |  | 
|---|
| 47 | Then, you have to perform the installation by running: | 
|---|
| 48 |  | 
|---|
| 49 | <blockquote> | 
|---|
| 50 | <pre> | 
|---|
| 51 | unix> cd <some root>/CMT/v1r<nn>p<xxx>/mgr | 
|---|
| 52 | unix> ./INSTALL | 
|---|
| 53 | unix> source setup.[c]sh | 
|---|
| 54 |  | 
|---|
| 55 | or | 
|---|
| 56 |  | 
|---|
| 57 | dos> cd <some root>\CMT\v1r<nn>p<xxx>\mgr | 
|---|
| 58 | dos> call INSTALL.bat | 
|---|
| 59 | dos> call setup.bat | 
|---|
| 60 |  | 
|---|
| 61 | </pre> | 
|---|
| 62 | </blockquote> | 
|---|
| 63 |  | 
|---|
| 64 | <p>At this stage, you may either <i>build</i> CMT yourself, or fetch | 
|---|
| 65 | from the <a href="download.html">download page</a> some of the | 
|---|
| 66 | prebuilt binaries (note that even if you select to get one of the | 
|---|
| 67 | prebuilt binaries, you always have to first download the source | 
|---|
| 68 | kit).</p> | 
|---|
| 69 |  | 
|---|
| 70 | <blockquote> | 
|---|
| 71 | <pre> | 
|---|
| 72 | unix> source setup.[c]sh | 
|---|
| 73 | unix> [g]make | 
|---|
| 74 |  | 
|---|
| 75 | or | 
|---|
| 76 |  | 
|---|
| 77 | dos> call setup.bat | 
|---|
| 78 | dos> nmake /f nmake | 
|---|
| 79 |  | 
|---|
| 80 | </pre> | 
|---|
| 81 | </blockquote> | 
|---|
| 82 |  | 
|---|
| 83 | Then CMT is installed, and read to be used. Users have then to | 
|---|
| 84 | connect to CMT by doing: | 
|---|
| 85 |  | 
|---|
| 86 | <blockquote> | 
|---|
| 87 | <pre> | 
|---|
| 88 |  | 
|---|
| 89 | unix-csh> source <some root>/CMT/v1r<nn>p<xxx>/mgr/setup.csh | 
|---|
| 90 |  | 
|---|
| 91 | or | 
|---|
| 92 |  | 
|---|
| 93 | unix-sh> . <some root>/CMT/v1r<nn>p<xxx>/mgr/setup.sh | 
|---|
| 94 |  | 
|---|
| 95 | or | 
|---|
| 96 |  | 
|---|
| 97 | dos> call <some root>\CMT\v1r<nn>p<xxx>\mgr\setup.bat | 
|---|
| 98 | </pre> | 
|---|
| 99 | </blockquote> | 
|---|
| 100 |  | 
|---|
| 101 |  | 
|---|
| 102 | </blockquote> | 
|---|
| 103 |  | 
|---|
| 104 | <hr> | 
|---|
| 105 | <h2>On Windows platforms</h2> | 
|---|
| 106 |  | 
|---|
| 107 | <blockquote> | 
|---|
| 108 |  | 
|---|
| 109 | <P> | 
|---|
| 110 | Some of the global configuration parameters for CMT <i>may</i> | 
|---|
| 111 | optionally be installed as Windows registry entries (although the | 
|---|
| 112 | environment variables style of definitions is fully supported). This | 
|---|
| 113 | can be done using the <tt>install.exe</tt> facility available from | 
|---|
| 114 | the download page or using the standard RegEdit facility : </P> | 
|---|
| 115 |  | 
|---|
| 116 | <UL> | 
|---|
| 117 |  | 
|---|
| 118 | <LI> | 
|---|
| 119 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/root</tt> will contain the root | 
|---|
| 120 | directory where CMT is installed (eg. "e:"). | 
|---|
| 121 | </LI> | 
|---|
| 122 |  | 
|---|
| 123 | <LI> | 
|---|
| 124 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/version</tt> will contain the | 
|---|
| 125 | current version tag of CMT ("v1r16" for this version). | 
|---|
| 126 | </LI> | 
|---|
| 127 |  | 
|---|
| 128 | <LI> | 
|---|
| 129 | <tt>HKEY_LOCAL_MACHINE/Software/CMT/path/</tt> may | 
|---|
| 130 | optionally contain a set of text values corresponding to the | 
|---|
| 131 | different package global access paths (similar to the | 
|---|
| 132 | CMTPATH environment variable. | 
|---|
| 133 | </LI> | 
|---|
| 134 |  | 
|---|
| 135 | <LI> | 
|---|
| 136 | <tt>HKEY_CURRENT_USER/Software/CMT/path/</tt> may contain a | 
|---|
| 137 | set of text values corresponding to the different package | 
|---|
| 138 | private access paths (complementary to the latter). | 
|---|
| 139 | </LI> | 
|---|
| 140 |  | 
|---|
| 141 | </UL> | 
|---|
| 142 | </blockquote> | 
|---|
| 143 |  | 
|---|
| 144 | <hr> | 
|---|