| 1 | The library is an autotools package, and is installed using the usual |
| 2 | paradigm of configure; make; make install. |
| 3 | |
| 4 | Along with the usual autotools options, the library's configure script offers the following options: |
| 5 | % |
| 6 | |
| 7 | --with-lhapdf-path=path_to_lhapdf_installation |
| 8 | |
| 9 | Sets the location of the \textsc{lhapdf} installation. This option is needed only if the helper program lhapdf-config is not in the executable search path. |
| 10 | |
| 11 | --with-root-path=path_to_ROOT_installation |
| 12 | |
| 13 | Sets the location of the root installation. This option is needed only if the helper program root-config is not in the executable search path. |
| 14 | |
| 15 | --enable-pythoninterface:: |
| 16 | |
| 17 | Compiles the python interface (see section \ref{sec:python |
| 18 | |
| 19 | |
| 20 | To install the library, unpack the {\tt .tar.gz} file, |
| 21 | \begin{lstlisting}[basicstyle=\ttfamily,keepspaces=true,columns=fullflexible,escapeinside={(*}{*)}] |
| 22 | tar -xzf ntuplesreader-(*$\langle${\it version\/}$\rangle$*).tar.gz |
| 23 | \end{lstlisting} |
| 24 | where {\it version\/} is a string like `1.0'. |
| 25 | Configure, with options as needed, |
| 26 | \begin{lstlisting}[basicstyle=\ttfamily,keepspaces=true,columns=fullflexible,escapeinside={(*}{*)}] |
| 27 | cd ntuplesreader-(*$\langle${\it version\/}$\rangle$*) |
| 28 | ./configure (*$\langle${\rm options}$\rangle$*) |
| 29 | \end{lstlisting} |
| 30 | and then compile and install, |
| 31 | \begin{lstlisting}[basicstyle=\ttfamily,keepspaces=true,columns=fullflexible,escapeinside={(*}{*)}] |
| 32 | make |
| 33 | make install |
| 34 | \end{lstlisting} |
| 35 | To install in a different location than the standard one, use the |
| 36 | {\tt --prefix\/} option to the {\tt configure\/} script. |