...
You need to have an installation of ROOT, which is not covered here.
You also need to install cmake yourself.
Build Instructions
Warning | ||
---|---|---|
| ||
Old versions of PandoraPFANew will not work, due to changes and additions to its API. It is recommended to use the last tagged version. The build instructions on this page use tagged versions of PandoraPFANew and PandoraMonitoring. Commands for using the trunk versions instead are listed as comments. |
These commands can be executed to produce a working slicPandora, using a shell such as bash. Start by making a directory
where Pandora and its dependencies will be installed.
...
These commands can be executed to produce a working slicPandora, using a shell such as bash. Start by making a directory
where Pandora and its dependencies will be installed.
The following commands should then be executed in order from this working directory.
Quick Build
Build ilcutil.
No Format |
---|
svn co http://svnsrv.desy.de/public/ilctools/ilcutil/trunk ilcutil
cd ilcutil
cmake .
make install
export ILCUTIL_DIR=`pwd`
cd ..
|
Build Pandora
No Format |
---|
svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraPFANew/trunk PandoraPFANew
cd PandoraPFANew
mkdir build
cd build
cmake ..
make install
cd ..
export PandoraPFANew_DIR=`pwd`/PandoraPFANew
|
Build LCIO
No Format |
---|
cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co -r v01-51 lcio
cd lcio
mkdir build
cd build
cmake -DINSTALL_DOC=OFF -DBUILD_32BIT_COMPATIBLE=OFF ..
make install
cd ..
export LCIO_DIR=`pwd`
cd ..
|
Build slicPandora
No Format |
---|
Old Build Instructions
Warning | ||
---|---|---|
| ||
The build instructions below are out of date and don't work anymore. |
No Format |
---|
# ROOT export ROOTSYS=/path/to/root/directory export PATH=$ROOTSYS/bin:$PATH # Build ilcutil svn co http://svnsrv.desy.de/public/ilctools/ilcutil/trunk ilcutil cd ilcutil cmake . make install export ILCUTIL_DIR=`pwd` # Back to work dir. cd .. # Checkout PandoraPFANew # Head checkout. #svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraPFANew/trunk PandoraPFANew # Use tag v00-05. svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraPFANew/tags/v00-05 PandoraPFANew export PandoraPFANew_DIR=`pwd`/PandoraPFANew # Build PandoraMonitoring #Head checkout. #svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraMonitoring/trunk PandoraMonitoring svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraMonitoring/tags/v00-04 PandoraMonitoring cd PandoraMonitoring mkdir build cd build cmake -DROOT_DIR=$ROOTSYS -DILCUTIL_DIR=$ILCUTIL_DIR -DPandoraPFANew_DIR=$PandoraPFANew_DIR .. make install cd .. export PandoraMonitoring_DIR=`pwd` cd .. # Setup Java export JAVA_HOME=/path/to/java/directory export PATH=$JAVA_HOME/bin:$PATH # Build LCIO cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co -r v01-51 lcio cd lcio mkdir build cd build cmake -DINSTALL_DOC=OFF -DBUILD_32BIT_COMPATIBLE=OFF .. make install cd .. export LCIO_DIR=`pwd` cd .. # Build PandoraPFANew cd PandoraPFANew mkdir build cd build cmake -DILCUTIL_DIR=$ILCUTIL_DIR -DPandoraMonitoring_DIR=$PandoraMonitoring_DIR .. make install cd ../.. # Build slicPandora cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co slicPandora cd slicPandora mkdir build cd build cmake -DROOT_DIR=$ROOTSYS -DCMAKE_MODULE_PATH=$ILCUTIL_DIR/cmakemodules -DLCIO_DIR=$LCIO_DIR \ -DPandoraPFANew_DIR=$PandoraPFANew_DIR -DPandoraMonitoring_DIR=$PandoraMonitoring_DIR .. make install |
...