Difference between revisions of "Gemc Build Notes"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 28: Line 28:
 
<pre>
 
<pre>
 
put qt4.py in SCONS_LIB_DIR/Tool
 
put qt4.py in SCONS_LIB_DIR/Tool
 +
 +
QTDIR must be the base qt directory, ie the one that contains /bin, /lib, and /include
 +
PKG_CONFIG_PATH must be QTDIR/lib/pkgconfig
 +
need to set G4INSTALL
 
</pre>
 
</pre>

Revision as of 19:15, 15 November 2007

Building

These notes are just that - notes. Contact ungaro@jlab.org if you have any questions, as he plans on building a detailed build guide.

Prereqs

One needs:

  • qt4
  • python > 2.3
  • scons
  • CLHEP
  • geant4
  • mysql
  • gemc source

Already Installed

We already have python, mysql

Building Info

qt4

./configure -prefix "install directory"
gmake
gmake install
...no problems

gemc

put qt4.py in SCONS_LIB_DIR/Tool

QTDIR must be the base qt directory, ie the one that contains /bin, /lib, and /include
PKG_CONFIG_PATH must be QTDIR/lib/pkgconfig
need to set G4INSTALL