I found at least 2 issues when building new Geant4 9.5 version: 1. In cmake/Templates/geant4-env.sh.in shebang macro is misused, which makes bin/geant4.sh unusable. It reads #!@GEANT4_TC_SHELL_PROGRAM and should read #!@GEANT4_TC_SHELL_PROGRAM@ 2. share/Geant4/geant4make/geant4make.sh does not set PATH for home projects, so i put it in my .bash_profile: export PATH=$PATH:$G4WORKDIR/bin/$G4SYSTEM It would be nice if geant4make.sh sets it itself. There are some other issues, for example i set (using ccmake interface) that i want examples to be installed, but they were not installed. And looks like there is no possibility to install sources whereas it was possible in previous versions.
Items 1 and 2 are fixed as of revision 55803 (tag cmake-V09-05-00). Note that geant4.(c)sh *should* still be usable as they are intended to be sourced (so the use of shbang is arguable anyway), and in that case the shbang should be ignored. Regarding the other issues, GEANT4_INSTALL_EXAMPLES only install the example source code, as per the documentation. At present, there are no plans to install the Geant4 sources themselves.