-
Notifications
You must be signed in to change notification settings - Fork 2
Build
rbayes edited this page Sep 28, 2015
·
1 revision
Ultimately the ideal case is to produce a script that builds all of the third party libraries and the package software with one command. However, that script has not yet been written. For the time being the preferred third party library versions and configuration options will be maintained here.
mkdir third_party/xerces-c-3.1.1
./configure --prefix=/afs/phas.gla.ac.uk/user/r/rbayes/nuSTORM/third_party/
make
make install
./configure linuxx8664gcc --enable-pythia6 --with-pythia6-libdir=/afs/phas.gla.ac.uk/user/r/rbayes/nuSTORM/third_party/genie_source/src/scripts/build/ext/v6_424/lib --enable-python
make
./configure --prefix=/afs/phas.gla.ac.uk/user/r/rbayes/nuSTORM/third_party --enable-flux-drivers --enable-geom-drivers --enable-test --enable-mueloss --with-log4cpp-inc=/afs/phas.gla.ac.uk/user/r/rbayes/nuSTORM/third_party/include --with-log4cpp-lib=/afs/phas.gla.ac.uk/user/r/rbayes/nuSTORM/third_party/lib --with-pythia6-lib=/afs/phas.gla.ac.uk/user/r/rbayes/nuSTORM/third_party/genie_source/src/scripts/build/ext/v6_424/lib --with-lhapdf-inc=/afs/phas.gla.ac.uk/user/r/rbayes/nuSTORM/third_party/genie_source/src/scripts/build/ext/v5_7_0/stage/include --with-lhapdf-lib=/afs/phas.gla.ac.uk/user/r/rbayes/nuSTORM/third_party/genie_source/src/scripts/build/ext/v5_7_0/stage/lib --enable-numi --enable-atmo --enable-eventserver
make
make install
cmake -DCMAKE_INSTALL_PREFIX=~/nuSTORM/third_party/geant4.10.00-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DXERCESC_ROOT_DIR=~/nuSTORM/third_party -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_SYSTEM_CLHEP=ON -DCLHEP_ROOT_DIR=~/nuSTORM/third_party -DEXPAT_INCLUDE_DIR=~/nuSTORM/third_party -DEXPAT_LIBRARY=~/nuSTORM/third_party ~/nuSTORM/third_party/geant4.10.00
make
make install