GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » CBM » CBMROOT » General » Error in installation of CBM ROOT using auto-install command (Error found in installation CBMROOT: JUN16, FAIRSOFT ::may16p1, FAIRROOT :: v-16.06b)
Error in installation of CBM ROOT using auto-install command [message #21085] Wed, 24 May 2017 09:14 Go to next message
Buddhadeb Bhattacharjee is currently offline  Buddhadeb Bhattacharjee
Messages: 5
Registered: March 2008
Location: Guwahati, India
occasional visitor
From: 150.107.230*
Dear all,

I wa trying to install the latest version of CBM simulation software in ubuntu 16.04. While FAIRSOFT and FAIRROOT could be installed successfully, an error occured in the intallation of CBMROOT. Error messages are given below It would be a great help if someone helps me to sort out the issue.

Error messages:

======================================================================== =================================
1.

FSOFTVER: may16p1
FROOTVER: v-16.06b
number of parameters: 3
Install Fairsoft: 0
Install Fairroot: 0
Install Cbmroot : 1

Setting up Cbmroot ...
SIMPATH before:
SIMPATH now : /home/somen/cbmsoft/cbmroot/fairsoft_may16p1_root5/installation
FAIRROOTPATH: /home/somen/cbmsoft/cbmroot/fairroot_v-16.06b-fairsoft_may16p1_root5
Updating 'fieldmaps':
At revision 11694.
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- NOT Found FAIRBASE
-- Setting FairRoot environment...


======================================================================== ===========================================================
2.

/home/somen/cbmsoft/cbmroot/JUN16/field/CbmFieldCreator.cxx: In member function 'virtual FairField* CbmFieldCreator::createFairField()':
/home/somen/cbmsoft/cbmroot/JUN16/field/CbmFieldCreator.cxx:65:25: error: no matching function for call to 'FairField::Print()'
fMagneticField->Print();
^
In file included from /home/somen/cbmsoft/cbmroot/JUN16/field/CbmFieldConst.h:22:0,
from /home/somen/cbmsoft/cbmroot/JUN16/field/CbmFieldCreator.cxx:4:
/home/somen/cbmsoft/cbmroot/fairroot_v-16.06b-fairsoft_may16p1_root5/inc lude/FairField.h:131:19: note: candidate: virtual void FairField::Print(Option_t*) const
virtual void Print(Option_t*) const {;}
^
/home/somen/cbmsoft/cbmroot/fairroot_v-16.06b-fairsoft_may16p1_root5/inc lude/FairField.h:131:19: note: candidate expects 1 argument, 0 provided
field/CMakeFiles/CbmField.dir/build.make:294: recipe for target 'field/CMakeFiles/CbmField.dir/CbmFieldCreator.cxx.o' failed
make[2]: *** [field/CMakeFiles/CbmField.dir/CbmFieldCreator.cxx.o] Error 1
CMakeFiles/Makefile2:1245: recipe for target 'field/CMakeFiles/CbmField.dir/all' failed
make[1]: *** [field/CMakeFiles/CbmField.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

======================================================================== ===========================================================
3.
[ 14%] Building CXX object data/CMakeFiles/CbmData.dir/G__CbmDataDict.cxx.o
/home/somen/cbmsoft/cbmroot/JUN16/build/data/G__CbmDataDict.cxx: In function 'int G__G__CbmDataDict_967_0_16(G__value*, const char*, G__param*, int)':
/home/somen/cbmsoft/cbmroot/JUN16/build/data/G__CbmDataDict.cxx:23344:90 : warning: 'Int_t CbmTofHit::GetRefId() const' is deprecated [-Wdeprecated-declarations]
G__letint(result7, 105, (long) ((const CbmTofHit*) G__getstructoffset())->GetRefId());
^
In file included from /home/somen/cbmsoft/cbmroot/JUN16/build/data/G__CbmDataDict.h:85:0,
from /home/somen/cbmsoft/cbmroot/JUN16/build/data/G__CbmDataDict.cxx:17:
/home/somen/cbmsoft/cbmroot/JUN16/data/tof/CbmTofHit.h:70:9: note: declared here
Int_t GetRefId() const __attribute__ ((deprecated)) { return -1; }
^
[ 15%] Linking CXX shared library ../lib/libCbmData.so
[ 15%] Built target CbmData
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
ln: failed to create symbolic link './field_v12a.root': File exists
ln: failed to create symbolic link './field_v12b.root': File exists
ln: failed to create symbolic link './field_v16a.root': File exists
done installing CbmRoot

. build/config.sh
export SIMPATH=/home/somen/cbmsoft/cbmroot/fairsoft_may16p1_root5/installation
export FAIRROOTPATH=/home/somen/cbmsoft/cbmroot/fairroot_v-16.06b-fairsoft_may1 6p1_root5

======================================================================== =============================================================





Thanking you so much in anticipation.

Somen

Re: Error in installation of CBM ROOT using auto-install command [message #21088 is a reply to message #21085] Wed, 24 May 2017 09:57 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Somen,

I wonder how you come to the versions of CbmRoot, FairRoot, and FairSoft you use in the autoinstall script. Since you try to compile CbmRoot JUN16 release the versions defined in the script are FairSoft nov15p6 and FairRoot v-15.11e. For your compilation you use FairSoft may16p1 and FairRoot v-16.06b which are the versions used for the trunk version of CbmRoot.

The CbmRoot release JUN16 will not work with the latests FairSoft and FairRoot versions. There have been many changes which are incompatible with the CbmRoot release JUN16. Beside the error you encounter already there are many more problems.

Either use

> FairSoft nov15p6 and FairRoot v-15.11e with CbmRoot JUN16

or

> FairSoft may16p1 and FairRoot v-16.06b with CbmRoot trunk

A mixture of both will not work.


Ciao

Florian
Re: Error in installation of CBM ROOT using auto-install command [message #21092 is a reply to message #21088] Wed, 24 May 2017 12:15 Go to previous messageGo to next message
Buddhadeb Bhattacharjee is currently offline  Buddhadeb Bhattacharjee
Messages: 5
Registered: March 2008
Location: Guwahati, India
occasional visitor
From: 14.139.207*
Hi Uhlig,

Thank you for your reply.

I have changed the versions in 'autoinstall_framework.sh' file, which is under the source directory. Earlier I was tried to install the simulation software using default versions(fairtsoft:: nov15p6 and fairroot:: v-15.11e), but error was occurred at the time of fairsoft installation (using command:: autoinstall_framework.sh 1). The error message is given below.


Error message:
======================================================================== =================================
processes for build : 4
Installation Directory: /home/somen/cbmsoft/cbmroot/fairsoft_nov15p6_root5/installation
Found cmake version 3.5.1 which is newer than the
required version 3.1.0 in PATH
This version is okay. Don't install cmake as external package.
*** Unpacking gtest-1.7.0.zip ..............
--E-- Cannot unpack package gtest
done installing FairSoft
======================================================================== ==================================

Thanking you with appreciation.



Somen
Re: Error in installation of CBM ROOT using auto-install command [message #21110 is a reply to message #21092] Sat, 27 May 2017 09:45 Go to previous messageGo to next message
Buddhadeb Bhattacharjee is currently offline  Buddhadeb Bhattacharjee
Messages: 5
Registered: March 2008
Location: Guwahati, India
occasional visitor
From: 14.139.207*

Please someone give the hints to sort out the problem.


Thanking you.





Somen
Re: Error in installation of CBM ROOT using auto-install command [message #21112 is a reply to message #21092] Sat, 27 May 2017 15:17 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *unity-media.net
Hi,

please try to use fairsoft::nov15p6 and fairroot::v-15.11e. fairsoft::nov15p6 is a patch which solves your problem with gtest.

Ciao

Florian
Re: Error in installation of CBM ROOT using auto-install command [message #21154 is a reply to message #21112] Tue, 06 June 2017 09:19 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: 140.181.13*
There was a typo in my last answer. Sorry for that. The correct versions are


fairsoft::nov15p7

and

fairroot::v-15.11e.
Previous Topic: Wrong invariant mass spectra
Next Topic: "tof_sim.C " compilation error
Goto Forum:
  


Current Time: Fri Mar 29 09:55:11 CET 2024

Total time taken to generate the page: 0.00969 seconds