1 |
sashby |
1.1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
2 |
|
|
|
3 |
|
|
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
|
4 |
|
|
patched version by: Kenshi Muto, Debian Project.
|
5 |
|
|
LaTeX2HTML 2002 (1.62),
|
6 |
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
7 |
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
8 |
|
|
* with significant contributions from:
|
9 |
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
10 |
|
|
<HTML>
|
11 |
|
|
<HEAD>
|
12 |
|
|
<TITLE>2.1 Downloading and Installing from CVS</TITLE>
|
13 |
|
|
<META NAME="description" CONTENT="2.1 Downloading and Installing from CVS">
|
14 |
|
|
<META NAME="keywords" CONTENT="SCRAM">
|
15 |
|
|
<META NAME="resource-type" CONTENT="document">
|
16 |
|
|
<META NAME="distribution" CONTENT="global">
|
17 |
|
|
|
18 |
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
19 |
|
|
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
|
20 |
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
21 |
|
|
|
22 |
|
|
<LINK REL="STYLESHEET" HREF="SCRAM.css">
|
23 |
|
|
|
24 |
|
|
<LINK REL="next" HREF="node14.html">
|
25 |
|
|
<LINK REL="previous" HREF="node12.html">
|
26 |
|
|
<LINK REL="up" HREF="node12.html">
|
27 |
|
|
<LINK REL="next" HREF="node14.html">
|
28 |
|
|
</HEAD>
|
29 |
|
|
|
30 |
|
|
<BODY bgcolor="beige" >
|
31 |
|
|
<!--Navigation Panel-->
|
32 |
|
|
<A NAME="tex2html493"
|
33 |
|
|
HREF="node14.html">
|
34 |
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
35 |
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
36 |
|
|
<A NAME="tex2html487"
|
37 |
|
|
HREF="node12.html">
|
38 |
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
39 |
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
40 |
|
|
<A NAME="tex2html481"
|
41 |
|
|
HREF="node12.html">
|
42 |
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
43 |
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
44 |
|
|
<A NAME="tex2html489"
|
45 |
|
|
HREF="node2.html">
|
46 |
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
47 |
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
48 |
|
|
<A NAME="tex2html491"
|
49 |
|
|
HREF="node85.html">
|
50 |
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
51 |
|
|
SRC="file:/usr/share/latex2html/icons/index.png"></A>
|
52 |
|
|
<BR>
|
53 |
|
|
<B> Next:</B> <A NAME="tex2html494"
|
54 |
|
|
HREF="node14.html">2.2 Configuring Netscape to</A>
|
55 |
|
|
<B> Up:</B> <A NAME="tex2html488"
|
56 |
|
|
HREF="node12.html">2. Obtaining and Installing</A>
|
57 |
|
|
<B> Previous:</B> <A NAME="tex2html482"
|
58 |
|
|
HREF="node12.html">2. Obtaining and Installing</A>
|
59 |
|
|
  <B> <A NAME="tex2html490"
|
60 |
|
|
HREF="node2.html">Contents</A></B>
|
61 |
|
|
  <B> <A NAME="tex2html492"
