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

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

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

revision 3969 by jfenwick, Fri Jul 27 01:04:48 2012 UTC revision 3970 by jfenwick, Wed Sep 19 02:28:27 2012 UTC
# Line 13  Line 13 
13  \section{\macosx binary installation}  \section{\macosx binary installation}
14  \label{sec:binmac}  \label{sec:binmac}
15    
16  \esfinley can be installed as a stand-alone bundle, containing all the required tools.  The standalone release for OSX has been tested on \macosx 10.5 (``Leopard'')\footnote{It \emph{should} work on
17    ``Snow Leopard'' but has not been tested.} and 10.7 (``Lion'').
18    
19  For more information on using the \file{run-escript} command please see the User Guide.  You will need to download both escript (\file{escript_3.4_osx.dmg}) and the support files (\file{escript-support_3.0_osx.dmg}).
   
 \subsection{Stand-alone bundle \macosx 10.5 (``Leopard'') and 10.7 (``Lion'')}  
   
 You will need to download both escript (\file{escript_3.3_osx.dmg}) and the support files (\file{escript-support_3.0_osx.dmg}).  
20  This point release uses the same support bundle as previous releases so if you already have it you don't need a new version.  This point release uses the same support bundle as previous releases so if you already have it you don't need a new version.
21    You will also need to download the sympy source code from \url{sympy.org} (You are looking for a \texttt{.tar.gz} file).
22    
23  \begin{itemize}  \begin{itemize}
24  \item Create a folder to hold escript (no spaces in the name please).  \item Create a folder to hold escript (no spaces in the name please).
25  \item Open the \file{.dmg} files and copy the contents to the folder you just created.  \item Open the \file{.dmg} files and copy the contents to the folder you just created.
26    \item Copy the sympy file into the same directory.
27  \end{itemize}  \end{itemize}
28    
29  To use escript, open a terminal\footnote{If you do not know how to open a terminal on Mac, then just type \texttt{terminal} in the spotlight (search tool on the top of the right corner) and once found, just click on it.} and type  To use escript, open a terminal\footnote{If you do not know how to open a terminal on Mac, then just type \texttt{terminal} in the spotlight (search tool on the top of the right corner) and once found, just click on it.} and type
30  \begin{shellCode}  \begin{shellCode}
31  x/escript.d/bin/run-escript  eval `x/escript.d/bin/run-escript -e`
32  \end{shellCode}  \end{shellCode}
33  where \textit{x} is the absolute path to your install.  where \textit{x} is the absolute path to your install.
34    
35    \noindent Now we need to install sympy (substitue the version number of sympy you have):
36    \begin{shellCode}
37    tar -xzf sympy-0.7.1.tar.gz
38    cd sympy-0.7.1
39    python setup.py install --prefix ../stand/pkg
40    \end{shellCode}
41    
42    You cay test your install with:
43    \begin{shellCode}
44    run-escript
45    \end{shellCode}
46    
47    You may now remove the sympy files from the starting directory and ``eject'' the \texttt{.dmg} files.
48    
49  If you wish to save on typing you can add \file{x/escript.d/bin} to your PATH variable (where \textit{x} is the absolute path to your install).  If you wish to save on typing you can add \file{x/escript.d/bin} to your PATH variable (where \textit{x} is the absolute path to your install).
50    
 This release has not been tested on \macosx 10.6 (``Snow Leopard'').  

Legend:
Removed from v.3969  
changed lines
  Added in v.3970

  ViewVC Help
Powered by ViewVC 1.1.26