]> git.uio.no Git - u/mrichter/AliRoot.git/blob - doc/aliroot-primer/scripts/makeg4
- addtask revisited
[u/mrichter/AliRoot.git] / doc / aliroot-primer / scripts / makeg4
1 tar zxvf geant4.8.1.p02.tar.gz
2 cd geant4.8.1.p02
3 mkdir data
4 cd data
5 tar zxvf ../../G4NDL.3.9.tar.gz
6 tar zxvf ../../G4EMLOW4.0.tar.gz
7 tar zxvf ../../PhotonEvaporation.2.0.tar.gz
8 tar zxvf ../../RadiativeDecay.3.0.tar.gz
9 tar zxvf ../../G4ELASTIC.1.1.tar.gz
10 cd ..
11
12 # Configuration and compilation
13
14 ./Configure -build
15
16 # As asnwer choose the default (proposed) value, except of the following
17 # (please note that the "Question" word itself is not displayed)
18
19
20 # Question: Specify the path where Geant4 libraries and source files should be
21 # installed. $ALICE/geant4
22
23 # Question: Directory $ALICE/geant4 doesn't exist.  Use that name anyway? Y
24
25 # Question: Do you want to copy all Geant4 headers in one directory? Y
26
27 # Question: Please, specify where CLHEP is installed: $ALICE/CLHEP
28
29 # Question: Do you want to build 'shared' (.so) libraries? Y
30
31 # Question:
32 #  G4VIS_BUILD_OPENGLX_DRIVER
33 #  G4VIS_USE_OPENGLX
34 #
35 # It is an interface to the de facto standard 3D graphics library,
36 # OpenGL. It is well suited for real-time fast visualization
37 # and prototyping. The X11 version of the OpenGL libraries is
38 # required. Y
39
40 # Question:
41 #  G4LIB_BUILD_G3TOG4  
42 #
43 # The utility module 'g3tog4' will be built by setting this
44 # variable. NOTE: it requires a valid FORTRAN compiler to be
45 # installed on your system and the 'cernlib' command in the
46 # path, in order to build the ancillary tools!
47 # Do you want to build 'g3tog4' ? Y
48
49 # now a long compilation...
50
51 # Installation in the selected place ($ALICE/geant4)
52 ./Configure -install
53
54 # Environment variables (please note the "dot" in the beginning)
55 # The <platform> has to ve replaced by the actiual value
56 . $ALICE/geant4/src/geant4/.config/bin/<platform>/env.sh