GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » Fresh Installation does not work
Fresh Installation does not work [message #19406] Tue, 09 August 2016 11:34 Go to next message
Oleg is currently offline  Oleg
Messages: 19
Registered: August 2016
Location: GSI
occasional visitor
From: *gsi.de
I tried to install R3BRoot on GSI PC lxg0898, with Garfied support.
It worked up to the last make:

[100%] Generating G__R3BMacroCompilerDict.cxx, G__R3BMacroCompilerDict_rdict.pcm, ../lib/libR3BMacroCompiler.rootmap
Scanning dependencies of target R3BMacroCompiler
[100%] Building CXX object compilehelper/CMakeFiles/R3BMacroCompiler.dir/R3BMacroCompiler.cxx.o
[100%] Building CXX object compilehelper/CMakeFiles/R3BMacroCompiler.dir/G__R3BMacroCompilerDict.cx x.o
Linking CXX shared library ../lib/libR3BMacroCompiler.so
[100%] Built target R3BMacroCompiler
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/include/R3BModule.h
CMake Error at r3bbase/cmake_install.cmake:36 (FILE):
file INSTALL cannot copy file
"/d/land2/kisselev/R3BRoot/r3bbase/R3BModule.h" to
"/usr/local/include/R3BModule.h".
Call Stack (most recent call first):
cmake_install.cmake:37 (INCLUDE)


make: *** [install] Error 1

Any idea what is a problem?

Regards, Oleg.
Re: Fresh Installation does not work [message #19408 is a reply to message #19406] Tue, 09 August 2016 13:09 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *dyn.telefonica.de
Do you call "make install"? It is not needed for R3BRoot and will not work. Just "make". The problem is that the default installation path is /usr/local, and you do not have write permissions to it.

Regards,
Dima
Re: Fresh Installation does not work [message #19409 is a reply to message #19408] Tue, 09 August 2016 13:29 Go to previous messageGo to next message
Oleg is currently offline  Oleg
Messages: 19
Registered: August 2016
Location: GSI
occasional visitor
From: *gsi.de
Hi,

OK, I used finally the installation of garfield that Hans made for the whole R3B group at /u/land/htt/garfield

The R3BRoot compiled with it.

Something is still wrong. The first trial to run:
root -l r3bsim.C
at /d/land2/kisselev/R3BRoot/macros/r3b/actar
crashed:

Processing r3bsim.C...
In file included from input_line_9:1:
In file included from /d/land2/kisselev/R3BRoot/macros/r3b/actar/r3bsim.C:17:
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:70:3: error: unknown type name 'FairRunSim'
FairRunSim* run = new FairRunSim();
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:70:25: error: unknown type name 'FairRunSim'
FairRunSim* run = new FairRunSim();
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:73:3: error: unknown type name 'FairRuntimeDb'
FairRuntimeDb* rtdb = run->GetRuntimeDb();
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:109:3: error: unknown type name 'FairModule'
FairModule* cave= new R3BCave("CAVE");
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:109:25: error: unknown type name 'R3BCave'
FairModule* cave= new R3BCave("CAVE");
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:115:5: error: unknown type name 'R3BModule'
R3BModule* target= new R3BTarget(Target.Data());
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:115:28: error: unknown type name 'R3BTarget'
R3BModule* target= new R3BTarget(Target.Data());
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:122:5: error: unknown type name 'R3BModule'
R3BModule* vesselcool= new R3BVacVesselCool(Target.Data());
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:122:32: error: unknown type name 'R3BVacVesselCool'
R3BModule* vesselcool= new R3BVacVesselCool(Target.Data());
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:130:5: error: unknown type name 'R3BModule'
R3BModule* mag = new R3BMagnet("AladinMagnet");
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:130:26: error: unknown type name 'R3BMagnet'
R3BModule* mag = new R3BMagnet("AladinMagnet");
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:138:5: error: unknown type name 'R3BModule'
R3BModule* mag = new R3BGladMagnet("GladMagnet");
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:138:26: error: unknown type name 'R3BGladMagnet'
R3BModule* mag = new R3BGladMagnet("GladMagnet");
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:145:5: error: unknown type name 'R3BDetector'
R3BDetector* xball = new R3BXBall("XBall", kTRUE);
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:145:30: error: unknown type name 'R3BXBall'
R3BDetector* xball = new R3BXBall("XBall", kTRUE);
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:152:5: error: unknown type name 'R3BDetector'
R3BDetector* calo = new R3BCalo("Califa", kTRUE);
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:152:29: error: unknown type name 'R3BCalo'
R3BDetector* calo = new R3BCalo("Califa", kTRUE);
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:153:7: error: use of undeclared identifier 'R3BCalo'
((R3BCalo *)calo)->SelectGeometryVersion(10);
^
/d/land2/kisselev/R3BRoot/macros/r3b/actar/r3ball.C:153:16: error: expected expression
((R3BCalo *)calo)->SelectGeometryVersion(10);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

Re: Fresh Installation does not work [message #19412 is a reply to message #19409] Tue, 09 August 2016 13:45 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *dyn.telefonica.de
Dear Oleg,

have you configured your shell before running the ROOT macro?

cd YOUR_R3BROOT_BUILD_DIRECTORY
. ./config.sh


Then go to macros/r3b/actar folder and run the macro.

If you did so, post here the output of:

echo $LD_LIBRARY_PATH


Best regards,
Dima
Re: Fresh Installation does not work [message #19413 is a reply to message #19412] Tue, 09 August 2016 14:04 Go to previous message
Oleg is currently offline  Oleg
Messages: 19
Registered: August 2016
Location: GSI
occasional visitor
From: *gsi.de
Hi Dima,

actually I did and saw:
System during compilation: Debian GNU/Linux 7.11 (wheezy)
x86_64
System now : Debian GNU/Linux 7.11 (wheezy)
x86_64

echo $LD_LIBRARY_PATH
/d/land2/kisselev/R3BRoot/build/lib:/u/land/htt/garfield/install/lib:/cv mfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-16.06_fairsoft-may16_root6/lib: /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/may16_root6/lib/root:/cvmfs/it .gsi.de/compiler/gcc/4.8.4/lib64:/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairso ft/may16_root6/lib/root:/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/may16_ root6/lib

Now I did again the:
cd /d/land2/kisselev/R3BRoot/build
. ./config.sh

echo $LD_LIBRARY_PATH
/d/land2/kisselev/R3BRoot/build/lib:/u/land/htt/garfield/install/lib:/cv mfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-16.06_fairsoft-may16_root6/lib: /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/may16_root6/lib/root:/cvmfs/it .gsi.de/compiler/gcc/4.8.4/lib64:/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairso ft/may16_root6/lib/root:/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/may16_ root6/lib

and it seems to be working. No idea why...

Oleg.
Previous Topic: Garfield++ installation
Next Topic: Installation fails
Goto Forum:
  


Current Time: Mon Nov 25 19:16:42 CET 2024

Total time taken to generate the page: 0.00624 seconds