Compiling Anaphe from sources

In order to compile Anaphe, you need to have the following public domain packages installed on your system:

  • expat 1.95.2
  • Python 2.2
  • SWIG 1.3.14
  • Grace 5.1.10
  • CLHEP 1.8.0.0
For Python, make sure the modules readline and dlmodule are properly installed (for dlmodule, you need to edit the setup.py file in the python distribution and add the module explicitely).

Once these packages are installed, download the source file for a given version:

After unpacking (gtar -zxf Anaphe-5.0.6-src.tgz) go into the directory and build the release using the following commands:

cd Anaphe-5.0.6
./admin/scripts/mkRelease.py --version 5.0.6 --platf redhat73/gcc-3.2 --rel /opt/Anaphe
	      
This should build the full packages and install them into /opt/Anaphe/specific/redhat73/gcc-3.2/.

ToDo: set up links, CERNLIB/libshift.so (or XML only)