|
62 |
|
|
HREF="node85.html">Index</A></B>
|
63 |
|
|
<BR>
|
64 |
|
|
<BR>
|
65 |
|
|
<!--End of Navigation Panel-->
|
66 |
|
|
|
67 |
|
|
<H1><A NAME="SECTION00310000000000000000"></A>
|
68 |
|
|
<A NAME="301"></A>
|
69 |
|
|
<BR>
|
70 |
|
|
2.1 Downloading and Installing from CVS
|
71 |
|
|
</H1>
|
72 |
|
|
|
73 |
|
|
<OL>
|
74 |
|
|
<LI>Create a directory <TT>scram</TT> in which you wish to keep your
|
75 |
|
|
<SMALL>SCRAM</SMALL> installation,
|
76 |
|
|
|
77 |
|
|
<P>
|
78 |
|
|
e.g. <TT>mkdir SCRAM</TT>
|
79 |
|
|
|
80 |
|
|
<P>
|
81 |
|
|
</LI>
|
82 |
|
|
<LI>Change to the installation directory created above,
|
83 |
|
|
|
84 |
|
|
<P>
|
85 |
|
|
e.g. <TT>cd SCRAM</TT>
|
86 |
|
|
<A NAME="308"></A>
|
87 |
|
|
</LI>
|
88 |
|
|
<LI>Set the environment variable <TT>CVSROOT</TT> to point to the
|
89 |
|
|
CVS repository:
|
90 |
|
|
|
91 |
|
|
<P>
|
92 |
|
|
<FONT SIZE="-1">
|
93 |
sashby |
1.2 |
<TT>:pserver:anonymous@cmscvs.cern.ch:/cvs_server/repositories/SCRAM</TT>
|
94 |
sashby |
1.1 |
</FONT>
|
95 |
|
|
<P>
|
96 |
|
|
Use <TT>export</TT> or <TT>setenv</TT> depending on whether your
|
97 |
|
|
shell is <TT>zsh</TT> or <TT>tcsh</TT>.
|
98 |
|
|
|
99 |
|
|
<P>
|
100 |
|
|
</LI>
|
101 |
|
|
<LI>Log into the CVS server as user <I>anonymous</I> (password is
|
102 |
|
|
<TT>98passwd23</TT>):
|
103 |
|
|
|
104 |
|
|
<P>
|
105 |
|
|
<TT>cvs login</TT>
|
106 |
|
|
|
107 |
|
|
<P>
|
108 |
|
|
</LI>
|
109 |
|
|
<LI>Check out the version of <SMALL>SCRAM</SMALL> (for example, V0_19_7 )
|
110 |
|
|
required:
|
111 |
|
|
|
112 |
|
|
<P>
|
113 |
sashby |
1.3 |
<TT>cvs co -d V0_19_7 -r V0_19_7 SCRAM</TT>
|
114 |
sashby |
1.1 |
|
115 |
|
|
<P>
|
116 |
|
|
Version information can be obtained from the release notes or from
|
117 |
|
|
the main web page for <SMALL>SCRAM</SMALL>. Once a version of <SMALL>SCRAM</SMALL> has been
|
118 |
|
|
installed, installation of any other version is achieved easily,
|
119 |
|
|
using the command
|
120 |
|
|
|
121 |
|
|
<P>
|
122 |
|
|
<TT>scram version</TT> <I>new-version</I>
|
123 |
|
|
|
124 |
|
|
<P>
|
125 |
|
|
The final step is to run the installation script found in the <SMALL>SCRAM</SMALL>
|
126 |
|
|
installation directory.
|
127 |
|
|
|
128 |
|
|
<P>
|
129 |
|
|
</LI>
|
130 |
|
|
<LI>Goto the <TT>Installation</TT> directory of the version you have
|
131 |
|
|
just checked out,
|
132 |
|
|
|
133 |
|
|
<P>
|
134 |
|
|
e.g. <TT>cd V0_19_7 /Installation</TT>
|
135 |
|
|
|
136 |
|
|
<P>
|
137 |
|
|
</LI>
|
138 |
|
|
<LI>Run the installation script <TT>install_scram</TT>,
|
139 |
|
|
|
140 |
|
|
<P>
|
141 |
|
|
e.g. <TT>./install_scram</TT>
|
142 |
|
|
|
143 |
|
|
<P>
|
144 |
|
|
You will be asked several questions which provide information to
|
145 |
|
|
<SMALL>SCRAM</SMALL> that will be used when configuring external tools in project
|
146 |
|
|
areas: <PRE>
|
147 |
|
|
** Please enter the name of your SITE (e.g. CERN[default], FNAL) **
|
148 |
|
|
sitename?:
|
149 |
|
|
|
150 |
|
|
** Please enter the default location of the cmstools file **
|
151 |
|
|
cmstools-CERN.conf location?: ~/siteconf
|
152 |
|
|
</PRE>Answer the questions when prompted. You can either use
|
153 |
|
|
a proper site name, <TT>CERN</TT> for example, or perhaps
|
154 |
|
|
<TT>STANDALONE</TT> if you will be using <SMALL>SCRAM</SMALL> to configure
|
155 |
|
|
projects locally on a laptop. The second question refers to the
|
156 |
|
|
whereabouts of the tools configuration file. This location should be
|
157 |
|
|
a directory name (e.g. ~/siteconf), under which a valid
|
158 |
|
|
file can be found. In most cases, it is sufficient to press the
|
159 |
|
|
return key at this point.
|
160 |
|
|
|
161 |
|
|
<P>
|
162 |
|
|
The location of <TT>perl</TT> will be found automatically from your
|
163 |
|
|
path. If you want to force the wrapper script to use a particular
|
164 |
|
|
location, use the command-line option <TT>-perl</TT> when
|
165 |
|
|
running the install script:
|
166 |
|
|
|
167 |
|
|
<P>
|
168 |
|
|
e.g. <TT>./install_scram -perl /usr/bin/perl</TT>
|
169 |
|
|
|
170 |
|
|
<P>
|
171 |
|
|
</LI>
|
172 |
|
|
<LI>Move back to your top level directory (e.g. <TT>cd ../..</TT>).
|
173 |
|
|
The install script will create a file wrapper script called
|
174 |
|
|
<TT>scram</TT> in this directory.
|
175 |
|
|
</LI>
|
176 |
|
|
</OL>
|
177 |
|
|
|
178 |
|
|
<P>
|
179 |
|
|
If you wish to use <SMALL>SCRAM</SMALL> directly through web page links you will
|
180 |
|
|
now need to configure your browser to use <SMALL>SCRAM</SMALL>.
|
181 |
|
|
|
182 |
|
|
<P>
|
183 |
|
|
<HR>
|
184 |
|
|
<!--Navigation Panel-->
|
185 |
|
|
<A NAME="tex2html493"
|
186 |
|
|
HREF="node14.html">
|
187 |
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
188 |
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
189 |
|
|
<A NAME="tex2html487"
|
190 |
|
|
HREF="node12.html">
|
191 |
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
192 |
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
193 |
|
|
<A NAME="tex2html481"
|
194 |
|
|
HREF="node12.html">
|
195 |
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
196 |
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
197 |
|
|
<A NAME="tex2html489"
|
198 |
|
|
HREF="node2.html">
|
199 |
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
200 |
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
201 |
|
|
<A NAME="tex2html491"
|
202 |
|
|
HREF="node85.html">
|
203 |
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
204 |
|
|
SRC="file:/usr/share/latex2html/icons/index.png"></A>
|
205 |
|
|
<BR>
|
206 |
|
|
<B> Next:</B> <A NAME="tex2html494"
|
207 |
|
|
HREF="node14.html">2.2 Configuring Netscape to</A>
|
208 |
|
|
<B> Up:</B> <A NAME="tex2html488"
|
209 |
|
|
HREF="node12.html">2. Obtaining and Installing</A>
|
210 |
|
|
<B> Previous:</B> <A NAME="tex2html482"
|
211 |
|
|
HREF="node12.html">2. Obtaining and Installing</A>
|
212 |
|
|
  <B> <A NAME="tex2html490"
|
213 |
|
|
HREF="node2.html">Contents</A></B>
|
214 |
|
|
  <B> <A NAME="tex2html492"
|
215 |
|
|
HREF="node85.html">Index</A></B>
|
216 |
|
|
<!--End of Navigation Panel-->
|
217 |
|
|
<ADDRESS>
|
218 |
|
|
scram-developers@cern.ch
|
219 |
|
|
</ADDRESS>
|
220 |
|
|
</BODY>
|
221 |
|
|
</HTML>
|