Hello all!
I was trying to locally install GEANT4 10.6 on Scientific Linux but i have faced a weird issue while building the software…
I have the same problem that is shown here: Error when making geant4. I installed gcc version 8.2 locally (i don’t have any root privileges on my server )
The default version of my gcc was 4.8.2 which is far below the required version. I already set up (locally) gcc 8.2, in fact when typing gcc --version
in the terminal the output is gcc 8.2.0
, as expected.
However, i don’t get it why the older version is used during the building process…
I would like trying to tell my system to use gcc 8.2 instead of looking and older version of GEANT4 that allows a version <=4.8.2. If you guys have some advises to share, i will appreciate them all.
the flags i used were:
cmake -DCMAKE_INSTALL_PREFIX=/emph/app/ydeniz/GEANT4/geant4.10.6/geant4.10.06-install /emph/app/ydeniz/GEANT4/geant4.10.6/geant4.10.06.p02
cmake -DGEANT4_INSTALL_DATA=ON .
make -j1 VERBOSE=1
i attach a section of the output of the building process that got the errorproblemsbulding.txt (5.0 KB)