Hi there, The reason I am doing it this way is because I have written a small script (for use within my research group) that installs CLHEP and GEANT4 automatically. Hence I would like to have a method of installing without having to go through the process of answering the questions. Also, is there a good reason why the version numbers are left off the default directories for the PhotonEvaporation and Radioactive data libraries, whereas they are present for the low energy electromagnetic and neutron libraries? Another question I have regarding installation, is it possible to install the physics lists by default? I'm sure it would not be difficult to add a line to the Configure script and it would prevent alot of faffing about post-installation. Regards, Iwan
Please, do not open new bug-reports for the same topic. You can post your comment as a follow-up on the same bug report. > The reason I am doing it this way is because I have written a small script > (for use within my research group) that installs CLHEP and GEANT4 > automatically. To do that I would suggest you to use the 'manual' procedure for the installation, as specified in the documentation; i.e. define a script which configures correctly your environment first and then simply 'make'. > Also, is there a good reason why the version numbers are left off the default > directories for the PhotonEvaporation and Radioactive data libraries, whereas > they are present for the low energy electromagnetic and neutron libraries? There is not a reason. It is harmless but can be corrected, in case. > Another question I have regarding installation, is it possible to install > the physics lists by default? I'm sure it would not be difficult to add a > line to the Configure script and it would prevent alot of faffing about > post-installation. At the moment the physics-lists are not meant to be part of the default installation for technical reasons. This may happen in future if/when they will become part of the kernel libraries.
More grievance with this feature of the Configure script. Running the script as follows (ie. using file with default answers): ./Configure -build -f config_4.8.0.p01.sh All goes well until: Please, specify default directory where ALL the Geant4 data is installed: G4LEVELGAMMADATA: /usr/local/geant4/data/PhotonEvaporation G4RADIOACTIVEDATA: /usr/local/geant4/data/RadiativeDecay3.0 G4LEDATA: /usr/local/geant4/data/G4EMLOW3.0 NeutronHPCrossSections: /usr/local/geant4/data/G4NDL3.8 G4ELASTICDATA: /usr/local/geant4/data/G4ELASTIC1.1 You will be asked about customizing these next. [/usr/local/geant4/data] Please, specify default directory where the Geant4 data is installed: 1) G4LEVELGAMMADATA: /usr/local/geant4/data/PhotonEvaporation 2) G4RADIOACTIVEDATA: /usr/local/geant4/data/RadiativeDecay 3) G4LEDATA: /usr/local/geant4/data/G4EMLOW3.0 4) NeutronHPCrossSections: /usr/local/geant4/data/G4NDL3.7 5) G4ELASTICDATA: /usr/local/geant4/data/G4ELASTIC1.1 In the next release can the Configure script please be changed such that these variables are not reset during this step. It is very annoying yet trivial to fix.