---------------------------------------------------------------------- 2017/01/26 K.Fujii v01-19-01 ---------------------------------------------------------------------- URL: http://forum.linearcollider.org/index.php?t=msg&goto=2404 1) Install the required packages: $ sudo apt-get update $ sudo apt-get install mysql-devel imake gsl-devel gsl-static clhep geant4 root cernlib xerces-c cmake gcc libtool m4 autoconf automake poppler-devel libgcrypt-devel libptexenc-devel 2) Get the "ilctools" and its MacOSX patch $ cd /proj/soft/ilcsoft/src $ svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/tags/v01-19-01 $ tar -zcvf ilctools-v01-19-01.tar.gz v01-19-01 $ mv v01-19-01 /proj/soft/ilcsoft/ $ ls ilctools-v01-19-01.tar.gz dd4hep-cling.patch ddkaltest-cmakelists.patch ilcinstall-v01-19-01-macosx10.2.patch marlinreco-abs.patch marlintpc-not0.patch marlintpc-rootfileproc.patch 3) Build and install the ilcsoft $ cd /proj/soft/ilcsoft $ tar -zxvf src/v01-19-01/ilctools-v01-19-01.tar.gz $ cd v01-19-01 $ patch -p1 -s -b < ../src/v01-19-01/ilcinstall-v01-19-01-macosx10.12.patch $ ./ilcsoft-install -i releases/v01-19-01/release-osx.cfg ....... ... before compilation starts, apply the following patches in a new window: $ patch -p1 -s -b < marlinreco-abs.patch $ patch -p1 -s -b < marlintpc-not0.patch $ patch -p1 -s -b < marlintpc-rootfileproc.patch $ patch -p1 -s -b < ddkaltest-cmakelists.patch $ patch -p1 -s -b < dd4hep-cling.patch ... $ pushd DD4hep/v00-20/cmake/ $ ln -s /opt/root/6.08.02/etc/cmake/* . -------------------------------------------------------------- To rebuid a package $ cd $ touch .install_failed.tmp ---------------------------------------------------- To get the head version do the following, instead: $ svn co https://svnsrv.desy.de/public/marlintpc/trunk 5) Then build and install MarlinTPC If you have libjpeg-devel and libtiff-devel installed, uninstall them since they conflict with the system provided libraries: $ rpm -e libjpeg-devel libtiff-devel Then build MarlinTPC: $ cd /proj/cdc/soft/MarlinTPC $ tar -zxvf src/r3390.tar.gz $ cd r3390 $ tar -zxvf ../src/analysis.tar.gz $ mkdir build $ cd build $ cmake -C /proj/soft/ilcsoft/v01-17-04/ILCSoft.cmake .. $ make install $ cd .. $ tar -zxvf ../src/LP_Asian_GEM_Module.tar.gz -C examples 7) You can also try CEDViewer In order to use CEDViewer, you need to start a CED server, glced, first. $ source /proj/soft/ilcsoft/v01-17-04/init_ilcsoft.sh $ glced -world_size=100. Then open a new termnal window and type $ cd /proj/cdc/soft/MarlinTPC/r3390/examples/LP_Asian_GEM_Module $ Marlin reconstructLCTPCRawData.xml Hit "h" in the viewer window for "help". In order to get trunk version of ilcsoft, first get the trunk version of ilcinstall by typing $ svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/trunk