mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-06 21:00:02 +02:00
Installation instructions updated with subbestions by Andrea Parenti (DESY)
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorsPackage@68 08cae9ef-cb74-4d14-b03a-d7ea46f178d7
This commit is contained in:
parent
cf3e3db83e
commit
0287f3c8a9
@ -101,6 +101,26 @@ export QWTDIR=/usr/local/qwt-6.0-svn/
|
||||
export LD_LIBRARY_PATH=$QWTDIR/lib:$LD_LIBRARY_PATH
|
||||
\end{verbatim}
|
||||
|
||||
\subsection{Installation with YUM}
|
||||
|
||||
You must install the qt4 and qwt development package i.e.
|
||||
\begin{verbatim}
|
||||
> yum install qt-devel qwt-devel
|
||||
\end{verbatim}
|
||||
and then edit edit your .bashrc as follows
|
||||
\begin{verbatim}
|
||||
export ROOTSYS=/opt/root/5.28.00
|
||||
export QTDIR=/usr/lib64/qt4
|
||||
export QWTDIR=/usr/include/qwt
|
||||
export PATH=$QTDIR:bin:$PATH
|
||||
\end{verbatim}
|
||||
|
||||
You should then continue with the root installation.
|
||||
|
||||
To compile, you should edit the file slsDetectorGui/slsDetectorGui.pro as follows.\\
|
||||
All lines containing \verb=$QTDIR= and \verb=$QWTDIR= should be commented, except in the INCLUDEPATH (\verb=$QWTDIR \=).\\
|
||||
Moreover the \verb=LIBS= line should be changed \verb=-L$(QWTDIR)/lib= to \verb=-L$(QWTDIR)/lib64=.
|
||||
|
||||
|
||||
\subsection{Root installation}
|
||||
|
||||
@ -140,17 +160,17 @@ If you simply want to install the software in the working directory you can:
|
||||
\begin{itemize}
|
||||
\item[make] compile the library, the command line interface and the receiver
|
||||
|
||||
\item[make lib] compile only the library
|
||||
\item[make lib] compile only the library
|
||||
|
||||
\item[make slsDetectorClient] compile the command line interface (and the library, since it is required)
|
||||
\item[make textclient] compile the command line interface (and the library, since it is required)
|
||||
|
||||
\item[make slsDetectorClient\_static] compile the command line interface statically linking the library (and the library, since it is required)
|
||||
\item[make stextclient] compile the command line interface statically linking the library (and the library, since it is required)
|
||||
|
||||
\item[make slsReceiver] compile the data reciever (and the library, since it is required)
|
||||
\item[make receiver] compile the data reciever (and the library, since it is required)
|
||||
|
||||
\item[make slsReceiver\_static] compile the data reciever statically linking the library (and the library, since it is required)
|
||||
\item[make sreceiver] compile the data reciever statically linking the library (and the library, since it is required)
|
||||
|
||||
\item[make slsDetectorGUI] compile slsDetectorGUI - requires a working Qt4 and Qwt installation
|
||||
\item[make gui] compile slsDetectorGUI - requires a working Qt4 and Qwt installation
|
||||
|
||||
\item[make calWiz] compile the calibration wizards - requires a working root installation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user