Make install Error in geant4-v11.1.0 on Ubuntu 22.04

Hi Experts I am installing geant4-v11.1.0 on Ubuntu 22. make goes well but getting error for make install

asir@yasir-X270:~/Downloads/GEANT4/geant4-v11.1.0/build$ make install
[ 0%] Built target G4NDL
[ 0%] Built target G4EMLOW
[ 1%] Built target PhotonEvaporation
[ 1%] Built target RadioactiveDecay
[ 1%] Built target G4PARTICLEXS
[ 2%] Built target G4PII
[ 2%] Built target RealSurface
[ 2%] Built target G4SAIDDATA
[ 2%] Built target G4ABLA
[ 2%] Built target G4INCL
[ 2%] Built target G4ENSDFSTATE
Consolidate compiler generated dependencies of target ptl-shared
[ 2%] Built target ptl-shared
Consolidate compiler generated dependencies of target G4clhep
[ 4%] Built target G4clhep
Consolidate compiler generated dependencies of target G4global
[ 5%] Built target G4global
Consolidate compiler generated dependencies of target G4intercoms
[ 6%] Built target G4intercoms
Consolidate compiler generated dependencies of target G4zlib
[ 6%] Built target G4zlib
Consolidate compiler generated dependencies of target G4analysis
[ 8%] Built target G4analysis
Consolidate compiler generated dependencies of target G4graphics_reps
[ 9%] Built target G4graphics_reps
Consolidate compiler generated dependencies of target G4materials
[ 10%] Built target G4materials
Consolidate compiler generated dependencies of target G4geometry
[ 18%] Built target G4geometry
Consolidate compiler generated dependencies of target G4particles
[ 24%] Built target G4particles
Consolidate compiler generated dependencies of target G4track
[ 24%] Built target G4track
Consolidate compiler generated dependencies of target G4digits_hits
[ 27%] Built target G4digits_hits
Consolidate compiler generated dependencies of target G4processes
[ 79%] Built target G4processes
Consolidate compiler generated dependencies of target G4tracking
[ 80%] Built target G4tracking
Consolidate compiler generated dependencies of target G4event
[ 81%] Built target G4event
Consolidate compiler generated dependencies of target G4run
[ 83%] Built target G4run
Consolidate compiler generated dependencies of target G4error_propagation
[ 84%] Built target G4error_propagation
[ 84%] Automatic MOC for target G4interfaces
[ 84%] Built target G4interfaces_autogen
Consolidate compiler generated dependencies of target G4interfaces
[ 84%] Built target G4interfaces
Consolidate compiler generated dependencies of target G4parmodels
[ 84%] Built target G4parmodels
Consolidate compiler generated dependencies of target G4persistency
[ 87%] Built target G4persistency
Consolidate compiler generated dependencies of target G4physicslists
[ 93%] Built target G4physicslists
Consolidate compiler generated dependencies of target G4readout
[ 93%] Built target G4readout
Consolidate compiler generated dependencies of target G4modeling
[ 95%] Built target G4modeling
Consolidate compiler generated dependencies of target G4vis_management
[ 96%] Built target G4vis_management
Consolidate compiler generated dependencies of target G4FR
[ 96%] Built target G4FR
Consolidate compiler generated dependencies of target G4visHepRep
[ 96%] Built target G4visHepRep
Consolidate compiler generated dependencies of target G4RayTracer
[ 96%] Built target G4RayTracer
Consolidate compiler generated dependencies of target G4Tree
[ 96%] Built target G4Tree
Consolidate compiler generated dependencies of target G4VRML
[ 96%] Built target G4VRML
Consolidate compiler generated dependencies of target G4GMocren
[ 97%] Built target G4GMocren
[ 97%] Automatic MOC for target G4ToolsSG
[ 97%] Built target G4ToolsSG_autogen
Consolidate compiler generated dependencies of target G4ToolsSG
[ 98%] Built target G4ToolsSG
[ 98%] Automatic MOC for target G4OpenGL
[ 98%] Built target G4OpenGL_autogen
Consolidate compiler generated dependencies of target G4OpenGL
[100%] Built target G4OpenGL
Install the project…
– Install configuration: “Release”
– Installing: /usr/local/share/Geant4/data/G4NDL4.7
CMake Error at cmake_install.cmake:54 (file):
file INSTALL cannot make directory “/usr/local/share/Geant4/data/G4NDL4.7”:
No such file or directory.

Please suggest a solution
Thanks

Does your account have write permissions for /usr/local?

Hello, I am having a hash mismatch error for G4NDL4.7.
I saw in some previous posts that it appeared due to some server changes most likely…

I don’t think that’s relevant to the reported problem as the error was happening at the install stage, which would not have been possible had the G4NDL download failed in the build stage.

I’ve checked and there’s no change to the hash of the G4NDL4.7 tarball, so I suspect in your case something went wrong in the connection/download leading to the hash mismatch.

Hello, on a different machine, with the same ubuntu, version the installation went on smoothly.
Thanks.

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