$ ./Configure -build --- 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. any 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] uch 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 G4SYSTE variable is Linux-g++. That stands for: 1) OS : Linux 2) Compiler : g++ To modify default settings, select number above (e.g. 2) [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] y *OPTIONS FOR GEANT4 INSTALLATION PATHS* What is the path to the Geant4 source tree? [/proj/soft/gcc462/ext/geant4/geant4.9.4.p03] Where should Geant4 be installed? [/proj/soft/gcc462/ext/geant4/geant4.9.4.p03] Do you want to install all Geant4 headers in one directory? [n] y *GEANT4 LIBRARY BUILD OPTIONS* Do you want to build shared libraries? [y] n Do you want to build global libraries? [y] n Do you want to build libraries with debugging information? [n] n *CHECKS AND OPTIONS FOR GEANT4 PHYSICS DATA FILES* Specify the path where the Geant4 data libraries are installed: [/proj/soft/gcc462/ext/geant4/geant4.9.4.p03/data] checking for PhotonEvaporation2.1... yes checking for RadioactiveDecay3.3... yes checking for G4ELOW6.19... yes checking for G4NDL3.14... yes checking for G4ABLA3.0... yes checking for RealSurface1.0... yes checking for G4NEUTRONXS1.0... yes checking for G4PII1.2... yes *CHECKS FOR CORRECT AKE IPLEENTATION* Checking for make... /usr/bin/make Checking for gmake... /usr/bin/gmake Checking if make is GNU make... yes Checking if gmake is GNU make... yes How many parallel jobs should make launch? [1] 16 Checking that 16 is a valid number... yes *CHECKS FOR REQUIRED EXTERNAL PACKAGE CLHEP* Could not find CLHEP installed on this system! Please, specify where CLHEP is installed: CLHEP_BASE_DIR: /proj/soft/gcc462/ext/CLHEP/2.1.0.1 You can customize paths and library name of you CLHEP installation: 1) CLHEP_INCLUDE_DIR: /proj/soft/gcc462/ext/CLHEP/2.1.0.1/include 2) CLHEP_LIB_DIR: /proj/soft/gcc462/ext/CLHEP/2.1.0.1/lib 3) CLHEP_LIB: CLHEP To modify default settings, select number above (e.g. 2) [Press [Enter] for default settings] *OPTIONS FOR GEANT4 USER INTERFACE ODULES* Enable building of User Interface (UI) modules? [y] y Enable building of the XAW (X11 Athena Widget set) UI module? [n] y You have selected to build the XAW based user interfaces. Specify the correct path where XAW is installed on your system. It was found in /usr. Press [Enter] to set this path or type the correct one. You can set '-' (without quotation) to CANCEL the XAW flag at all: [/usr] Enable building of the X11-otif (Xm) UI module? [n] y You have selected to build the X11-otif(Xm) based user interfaces. Specify the correct path where Xm is installed on your system. It was found in /usr. Press [Enter] to set this path or type the correct one. You can set '-' (without quotation) to CANCEL the X flag at all: [/usr] Enable building of the Qt UI module? [n] y checking for qglobal.h... no checking Qt major version... no checking for qt-mt or qt library... no checking for moc... no ./qt: line 502: x: command not found Autodetection failed to locate Qt4 in on your system. Please enter the path to your Qt4 install (i.e. if Qt4 is installed in PATH/include/QT, PATH/include or PATH/include/qt4, enter PATH), or type '-' to CANCEL the build of the Qt UI module. Qt path: /proj/soft/gcc462/ext/QT/4.8.0 checking for qglobal.h... /proj/soft/gcc462/ext/QT/4.8.0/include/QtCore/qglobal.h checking Qt major version... 4 checking for QtGui headers... yes checking for QtOpenGL headers... yes checking for QtCore library... QtCore checking for moc... /proj/soft/gcc462/ext/QT/4.8.0/bin/moc Checking /proj/soft/gcc462/ext/QT/4.8.0/bin/moc major version is 4... yes *OPTIONS FOR GEANT4 VISUALIZATION DRIVERS* Enable building of visualization drivers? [y] y Enable building of the X11 OpenGL visualization driver? [n] y Enable building of the X11-otif OpenGL visualization driver? [n] y Enable building of the FukuiRenderer/DAWN visualization driver? [n] y Enable building of the X11 OpenInventor visualization driver? [n] n Enable building of the X11 RayTracer visualization driver? [n] n Enable building of the VRL visualization driver? [n] y You have selected to build one or more drivers that require OpenGL. Specify the correct path (OGLHOE) where OpenGL is installed on your system. It was found in /usr. Press [Enter] to set this path or type the correct one. You can set '-' (without quotation) to CANCEL the OpenGL flag at all: [/usr] Enable building of the Qt OpenGL visualization driver? [n] y configure: Qt already configured, no recheck necessary *OPTIONS FOR GEANT4 OPTIONAL EXTENSION ODULES* Enable the Geometry Description arkup Language (GDL) module? [n] y checking for XercesC install... /usr Enable build of the g3tog4 utility module? [n] n Enable internal zlib compression for HepRep visualization? [n] n End of configuration phase. Stripping down executable paths... Creating configuration setup file... WARNING: the generated configuration file can be edited if necessary! You can introduce any change to the configuration file /proj/soft/gcc462/ext/geant4/geant4.9.4.p03/.config/bin/Linux-g++/config.sh before the final installation. To do so, use a shell escape now (e.g. !vi /proj/soft/gcc462/ext/geant4/geant4.9.4.p03/.config/bin/Linux-g++/config.sh). Press [Enter] to start installation or use a shell escape to edit config.sh: