Problems with GEANT4 older versions installation

I wtryto install 11.0.2 version. During make operation there is happening abborting:

[ 4%] No update step for ‘G4NDL’
[ 4%] No patch step for ‘G4NDL’
[ 4%] No configure step for ‘G4NDL’
[ 4%] No build step for ‘G4NDL’
[ 4%] No install step for ‘G4NDL’
[ 4%] Completed ‘G4NDL’
[ 4%] Built target G4NDL
make: *** [Makefile:156: all] Error 2

What’s the problem ?

_Geant4 Version:_11.0.2
_Operating System:_Ubuntu 23.10
_Compiler/Version:_gcc 11.4.0
_CMake Version:_3.27.4


Since there’s no error message, impossible to say. Is there anything printed before what you’ve posted? My suspicion from the output would be a dataset download issue, but we’ll need to whole output to determine that.

There are some error in starting of make operation

In file included from /home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/src/EngineFactory.cc:16:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:46:21: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
46 | using myID_t = std::uint32_t;
| ^~~~~~~~
| wint_t
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:126:27: error: ‘myID_t’ has not been declared
126 | void seed_uniquestream( myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:126:45: error: ‘myID_t’ has not been declared
126 | void seed_uniquestream( myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:126:63: error: ‘myID_t’ has not been declared
126 | void seed_uniquestream( myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:126:77: error: ‘myID_t’ has not been declared
126 | void seed_uniquestream( myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:137:19: error: expected ‘)’ before ‘clusterID’
137 | MixMaxRng(myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID ); // Constructor with four 32-bit seeds
| ~ ^~~~~~~~~~
| )
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:164:57: error: ‘myID_t’ has not been declared
164 | myuint_t apply_bigskip(myuint_t* Vout, myuint_t* Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:164:75: error: ‘myID_t’ has not been declared
164 | myuint_t apply_bigskip(myuint_t* Vout, myuint_t* Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:164:93: error: ‘myID_t’ has not been declared
164 | myuint_t apply_bigskip(myuint_t* Vout, myuint_t* Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:164:107: error: ‘myID_t’ has not been declared
164 | myuint_t apply_bigskip(myuint_t* Vout, myuint_t* Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h: In member function ‘void CLHEP::MixMaxRng::seed64(CLHEP::myuint_t)’:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:138:68: error: ‘myID_t’ was not declared in this scope
138 | inline void seed64(myuint_t seedval) { seed_uniquestream( 0, 0, (myID_t)(seedval>>32), (myID_t)seedval ); } // seed with one 64-bit seed
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:138:98: error: expected ‘)’ before ‘seedval’
138 | inline void seed64(myuint_t seedval) { seed_uniquestream( 0, 0, (myID_t)(seedval>>32), (myID_t)seedval ); } // seed with one 64-bit seed
| ^~~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:138:59: note: to match this ‘(’
138 | inline void seed64(myuint_t seedval) { seed_uniquestream( 0, 0, (myID_t)(seedval>>32), (myID_t)seedval ); } // seed with one 64-bit seed
| ^
– [download 14% complete]
In file included from /home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/src/EngineFactory.cc:20:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h: At global scope:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:56:13: error: ‘uint64_t’ has not been declared
56 | void skip(uint64_t n);
| ^~~~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:94:3: error: ‘uint64_t’ does not name a type
94 | uint64_t nextRandomBits();
| ^~~~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:1:1: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
+++ |+#include
1 | //
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:96:3: error: ‘uint64_t’ does not name a type
96 | uint64_t fState[9]; ///< RANLUX state of the generator
| ^~~~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:96:3: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h: In member function ‘virtual CLHEP::RanluxppEngine::operator unsigned int()’:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:86:59: error: ‘nextRandomBits’ was not declared in this scope
86 | operator unsigned int() override { return (unsigned int)nextRandomBits(); }
| ^~~~~~~~~~~~~~

make[2]: *** [source/externals/clhep/CMakeFiles/G4clhep.dir/build.make:188: source/externals/clhep/CMakeFiles/G4clhep.dir/src/EngineFactory.cc.o] Ошибка 1
make[2]: *** Ожидание завершения заданий…
[ 2%] Building C object source/CMakeFiles/G4zlib.dir/externals/zlib/src/infback.c.o
[ 2%] Building C object source/CMakeFiles/G4zlib.dir/externals/zlib/src/inffast.c.o
[ 2%] Building C object source/CMakeFiles/G4zlib.dir/externals/zlib/src/inftrees.c.o
– [download 5% complete]
– [download 12% complete]
– [download 15% complete]
– [download 21% complete]
[ 2%] Building C object source/CMakeFiles/G4zlib.dir/externals/zlib/src/trees.c.o
– [download 34% complete]
– [download 10% complete]
– [download 62% complete]
[ 2%] Building C object source/CMakeFiles/G4zlib.dir/externals/zlib/src/uncompr.c.o
– [download 1% complete]
– [download 3% complete]
[ 2%] Building C object source/CMakeFiles/G4zlib.dir/externals/zlib/src/zutil.c.o
– [download 1% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4SAIDDATA-2.0/src/G4SAIDDATA.2.0.tar.gz’
– Downloading… done
– [download 46% complete]
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4SAIDDATA-2.0/src/G4SAIDDATA.2.0.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/G4SAIDDATA2.0’
– extracting… [tar xfz]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 2%] No update step for ‘G4SAIDDATA’
– [download 14% complete]
[ 3%] No patch step for ‘G4SAIDDATA’
[ 3%] No configure step for ‘G4SAIDDATA’
[ 3%] No build step for ‘G4SAIDDATA’
– [download 19% complete]
[ 3%] No install step for ‘G4SAIDDATA’
– [download 4% complete]
[ 3%] Completed ‘G4SAIDDATA’
– [download 6% complete]
– [download 50% complete]
– [download 53% complete]
[ 3%] Linking C shared library …/BuildProducts/lib/libG4zlib.so
– [download 56% complete]
[ 3%] Built target G4SAIDDATA
– [download 2% complete]
[ 3%] Built target G4zlib
– [download 62% complete]
– [download 64% complete]
– [download 7% complete]
– [download 25% complete]
– [download 27% complete]
– [download 30% complete]
make[1]: *** [CMakeFiles/Makefile2:2226: source/externals/clhep/CMakeFiles/G4clhep.dir/all] Ошибка 2
make[1]: *** Ожидание завершения заданий…
– [download 36% complete]
– [download 37% complete]
– [download 45% complete]
– [download 32% complete]
– [download 8% complete]
– [download 9% complete]
– [download 3% complete]
– [download 1% complete]
[ 3%] Linking CXX shared library …/…/…/BuildProducts/lib/libG4ptl.so
– [download 81% complete]
– [download 75% complete]
– [download 0% complete]
[ 3%] Built target ptl-shared
– [download 35% complete]
– [download 38% complete]
– [download 90% complete]
– [download 42% complete]
– [download 44% complete]
– [download 10% complete]
– [download 11% complete]
– [download 12% complete]
– [download 4% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4INCL-1.0/src/G4INCL.1.0.tar.gz’
– Downloading… done
– [download 5% complete]
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4INCL-1.0/src/G4INCL.1.0.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/G4INCL1.0’
– extracting… [tar xfz]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4ABLA-3.1/src/G4ABLA.3.1.tar.gz’
– Downloading… done
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 3%] No update step for ‘G4INCL’
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4ABLA-3.1/src/G4ABLA.3.1.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/G4ABLA3.1’
– extracting… [tar xfz]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 3%] No patch step for ‘G4INCL’
– [download 46% complete]
[ 3%] No update step for ‘G4ABLA’
– [download 49% complete]
[ 3%] No configure step for ‘G4INCL’
– [download 50% complete]
[ 3%] No patch step for ‘G4ABLA’
[ 3%] No build step for ‘G4INCL’
[ 3%] No configure step for ‘G4ABLA’
– [download 55% complete]
– [download 13% complete]
[ 3%] No install step for ‘G4INCL’
[ 3%] No build step for ‘G4ABLA’
– [download 15% complete]
[ 3%] Completed ‘G4INCL’
[ 3%] No install step for ‘G4ABLA’
[ 3%] Completed ‘G4ABLA’
– [download 6% complete]
[ 3%] Built target G4INCL
[ 3%] Built target G4ABLA
– [download 7% complete]
– [download 61% complete]
– [download 66% complete]
– [download 17% complete]
– [download 18% complete]
– [download 8% complete]
– [download 20% complete]
– [download 1% complete]
– [download 72% complete]
– [download 21% complete]
– [download 9% complete]
– [download 78% complete]
– [download 23% complete]
– [download 2% complete]
– [download 10% complete]
– [download 83% complete]
– [download 24% complete]
– [download 11% complete]
– [download 89% complete]
– [download 26% complete]
– [download 94% complete]
– [download 27% complete]
– [download 12% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4ENSDFSTATE-2.3/src/G4ENSDFSTATE.2.3.tar.gz’
– Downloading… done
– [download 13% complete]
– [download 29% complete]
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4ENSDFSTATE-2.3/src/G4ENSDFSTATE.2.3.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/G4ENSDFSTATE2.3’
– extracting… [tar xfz]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 3%] No update step for ‘G4ENSDFSTATE’
[ 3%] No patch step for ‘G4ENSDFSTATE’
– [download 30% complete]
[ 3%] No configure step for ‘G4ENSDFSTATE’
[ 3%] No build step for ‘G4ENSDFSTATE’
– [download 14% complete]
[ 3%] No install step for ‘G4ENSDFSTATE’
– [download 32% complete]
[ 3%] Completed ‘G4ENSDFSTATE’
[ 3%] Built target G4ENSDFSTATE
– [download 3% complete]
– [download 34% complete]
– [download 15% complete]
– [download 16% complete]
– [download 35% complete]
– [download 37% complete]
– [download 38% complete]
– [download 17% complete]
– [download 40% complete]
– [download 41% complete]
– [download 18% complete]
– [download 2% complete]
– [download 19% complete]
– [download 43% complete]
– [download 44% complete]
– [download 20% complete]
– [download 46% complete]
– [download 21% complete]
– [download 4% complete]
– [download 47% complete]
– [download 49% complete]
– [download 22% complete]
– [download 51% complete]
– [download 52% complete]
– [download 23% complete]
– [download 54% complete]
– [download 24% complete]
– [download 55% complete]
– [download 57% complete]
– [download 5% complete]
– [download 25% complete]
– [download 26% complete]
– [download 58% complete]
– [download 60% complete]
– [download 61% complete]
– [download 27% complete]
– [download 63% complete]
– [download 28% complete]
– [download 3% complete]
– [download 64% complete]
– [download 29% complete]
– [download 66% complete]
– [download 67% complete]
– [download 30% complete]
– [download 31% complete]
– [download 69% complete]
– [download 6% complete]
– [download 71% complete]
– [download 72% complete]
– [download 32% complete]
– [download 74% complete]
– [download 33% complete]
– [download 75% complete]
– [download 34% complete]
– [download 77% complete]
– [download 78% complete]
– [download 35% complete]
– [download 80% complete]
– [download 4% complete]
– [download 7% complete]
– [download 36% complete]
– [download 81% complete]
– [download 37% complete]
– [download 83% complete]
– [download 38% complete]
– [download 84% complete]
– [download 86% complete]
– [download 88% complete]
– [download 39% complete]
– [download 40% complete]
– [download 89% complete]
– [download 91% complete]
– [download 8% complete]
– [download 92% complete]
– [download 41% complete]
– [download 42% complete]
– [download 94% complete]
– [download 95% complete]
– [download 43% complete]
– [download 97% complete]
– [download 44% complete]
– [download 98% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/RadioactiveDecay-5.6/src/G4RadioactiveDecay.5.6.tar.gz’
– [download 5% complete]
– Downloading… done
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/RadioactiveDecay-5.6/src/G4RadioactiveDecay.5.6.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/RadioactiveDecay5.6’
– extracting… [tar xfz]
– [download 45% complete]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
– [download 46% complete]
[ 3%] No update step for ‘RadioactiveDecay’
[ 3%] No patch step for ‘RadioactiveDecay’
[ 3%] No configure step for ‘RadioactiveDecay’
– [download 1% complete]
[ 3%] No build step for ‘RadioactiveDecay’
[ 3%] No install step for ‘RadioactiveDecay’
[ 3%] Completed ‘RadioactiveDecay’
[ 3%] Built target RadioactiveDecay
– [download 9% complete]
– [download 47% complete]
– [download 48% complete]
– [download 49% complete]
– [download 50% complete]
– [download 10% complete]
– [download 51% complete]
– [download 6% complete]
– [download 52% complete]
– [download 53% complete]
– [download 54% complete]
– [download 55% complete]
– [download 56% complete]
– [download 11% complete]
– [download 57% complete]
– [download 58% complete]
– [download 7% complete]
– [download 59% complete]
– [download 60% complete]
– [download 61% complete]
– [download 62% complete]
– [download 12% complete]
– [download 63% complete]
– [download 64% complete]
– [download 8% complete]
– [download 65% complete]
– [download 66% complete]
– [download 67% complete]
– [download 13% complete]
– [download 68% complete]
– [download 69% complete]
– [download 70% complete]
– [download 9% complete]
– [download 71% complete]
– [download 72% complete]
– [download 73% complete]
– [download 14% complete]
– [download 74% complete]
– [download 75% complete]
– [download 10% complete]
– [download 76% complete]
– [download 77% complete]
– [download 78% complete]
– [download 79% complete]
– [download 15% complete]
– [download 80% complete]
– [download 81% complete]
– [download 82% complete]
– [download 83% complete]
– [download 11% complete]
– [download 84% complete]
– [download 85% complete]
– [download 86% complete]
– [download 87% complete]
– [download 16% complete]
– [download 88% complete]
– [download 89% complete]
– [download 90% complete]
– [download 91% complete]
– [download 12% complete]
– [download 1% complete]
– [download 92% complete]
– [download 93% complete]
– [download 17% complete]
– [download 94% complete]
– [download 95% complete]
– [download 96% complete]
– [download 97% complete]
– [download 98% complete]
– [download 13% complete]
– [download 99% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4PII-1.3/src/G4PII.1.3.tar.gz’
– Downloading… done
– [download 18% complete]
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4PII-1.3/src/G4PII.1.3.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/G4PII1.3’
– extracting… [tar xfz]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 3%] No update step for ‘G4PII’
[ 3%] No patch step for ‘G4PII’
[ 4%] No configure step for ‘G4PII’
[ 4%] No build step for ‘G4PII’
[ 4%] No install step for ‘G4PII’
[ 4%] Completed ‘G4PII’
[ 4%] Built target G4PII
– [download 19% complete]
– [download 14% complete]
– [download 20% complete]
– [download 15% complete]
– [download 16% complete]
– [download 21% complete]
– [download 2% complete]
– [download 22% complete]
– [download 17% complete]
– [download 23% complete]
– [download 18% complete]
– [download 24% complete]
– [download 19% complete]
– [download 25% complete]
– [download 1% complete]
– [download 26% complete]
– [download 20% complete]
– [download 27% complete]
– [download 3% complete]
– [download 21% complete]
– [download 28% complete]
– [download 22% complete]
– [download 29% complete]
– [download 23% complete]
– [download 30% complete]
– [download 4% complete]
– [download 31% complete]
– [download 24% complete]
– [download 32% complete]
– [download 25% complete]
– [download 33% complete]
– [download 26% complete]
– [download 34% complete]
– [download 27% complete]
– [download 35% complete]
– [download 5% complete]
– [download 28% complete]
– [download 36% complete]
– [download 29% complete]
– [download 37% complete]
– [download 30% complete]
– [download 38% complete]
– [download 31% complete]
– [download 39% complete]
– [download 6% complete]
– [download 32% complete]
– [download 40% complete]
– [download 41% complete]
– [download 33% complete]
– [download 34% complete]
– [download 42% complete]
– [download 35% complete]
– [download 43% complete]
– [download 44% complete]
– [download 7% complete]
– [download 36% complete]
– [download 45% complete]
– [download 46% complete]
– [download 37% complete]
– [download 47% complete]
– [download 38% complete]
– [download 39% complete]
– [download 48% complete]
– [download 49% complete]
– [download 40% complete]
– [download 50% complete]
– [download 41% complete]
– [download 8% complete]
– [download 42% complete]
– [download 51% complete]
– [download 43% complete]
– [download 52% complete]
– [download 44% complete]
– [download 45% complete]
– [download 53% complete]
– [download 46% complete]
– [download 54% complete]
– [download 47% complete]
– [download 48% complete]
– [download 9% complete]
– [download 49% complete]
– [download 55% complete]
– [download 50% complete]
– [download 52% complete]
– [download 56% complete]
– [download 2% complete]
– [download 57% complete]
– [download 55% complete]
– [download 56% complete]
– [download 57% complete]
– [download 10% complete]
– [download 58% complete]
– [download 58% complete]
– [download 59% complete]
– [download 60% complete]
– [download 59% complete]
– [download 61% complete]
– [download 64% complete]
– [download 65% complete]
– [download 60% complete]
– [download 11% complete]
– [download 61% complete]
– [download 2% complete]
– [download 66% complete]
– [download 62% complete]
– [download 67% complete]
– [download 68% complete]
– [download 63% complete]
– [download 69% complete]
– [download 70% complete]
– [download 64% complete]
– [download 71% complete]
– [download 72% complete]
– [download 12% complete]
– [download 73% complete]
– [download 65% complete]
– [download 74% complete]
– [download 75% complete]
– [download 66% complete]
– [download 76% complete]
– [download 77% complete]
– [download 78% complete]
– [download 13% complete]
– [download 67% complete]
– [download 68% complete]
– [download 80% complete]
– [download 81% complete]
– [download 69% complete]
– [download 82% complete]
– [download 83% complete]
– [download 84% complete]
– [download 85% complete]
– [download 70% complete]
– [download 86% complete]
– [download 87% complete]
– [download 71% complete]
– [download 14% complete]
– [download 88% complete]
– [download 89% complete]
– [download 72% complete]
– [download 90% complete]
– [download 91% complete]
– [download 92% complete]
– [download 93% complete]
– [download 73% complete]
– [download 94% complete]
– [download 95% complete]
– [download 15% complete]
– [download 96% complete]
– [download 74% complete]
– [download 97% complete]
– [download 98% complete]
– [download 75% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4PARTICLEXS-4.0/src/G4PARTICLEXS.4.0.tar.gz’
– Downloading… done
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4PARTICLEXS-4.0/src/G4PARTICLEXS.4.0.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/G4PARTICLEXS4.0’
– extracting… [tar xfz]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 4%] No update step for ‘G4PARTICLEXS’
[ 4%] No patch step for ‘G4PARTICLEXS’
[ 4%] No configure step for ‘G4PARTICLEXS’
[ 4%] No build step for ‘G4PARTICLEXS’
[ 4%] No install step for ‘G4PARTICLEXS’
[ 4%] Completed ‘G4PARTICLEXS’
[ 4%] Built target G4PARTICLEXS
– [download 76% complete]
– [download 16% complete]
– [download 77% complete]
– [download 78% complete]
– [download 3% complete]
– [download 79% complete]
– [download 17% complete]
– [download 80% complete]
– [download 81% complete]
– [download 18% complete]
– [download 82% complete]
– [download 83% complete]
– [download 84% complete]
– [download 19% complete]
– [download 85% complete]
– [download 86% complete]
– [download 87% complete]
– [download 88% complete]
– [download 20% complete]
– [download 89% complete]
– [download 90% complete]
– [download 91% complete]
– [download 21% complete]
– [download 92% complete]
– [download 4% complete]
– [download 93% complete]
– [download 94% complete]
– [download 22% complete]
– [download 95% complete]
– [download 96% complete]
– [download 97% complete]
– [download 23% complete]
– [download 98% complete]
– [download 99% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/PhotonEvaporation-5.7/src/G4PhotonEvaporation.5.7.tar.gz’
– Downloading… done
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/PhotonEvaporation-5.7/src/G4PhotonEvaporation.5.7.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/PhotonEvaporation5.7’
– extracting… [tar xfz]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 4%] No update step for ‘PhotonEvaporation’
[ 4%] No patch step for ‘PhotonEvaporation’
[ 4%] No configure step for ‘PhotonEvaporation’
[ 4%] No build step for ‘PhotonEvaporation’
[ 4%] No install step for ‘PhotonEvaporation’
[ 4%] Completed ‘PhotonEvaporation’
[ 4%] Built target PhotonEvaporation
– [download 24% complete]
– [download 3% complete]
– [download 25% complete]
– [download 5% complete]
– [download 26% complete]
– [download 27% complete]
– [download 4% complete]
– [download 28% complete]
– [download 29% complete]
– [download 6% complete]
– [download 30% complete]
– [download 31% complete]
– [download 5% complete]
– [download 32% complete]
– [download 33% complete]
– [download 7% complete]
– [download 34% complete]
– [download 35% complete]
– [download 6% complete]
– [download 36% complete]
– [download 8% complete]
– [download 37% complete]
– [download 38% complete]
– [download 7% complete]
– [download 39% complete]
– [download 40% complete]
– [download 9% complete]
– [download 8% complete]
– [download 41% complete]
– [download 42% complete]
– [download 9% complete]
– [download 43% complete]
– [download 44% complete]
– [download 10% complete]
– [download 45% complete]
– [download 10% complete]
– [download 46% complete]
– [download 47% complete]
– [download 11% complete]
– [download 48% complete]
– [download 11% complete]
– [download 49% complete]
– [download 50% complete]
– [download 12% complete]
– [download 51% complete]
– [download 52% complete]
– [download 12% complete]
– [download 53% complete]
– [download 13% complete]
– [download 54% complete]
– [download 13% complete]
– [download 55% complete]
– [download 14% complete]
– [download 56% complete]
– [download 57% complete]
– [download 14% complete]
– [download 58% complete]
– [download 15% complete]
– [download 59% complete]
– [download 60% complete]
– [download 16% complete]
– [download 15% complete]
– [download 61% complete]
– [download 62% complete]
– [download 17% complete]
– [download 63% complete]
– [download 16% complete]
– [download 18% complete]
– [download 64% complete]
– [download 65% complete]
– [download 19% complete]
– [download 66% complete]
– [download 17% complete]
– [download 67% complete]
– [download 20% complete]
– [download 68% complete]
– [download 69% complete]
– [download 18% complete]
– [download 21% complete]
– [download 70% complete]
– [download 71% complete]
– [download 72% complete]
– [download 73% complete]
– [download 74% complete]
– [download 22% complete]
– [download 75% complete]
– [download 19% complete]
– [download 76% complete]
– [download 77% complete]
– [download 78% complete]
– [download 79% complete]
– [download 23% complete]
– [download 80% complete]
– [download 81% complete]
– [download 82% complete]
– [download 20% complete]
– [download 83% complete]
– [download 24% complete]
– [download 84% complete]
– [download 85% complete]
– [download 25% complete]
– [download 86% complete]
– [download 87% complete]
– [download 26% complete]
– [download 88% complete]
– [download 27% complete]
– [download 89% complete]
– [download 28% complete]
– [download 90% complete]
– [download 21% complete]
– [download 29% complete]
– [download 91% complete]
– [download 30% complete]
– [download 92% complete]
– [download 31% complete]
– [download 93% complete]
– [download 94% complete]
– [download 32% complete]
– [download 22% complete]
– [download 95% complete]
– [download 33% complete]
– [download 96% complete]
– [download 97% complete]
– [download 34% complete]
– [download 98% complete]
– [download 99% complete]
– [download 35% complete]
– [download 23% complete]
– [download 36% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/RealSurface-2.2/src/G4RealSurface.2.2.tar.gz’
– Downloading… done
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/RealSurface-2.2/src/G4RealSurface.2.2.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/RealSurface2.2’
– extracting… [tar xfz]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
– [download 37% complete]
[ 4%] No update step for ‘RealSurface’
[ 4%] No patch step for ‘RealSurface’
[ 4%] No configure step for ‘RealSurface’
[ 4%] No build step for ‘RealSurface’
[ 4%] No install step for ‘RealSurface’
[ 4%] Completed ‘RealSurface’
[ 4%] Built target RealSurface
– [download 38% complete]
– [download 39% complete]
– [download 24% complete]
– [download 40% complete]
– [download 41% complete]
– [download 25% complete]
– [download 42% complete]
– [download 26% complete]
– [download 43% complete]
– [download 27% complete]
– [download 44% complete]
– [download 28% complete]
– [download 45% complete]
– [download 29% complete]
– [download 46% complete]
– [download 30% complete]
– [download 47% complete]
– [download 31% complete]
– [download 48% complete]
– [download 32% complete]
– [download 49% complete]
– [download 33% complete]
– [download 50% complete]
– [download 51% complete]
– [download 34% complete]
– [download 52% complete]
– [download 53% complete]
– [download 35% complete]
– [download 54% complete]
– [download 55% complete]
– [download 56% complete]
– [download 36% complete]
– [download 57% complete]
– [download 58% complete]
– [download 59% complete]
– [download 60% complete]
– [download 61% complete]
– [download 37% complete]
– [download 62% complete]
– [download 63% complete]
– [download 64% complete]
– [download 65% complete]
– [download 66% complete]
– [download 38% complete]
– [download 67% complete]
– [download 68% complete]
– [download 69% complete]
– [download 39% complete]
– [download 70% complete]
– [download 71% complete]
– [download 40% complete]
– [download 72% complete]
– [download 73% complete]
– [download 41% complete]
– [download 74% complete]
– [download 42% complete]
– [download 75% complete]
– [download 43% complete]
– [download 76% complete]
– [download 44% complete]
– [download 77% complete]
– [download 78% complete]
– [download 45% complete]
– [download 79% complete]
– [download 80% complete]
– [download 81% complete]
– [download 46% complete]
– [download 82% complete]
– [download 83% complete]
– [download 84% complete]
– [download 47% complete]
– [download 85% complete]
– [download 86% complete]
– [download 87% complete]
– [download 88% complete]
– [download 48% complete]
– [download 89% complete]
– [download 90% complete]
– [download 49% complete]
– [download 91% complete]
– [download 92% complete]
– [download 93% complete]
– [download 50% complete]
– [download 94% complete]
– [download 95% complete]
– [download 51% complete]
– [download 96% complete]
– [download 52% complete]
– [download 53% complete]
– [download 97% complete]
– [download 54% complete]
– [download 98% complete]
– [download 55% complete]
– [download 99% complete]
– [download 56% complete]
– [download 57% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4EMLOW-8.0/src/G4EMLOW.8.0.tar.gz’
– Downloading… done
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4EMLOW-8.0/src/G4EMLOW.8.0.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/G4EMLOW8.0’
– extracting… [tar xfz]
– [download 58% complete]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 4%] No update step for ‘G4EMLOW’
[ 4%] No patch step for ‘G4EMLOW’
[ 4%] No configure step for ‘G4EMLOW’
[ 4%] No build step for ‘G4EMLOW’
[ 4%] No install step for ‘G4EMLOW’
[ 4%] Completed ‘G4EMLOW’
[ 4%] Built target G4EMLOW
– [download 59% complete]
– [download 60% complete]
– [download 61% complete]
– [download 62% complete]
– [download 63% complete]
– [download 64% complete]
– [download 65% complete]
– [download 66% complete]
– [download 67% complete]
– [download 68% complete]
– [download 69% complete]
– [download 70% complete]
– [download 71% complete]
– [download 72% complete]
– [download 73% complete]
– [download 74% complete]
– [download 75% complete]
– [download 76% complete]
– [download 77% complete]
– [download 78% complete]
– [download 79% complete]
– [download 80% complete]
– [download 81% complete]
– [download 82% complete]
– [download 83% complete]
– [download 84% complete]
– [download 85% complete]
– [download 86% complete]
– [download 87% complete]
– [download 88% complete]
– [download 89% complete]
– [download 90% complete]
– [download 91% complete]
– [download 92% complete]
– [download 93% complete]
– [download 94% complete]
– [download 95% complete]
– [download 96% complete]
– [download 97% complete]
– [download 98% complete]
– [download 99% complete]
– [download 100% complete]
– verifying file…
file=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4NDL-4.6/src/G4NDL.4.6.tar.gz’
– Downloading… done
– extracting…
src=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/Externals/G4NDL-4.6/src/G4NDL.4.6.tar.gz’
dst=‘/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build/data/G4NDL4.6’
– extracting… [tar xfz]
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 4%] No update step for ‘G4NDL’
[ 4%] No patch step for ‘G4NDL’
[ 4%] No configure step for ‘G4NDL’
[ 4%] No build step for ‘G4NDL’
[ 4%] No install step for ‘G4NDL’
[ 4%] Completed ‘G4NDL’
[ 4%] Built target G4NDL
make: *** [Makefile:156: all] Error 2

A) It looks to me like you invoked make -j <something> with a number larger than 1 (make -j 4, make -j 20, something). So you had a whole bunch of parallel threads all going at once, and all of their output is mixed together.

That final “make: Error 2” means that one of your build threads failed with an error. The place where it failed will be somewhere in your log file, probably back in those compiler errors you showed. But the error has nothing to do with the successful downloads of all the datasets (G4NDL etc.).

Easiest way to isolate it is to run again, but this time explicitly use just a single thread: make -j 1. Now it’ll compile each file sequentially (skipping everything that was successfully on your first try). You’ll get whatever errors you got before, and then the build will stop right there. That’ll make it much easier to see the problem, and maybe figure out what it is.

I’d suggest following @mkelsey’s idea, and extend this to run as:

make -j1 VERBOSE=1

That will isolate the first error and give the full compile command. That may be long, but please post it here. The error here:

suggests something odd. Geant4 11.1.1 and 11.0.2 (please be clearer about which version you are building) build fine on Alma9 linux with GCC 11.4, so something is wrong on the system, Ubuntu has some patch to GCC not on Alma, or the code has been modified in some way.

I did as you suggest. Here are the errors:

/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:46:21: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
46 | using myID_t = std::uint32_t;
| ^~~~~~~~
| wint_t
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:126:27: error: ‘myID_t’ has not been declared
126 | void seed_uniquestream( myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:126:45: error: ‘myID_t’ has not been declared
126 | void seed_uniquestream( myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:126:63: error: ‘myID_t’ has not been declared
126 | void seed_uniquestream( myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:126:77: error: ‘myID_t’ has not been declared
126 | void seed_uniquestream( myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:137:19: error: expected ‘)’ before ‘clusterID’
137 | MixMaxRng(myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID ); // Constructor with four 32-bit seeds
| ~ ^~~~~~~~~~
| )
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:164:57: error: ‘myID_t’ has not been declared
164 | myuint_t apply_bigskip(myuint_t* Vout, myuint_t* Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:164:75: error: ‘myID_t’ has not been declared
164 | myuint_t apply_bigskip(myuint_t* Vout, myuint_t* Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:164:93: error: ‘myID_t’ has not been declared
164 | myuint_t apply_bigskip(myuint_t* Vout, myuint_t* Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:164:107: error: ‘myID_t’ has not been declared
164 | myuint_t apply_bigskip(myuint_t* Vout, myuint_t* Vin, myID_t clusterID, myID_t machineID, myID_t runID, myID_t streamID );
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h: In member function ‘void CLHEP::MixMaxRng::seed64(CLHEP::myuint_t)’:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:138:68: error: ‘myID_t’ was not declared in this scope
138 | inline void seed64(myuint_t seedval) { seed_uniquestream( 0, 0, (myID_t)(seedval>>32), (myID_t)seedval ); } // seed with one 64-bit seed
| ^~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:138:98: error: expected ‘)’ before ‘seedval’
138 | inline void seed64(myuint_t seedval) { seed_uniquestream( 0, 0, (myID_t)(seedval>>32), (myID_t)seedval ); } // seed with one 64-bit seed
| ^~~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:138:59: note: to match this ‘(’
138 | inline void seed64(myuint_t seedval) { seed_uniquestream( 0, 0, (myID_t)(seedval>>32), (myID_t)seedval ); } // seed with one 64-bit seed
| ^
In file included from /home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/src/EngineFactory.cc:20:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h: At global scope:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:56:13: error: ‘uint64_t’ has not been declared
56 | void skip(uint64_t n);
| ^~~~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:94:3: error: ‘uint64_t’ does not name a type
94 | uint64_t nextRandomBits();
| ^~~~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:1:1: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
+++ |+#include
1 | //
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:96:3: error: ‘uint64_t’ does not name a type
96 | uint64_t fState[9]; ///< RANLUX state of the generator
| ^~~~~~~~
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:96:3: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’?
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h: In member function ‘virtual CLHEP::RanluxppEngine::operator unsigned int()’:
/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/RanluxppEngine.h:86:59: error: ‘nextRandomBits’ was not declared in this scope
86 | operator unsigned int() override { return (unsigned int)nextRandomBits(); }
| ^~~~~~~~~~~~~~
make[2]: *** [source/externals/clhep/CMakeFiles/G4clhep.dir/build.make:188: source/externals/clhep/CMakeFiles/G4clhep.dir/src/EngineFactory.cc.o] Ошибка 1
make[2]: выход из каталога «/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build»
make[1]: *** [CMakeFiles/Makefile2:2226: source/externals/clhep/CMakeFiles/G4clhep.dir/all] Ошибка 2
make[1]: выход из каталога «/home/maxwell/Документы/GEANT4/geant4-v11.1.1-build»
make: *** [Makefile:156: all] Error 2

Please, run and post

$ make -j1 VERBOSE=1
... copy and post EVERYTHING from the line above ...
$
... to the line above where you get the prompt back...

We need to see everything not just the errors, but the lines which show the compile command (i.e. something like `/usr/bin/g++ …lots of output…)

Also, how did you invoke CMake and with what arguments?

This line of code:

/home/maxwell/Документы/GEANT4/geant4-v11.1.1/source/externals/clhep/include/CLHEP/Random/MixMaxRng.h:46:21: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
46 | using myID_t = std::uint32_t;

does not correspond to the source distributed in release 11.1.1 of Geant4, but rather to an older version of the code.
Those compilation errors are fixed in release 11.1.1 (as in CLHEP-2.4.6.2).
Please, verify that the version of the code you’re compiling is indeed 11.1 instead of an older version (in MixMax.h you should have #include <cstdint> at line #37).

1 Like

Do you mean this ?

cmake -DCMAKE_INSTALL_PREFIX=…/geant4-v11.1.1-install …/geant4-v11.1.1 -DGEANT4_INSTALL_DATA=ON -DGEANT4_BUILD_MULTITHREADED=OFF
– Checking C++ feature CXXSTDLIB_FILESYSTEM_NATIVE - Success
– Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version “2.5.0”)
– Configuring download of missing dataset G4NDL (4.6)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset G4EMLOW (8.0)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset PhotonEvaporation (5.7)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset RadioactiveDecay (5.6)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset G4PARTICLEXS (4.0)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset G4PII (1.3)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset RealSurface (2.2)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset G4SAIDDATA (2.0)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset G4ABLA (3.1)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset G4INCL (1.0)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring download of missing dataset G4ENSDFSTATE (2.3)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy’s OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
cmake/Modules/G4InstallData.cmake:408 (ExternalProject_Add)
cmake/Modules/G4InstallData.cmake:309 (geant4_install_dataset)
cmake/Modules/G4InstallData.cmake:483 (geant4_configure_datasets)
cmake/Modules/G4CMakeMain.cmake:67 (include)
CMakeLists.txt:50 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

– Looking for sys/types.h
– Looking for sys/types.h - found
– Looking for stdint.h
– Looking for stdint.h - found
– Looking for stddef.h
– Looking for stddef.h - found
– Check size of off64_t
– Check size of off64_t - done
– Looking for fseeko
– Looking for fseeko - found
– Looking for unistd.h
– Looking for unistd.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– The following Geant4 features are enabled:
CMAKE_CXX_STANDARD: Compiling against C++ Standard ‘17’
GEANT4_USE_SYSTEM_EXPAT: Using system EXPAT library

– Configuring done (1.1s)
– Generating done (0.2s)
– Build files have been written to: /home/maxwell/Документы/GEANT4/geant4-v11.1.1-build

maxwell@maxwell-System-Version:~/Документы/GEANT4/geant4-v11.1.1-build$ make -j1 VERBOSE=1

Yes, but see @gcosmo’s comment above.

Are you sure this is v11.1.1? the file should read as in:

and line 46 should not read as reported as in that message. I’d suggest you delete this source directory and re-download and unpack the tarball from here:

Yes the version is 11.0.2. I just forget change the name of folder. Is it problem ?

Upgrade to 11.1 or later then!

1 Like

Yes, @gcosmo’s solution is the only one here.

The problem is that 11.1 or later versions calculate the same code three times longer than 11.0.2. And it’s not clear why. That’s why I want use version elder than 11.1.

Also possible something has been mixed up between different installations. You could run a conda environment that specifically runs the version you want to use and then just activate that conda environment. Uninstalling that version would mean just deleting the conda environment.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.