Installation guide
ROOT installation
Install the ROOT framework Version >=5.22/00 on a new directory.
Download from ROOT home.
shell> cd directory
shell> tar xzf root.....tar.gz
shell> cd root
shell> export ROOTSYS=$PWD
shell> export PATH=$PATH:$ROOTSYS/bin
shell> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
shell> ./configure
shell> make
QT installation
This Go4 distribution should be built with Qt 4.4.x and higher.
Most modern Linux distributions provide Qt libraries, utilities and include files.
However the developer package has to be installed in addition.
Normally Go4 is able to detect the installed Qt.
If both, Qt3 and Qt4 versions are installed, use GO4 makefile flag "withqt" to select required
version. It is especially necessary for system, where Qt3 installation automatically
sets QTDIR variable. Therefore to compile Go4 with version Qt4,
one should call "make withqt=4".
If there is no Qt installed on your system, or Go4 is not able to use it correctly,
one should compile Qt from the source package. For that download from
QT home package like qt-x11-opensource-src-4.5.2.tar.gz.
Configure it with following flags:
shell> ./configure -prefix $PWD -shared
After compilation set environment variables e.g.
shell> export QTDIR=$PWD
shell> export PATH=$PATH:$QTDIR/bin
shell> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib
GO4 installation
Unpack this Go4 distribution in any suitable directory.
shell> tar xzf go4-4.4.0.tar.gz
This will create subdirectory go4-4.4.0. To compile go4, do:
shell> cd go4-4.4.0
shell> make all
During compilation "go4login" init script is generated, where
all necessary environment variables for ROOT, Qt and Go4 are set.
It can be copied in any suitable location (accessible with PATH variable)
and called:
shell> . go4login
After that go4 GUI and user analysis can be started from any directory.