/[escript]/trunk/doc/install/srclinux.tex
ViewVC logotype

Diff of /trunk/doc/install/srclinux.tex

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

revision 2317 by jfenwick, Thu Mar 19 01:48:00 2009 UTC revision 2324 by jfenwick, Thu Mar 19 04:35:30 2009 UTC
# Line 241  cd .. Line 241  cd ..
241    
242  Now copy the \esfinley source into an \filename{escript.d} directory in \filename{stand}.  Now copy the \esfinley source into an \filename{escript.d} directory in \filename{stand}.
243    
244    \subsection{Compiling escript}\label{sec:compileescriptlinux}
245    
246    Change to the directory containing your escript source (\filename{escript.d}), then:
247    
248  \begin{shellCode}  \begin{shellCode}
249  cd scons  cd scons
250  cp linux_options_example.py YourMachineName_options.py  cp linux_options_example.py YourMachineName_options.py
# Line 290  Note this may take a while if you have a Line 294  Note this may take a while if you have a
294  scons all_tests  scons all_tests
295  \end{shellCode}  \end{shellCode}
296    
297  Once you are satisfied, the \filename{build} and \filename{\$PKG_ROOT/build} directories can be removed.  \subsection{Cleaning up}
298  Within the \filename{packages} directory, the \filename{scons}, \filename{scons-1.2.0}, \filename{cmake-2.6.3} and \filename{cmake} entries can also be removed.  Once you are satisfied, the \filename{escript.d/build} and \filename{\$PKG_ROOT/build} directories can be removed.
 If you are not redistributing this bundle you can remove \filename{\$PKG_ROOT/package_src}.  
299    
300  If you do not plan to edit or recompile the source you can remove it.  If you \emph{really} want to save space and do not wish to be able to edit or recompile escript, you can remove the following:
 The only entries which are required in \filename{escript.d} are:  
301  \begin{itemize}  \begin{itemize}
302   \item \filename{bin}   \item From the \filename{escript.d} directory:\begin{itemize}
303  \item \filename{esys}  \item Everything except: \filename{bin}, \filename{include}, \filename{lib}, \filename{esys},
304  \item \filename{include}  \filename{README_LICENSE}.
305  \item \filename{lib}  \item Hidden files, which can be removed using
 \item \filename{README_LICENSE}  
 \end{itemize}  
   
 Hidden files can be removed with  
306  \begin{shellCode}  \begin{shellCode}
307  find . -name .?* | xargs rm -rf  find . -name .?* | xargs rm -rf
308  \end{shellCode}  \end{shellCode}
309    in the \filename{escript.d} directory.
310    \end{itemize}
311    \item from the \filename{packages} directory:
312    \begin{itemize}
313    \item  \filename{scons}, \filename{scons-1.2.0}, \filename{cmake-2.6.3} and \filename{cmake}
314    \end{itemize}
315    \item \filename{package\_src}\footnote{Do not remove this if you intend to redistribute.}.
316    \end{itemize}
317    
318    Please note that removing all these files may make it more difficult for us to diagnose problems.
319    
320    
321    
322    
323  \section{Additional Functionality}\label{sec:linaddfunc}  \section{Additional Functionality}\label{sec:linaddfunc}
324  To perform visualisations you will need some additional tools.  To perform visualisations you will need some additional tools.

Legend:
Removed from v.2317  
changed lines
  Added in v.2324

  ViewVC Help
Powered by ViewVC 1.1.26