[FIXED] problems in installing a pandaroot release (usual problems) [message #19190] |
Tue, 12 April 2016 14:05 |
Elisabetta Prencipe (2)
Messages: 214 Registered: February 2013
|
first-grade participant |
From: *ikp.kfa-juelich.de
|
|
Dear all,
since one year I find very difficult to install new releases in pandaroot. The problem is always the same: when arrving at the point to compile, I get error, and I don't know why.
This time I tried to install everything from scratch, e.g. https://panda-wiki.gsi.de/foswiki/bin/view/Computing/PandaRootInstallGit
(standard installations)
1) Installing again external package fairsoft_mar15.... fine!
2) Installing FairRoot...troubles:
>>>>> cmake -DCMAKE_INSTALL_PREFIX=/home/prencipe/panda/fairsoft_mar15/buildFairRoot /home/prencipe/panda/fairsoft_mar15/FairRoot
-- fairsoft-config found
-- C compiler used for FairSoft installation: /usr/bin/gcc
-- C compiler used now: /usr/bin/gcc
-- CXX compiler used for FairSoft installation: /usr/bin/g++
-- CXX compiler used now: /usr/bin/c++
-- The compiler during the compilation of FairSoft is different from the current one.
CMake Error at cmake/modules/CheckCompiler.cmake:64 (Message):
This is seen as an error. If you know that the setting is correct you can
silence the error by using the CMake flag -DUSE_DIFFERENT_COMPILER=TRUE
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)
3) even not possible this time to start the installation of the release. In general, I ge ttrouble when doing cmake in the release/build. This time a step above. I am following step by step the tutorial. MY OS is Fedora19.
At the third attempt of the day, deleting everything and starting all over again, I give up.
If nobody has any idea how to solve and improve this, I cannot test genfit2 in releases >= mar15. From my point of view, it works good in oct14, as in my /development/ no problems occur.
It is a pain since one year to work with new pandaroot releases, really...
Looking forward to hear from you
Best regards, Elisabetta
[Updated on: Thu, 28 April 2016 16:32] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: problems in installing a pandaroot release (usual problems) [message #19212 is a reply to message #19200] |
Wed, 13 April 2016 10:57 |
Elisabetta Prencipe (2)
Messages: 214 Registered: February 2013
|
first-grade participant |
From: *ikp.kfa-juelich.de
|
|
Hello Stefano,
it looks there were some problems with a few packages, that could not be checked just running the ./config.sh script.
So, 2 level-problems:
1) dependencies. Tobias helped yesterday with that. From the web page: https://github.com/FairRootGroup/FairSoft/blob/master/DEPENDENCIES
Fedora, Redhat, Scientific Linux and other Redhat based systems:
yum install cmake gcc gcc-c++ gcc-gfortran make patch sed \
libX11-devel libXft-devel libXpm-devel libXext-devel \
libXmu-devel mesa-libGLU-devel mesa-libGL-devel ncurses-devel \
curl bzip2 libbz2-dev gzip unzip tar expat-devel \
subversion git flex bison imake redhat-lsb-core \
python-devel libxml2-devel wget openssl-devel curl-devel \
automake autoconf libtool
2) missing packages (pythia6, geant3,...)
I downloaded them manually, and now it works.
Florian proposes: git checkout -b tag_mar15p6 mar15p6 (please, see his last message in the general FiarRoot forum).
Indeed, when doing 'cmake' I always need to type:
cmake -DUSE_DIFFERENT_COMPILER=TRUE -DCMAKE_INSTALL_PREFIX=/home/prencipe/panda/fairsoft_mar15/buildFairRoot /home/prencipe/panda/fairsoft_mar15/FairRoot
The patch '-DUSE_DIFFERENT_COMPILER=TRUE' is always needed (Fedora19) for both, FairRoot and pandaroot installation.
cheers, Elisabetta
|
|
|