--- Geant4 Toolkit Build --- This installation shell script will examine your system and ask you questions to determine how the Geant4 Toolkit should be installed. If you get stuck on a question, you may use a ! shell escape to start a subshell or execute a command. Many of the questions will have default answers in square brackets; typing carriage return will set the default. On AFS it is allowed to specify either absolute or relative paths (i.e. starting with the ~username construct). [Type carriage return to continue] The prompt used in this script allows you to use shell variables and backticks in your answers. You may use $1, $2, etc... to refer to the words in the default answer, as if the default line was a set of arguments given to a script shell. This means you may also use $* to repeat the whole default line. Everytime there is a substitution, you will have to confirm. If there is an error (e.g. an unmatched backtick), the default answer will remain unchanged and you will be prompted again. Running 'Configure -d' will bypass nearly all the questions and use the computed defaults (or answers saved in a configuration previously generated). Type 'Configure -h' for a list of options. You may also start interactively and then answer '& -d' at any prompt to turn on the non-interactive behaviour for the rest of the execution. [Type carriage return to continue] Much effort has been spent to ensure that this shell script will run on any Unix system. If despite that you can't run Configure for some reason, you'll have to set the proper environment variables by hand and follow the "manual" installation as specified in the Geant4 Installation Guide. [Type carriage return to continue] Definition of G4SYSTEM variable is WIN32-VC. That stands for: 1) OS : WIN32 2) Compiler : VC To modify default settings, select number above (e.g. 2) EOM [Press [Enter] for default settings] I can set things up so that your shell scripts and binaries are more portable, at what may be a noticable cost in performance. In particular, if you ask to be portable, the following happens: 1) Shell scripts will rely on the PATH variable rather than using the paths derived above. 2) ~username interpretations will be done at run time rather than by Configure. Do you expect to run these scripts and binaries on multiple machines? [n] Where is Geant4 source installed? EOM [c:/Geant4/geant4_8_0_p01] Specify the path where Geant4 libraries and source files should be installed. EOM [c:/Geant4/geant4_8_0_p01] Do you want to copy all Geant4 headers in one directory? EOM [n] Please, specify default directory where ALL the Geant4 data is installed: G4LEVELGAMMADATA: c:/Geant4/geant4_8_0_p01/data/PhotonEvaporation2.0 G4RADIOACTIVEDATA: c:/Geant4/geant4_8_0_p01/data/RadiativeDecay3.0 G4LEDATA: c:/Geant4/geant4_8_0_p01/data/G4EMLOW3.0 NeutronHPCrossSections: c:/Geant4/geant4_8_0_p01/data/G4NDL3.7 G4ELASTICDATA: c:/Geant4/geant4_8_0_p01/data/G4ELASTIC1.1 You will be asked about customizing these next. EOM [c:/Geant4/geant4_8_0_p01/data] Please, specify default directory where the Geant4 data is installed: 1) G4LEVELGAMMADATA: c:/Geant4/geant4_8_0_p01/data/PhotonEvaporation 2) G4RADIOACTIVEDATA: c:/Geant4/geant4_8_0_p01/data/RadiativeDecay 3) G4LEDATA: c:/Geant4/geant4_8_0_p01/data/G4EMLOW3.0 4) NeutronHPCrossSections: c:/Geant4/geant4_8_0_p01/data/G4NDL3.7 5) G4ELASTICDATA: c:/Geant4/geant4_8_0_p01/data/G4ELASTIC1.1 To modify default settings, select number above (e.g. 2) EOM [Press [Enter] for default settings] 1 Where is Geant4 PhotonEvaporation data installed? EOM [c:/Geant4/geant4_8_0_p01/data/PhotonEvaporation] c:/Geant4/geant4_8_0_p01/data/PhotonEvaporation2.0 File c:/Geant4/geant4_8_0_p01/data/PhotonEvaporation2.0 doesn't exist. Use that name anyway? [n] y Please, specify default directory where the Geant4 data is installed: 1) G4LEVELGAMMADATA: c:/Geant4/geant4_8_0_p01/data/PhotonEvaporation2.0 2) G4RADIOACTIVEDATA: c:/Geant4/geant4_8_0_p01/data/RadiativeDecay 3) G4LEDATA: c:/Geant4/geant4_8_0_p01/data/G4EMLOW3.0 4) NeutronHPCrossSections: c:/Geant4/geant4_8_0_p01/data/G4NDL3.7 5) G4ELASTICDATA: c:/Geant4/geant4_8_0_p01/data/G4ELASTIC1.1 To modify default settings, select number above (e.g. 2) EOM [Press [Enter] for default settings] 2 Where is Geant4 RadiativeDecay data installed? EOM [c:/Geant4/geant4_8_0_p01/data/RadiativeDecay] c:/Geant4/geant4_8_0_p01/data/RadiativeDecay3.0 File c:/Geant4/geant4_8_0_p01/data/RadiativeDecay3.0 doesn't exist. Use that name anyway? EOM [n] y Please, specify default directory where the Geant4 data is installed: 1) G4LEVELGAMMADATA: c:/Geant4/geant4_8_0_p01/data/PhotonEvaporation2.0 2) G4RADIOACTIVEDATA: c:/Geant4/geant4_8_0_p01/data/RadiativeDecay3.0 3) G4LEDATA: c:/Geant4/geant4_8_0_p01/data/G4EMLOW3.0 4) NeutronHPCrossSections: c:/Geant4/geant4_8_0_p01/data/G4NDL3.7 5) G4ELASTICDATA: c:/Geant4/geant4_8_0_p01/data/G4ELASTIC1.1 To modify default settings, select number above (e.g. 2) EOM [Press [Enter] for default settings] Could not find CLHEP installed on this system! Please, specify where CLHEP is installed (set by default): CLHEP_BASE_DIR: c:/usr/local According to it will be set: CLHEP_INCLUDE_DIR CLHEP_LIB_DIR You will be asked about customizing these next. EOM [c:/usr/local] c:/CLHEP You can customize paths and library name of you CLHEP installation: 1) CLHEP_INCLUDE_DIR: c:/CLHEP/include 2) CLHEP_LIB_DIR: c:/CLHEP/lib 3) CLHEP_LIB: CLHEP You need to use full library name with its extension (e.g. libCLHEP.lib). To modify default settings, select number above (e.g. 2) EOM [Press [Enter] for default settings] 3 What is CLHEP lib title? [CLHEP] CLHEP.lib You can customize paths and library name of you CLHEP installation: 1) CLHEP_INCLUDE_DIR: c:/CLHEP/include 2) CLHEP_LIB_DIR: c:/CLHEP/lib 3) CLHEP_LIB: CLHEP.lib You need to use full library name with its extension (e.g. libCLHEP.lib). To modify default settings, select number above (e.g. 2) EOM [Press [Enter] for default settings] By default 'static' libraries are built. Do you want to build DLL (.dll) libraries? EOM [n] Do you want to build 'global' compound libraries? EOM [n] Do you want to compile libraries in DEBUG mode (-g)? EOM [n] G4UI_NONE If this variable is set, no UI sessions nor any UI libraries are built. This can be useful when running a pure batch job or in a user framework having its own UI system. Do you want to set this variable ? EOM [n] G4UI_BUILD_WIN32_SESSION G4UI_USE_WIN32 Specifies to include and use the terminal interface for Windows systems. EOM [n] y G4VIS_NONE If this variable is set, no visualization drivers will be built or used. Do you want to set this variable ? EOM [n] G4VIS_BUILD_OPENGLWIN32_DRIVER G4VIS_USE_OPENGLWIN32 It is an interface to the de facto standard 3D graphics library, OpenGL. It is well suited for real-time fast visualization and prototyping. The Windows version of the OpenGL libraries is required. EOM [n] y G4VIS_BUILD_OIWIN32_DRIVER G4VIS_USE_OIWIN32 Specifies to build and use the driver for the free X11 version of OpenInventor on Windows systems. The Windows version of OpenInventor is required. EOM [n] G4LIB_BUILD_G3TOG4 The utility module 'g3tog4' will be built by setting this variable. NOTE: it requires a valid FORTRAN compiler to be installed on your system and the 'cernlib' command in the path, in order to build the ancillary tools! Do you want to build 'g3tog4' ? EOM [n] G4LIB_BUILD_ZLIB Do you wish to activate compression for output files generated through the HepRep visualization driver ? EOM [n] G4ANALYSIS_USE Activates the configuration setup for allowing plugins to analysis tools based on AIDA (Astract Interfaces for Data Analysis). In order to use AIDA features and compliant analysis tools, the proper environment for these tools will have to be set (see documentation for the specific analysis tools). EOM [n] End of configuration phase. Creating configuration setup file... WARNING: the generated configuration file can be edited if necessary! You can introduce any change to the configuration file /cygdrive/c/Geant4/geant4_8_0_p01/.config/bin/WIN32-VC/config.sh before the final installation. To do so, use a shell escape now (e.g. !vi /cygdrive/c/Geant4/geant4_8_0_p01/.config/bin/WIN32-VC/config.sh). Press [Enter] to start installation or use a shell escape to edit config.sh: