Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/INSTALL
ViewVC logotype

Diff of /sml/trunk/INSTALL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1047, Tue Jan 29 21:31:50 2002 UTC revision 1261, Tue Jul 23 15:45:45 2002 UTC
# Line 43  Line 43 
43     - Use some other means of downloading the necessary tarballs.  Store     - Use some other means of downloading the necessary tarballs.  Store
44       them in directory $d.  Then run the installer (config/install.sh).       them in directory $d.  Then run the installer (config/install.sh).
45    
46       Here is table that shows which packages you will need to download       Here is a table that shows which packages you will need to download
47       depending on what you select in config/targets.  Take the union of       depending on what you select in config/targets.  Take the union of
48       all the packages corresponding to your selection.  Don't forget to       all the packages corresponding to your selection.  Don't forget to
49       include the "(always)" entry.  (<arch> and <os> should match your       include the "(always)" entry.  (<arch> and <os> should match your
50       host system.)       host system.)
51    
52       Make sure you satisfy the "requires" dependencies when you make your       Keep in mind that making selections in config/targets there are
53       selection in config/targets.  (Actually, you need to satisfy these       dependencies between packages.  For example, eXene requires cml
54       requirements even if you do have network connectivity.  But you       and cml-lib.  The installer script "knows" about these dependencies
55       said you were in a hurry...  Future versions of the installer       and will automatically calculate the transitive closure of the
56       might be enhanced so that dependencies are satisfied automatically.)       "requires" relation for you.  Still, if you do not have network
57         connectivity, then you should have downloaded tarballs for the
58         entire transitive closure.  (If you didn't, the installer will
59         kindly remind you.)
60    
61            if you select...         |    ... you need            if you select...         |    ... you need
62        ---------------------------------------------------------------        ---------------------------------------------------------------
# Line 150  Line 153 
153     2.7.  Can I move files to another directory after the fact?     2.7.  Can I move files to another directory after the fact?
154     -----------------------------------------------------------     -----------------------------------------------------------
155    
156     Yes.  But this requires two small tweaks (points 2. and 3. below).     Yes.
157    
158     Here is the procedure:     Here is the procedure:
159    
# Line 161  Line 164 
164    
165          $ mv $d/{bin,lib} $e          $ mv $d/{bin,lib} $e
166    
167       2. Edit $e/bin/.run-sml and change the value of       2. Before running the "sml" command, set the environment variable
168          the variable BIN_DIR to (the value of) $e/bin.          SMLNJ_HOME to point to $e:
         (If e=/usr/share/smlnj, then the value would have to be  
         /usr/share/smlnj/bin.)  
169    
170       3. Before running the "sml" command, set the environment variable          $ export SMLNJ_HOME=$e
         CM_PATHCONFIG to $e/lib.  You could do this globally, either  
         in a system-wide .profile or even by adding a line, e.g.,  
171    
172             export CM_PATHCONFIG=/usr/share/smlnj/lib          If you want to put the contents of $e/lib somewhere else, then
173            point CM_PATHCONFIG to wherever the path configuration file
174          to $e/bin/.run-sml.          lives.  (The default is $SMLNJ_HOME/lib/pathconfig.)
175    
176          Alternatively, each user who wants to run "sml" could set the          You can also scatter around the contents of $e/lib.  If you do so,
177          variable by him/herself.          you have to edit the path configuration file itself.  See the CM
178            manual for more information on path anchors and path configuration.
179    
180     2.8 Forcing the installer to use a particular URL getter program     2.8 Forcing the installer to use a particular URL getter program
181     ----------------------------------------------------------------     ----------------------------------------------------------------

Legend:
Removed from v.1047  
changed lines
  Added in v.1261

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0