CMake error during installation Ubuntu 23.10

Good afternoon. I am trying to install geant4 (version 11.1.3 ) via ccmake. But the following error pops up:

cmake -E tar: warning: unknown warning
cmake -E tar: warning: unknown warning
cmake -E tar: warning: unknown warning
cmake -E tar: warning: unknown warning
cmake -E tar: warning: unknown warning
cmake -E tar: warning: unknown warning
CMake Error: Problem with archive_write_header(): Can’t create ‘G4NDL4.7/Elastic’
CMake Error: Current file: G4NDL4.7/Elastic/
CMake Error: Problem extracting tar: /home/montarou/sofware/geant4-v11.1.3/build/Extarnals/G4NDL-4.7/src/G4NDL.4.tar.gz
CMake Error at /home/montarou/sofware/geant4-v11.1.3/build/Extarnals/G4NDL-4.7/src/G4NDL-stamp/extract-G4NDL.cmake:40 (message)
Extract of
‘/home/montarou/sofware/geant4-v11.1.3/build/Extarnals/G4NDL-4.7/src/G4NDL.4.tar.gz’
failed

make[2]: *** [CMakeFiles/G4NDL.dir/build.make:101 : Externals/G4NDL-4.7/src/G4NDL-stamp/G4NDL-download] erreur 1
make[1]: *** [CMakeFiles/Makefile2/925 : CMakeFiles/G4NDL.dir/all] Erreur 2
make[1]: *** [Attente des tâches non terminées…

Geant4-v11.1.3
OS Linux Ubuntu23.10
gcc 13.2.0
ccmake 3.27.4

did somebody experienced same error

gerard

I’d suspect that the G4NDL.4.7.tar.gz file was only partially downloaded. You can check to see if the file /home/montarou/sofware/geant4-v11.1.3/build/Externals/G4NDL-4.7/src/G4NDL.4.7.tar.gz is present, and if so that running md5sum on it produces:

$ md5sum G4NDL.4.7.tar.gz 
b001a2091bf9392e6833830347672ea2  G4NDL.4.7.tar.gz

If that hash doesn’t match, then you you can try deleting the file and rebuilding.

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