This page will take you through getting the prerequisites of installing MAUS and ensuring that it's working. This will come in four phases:
- Prerequisites - ensuring you have the basic tools required to compile code
- Dependencies - installing third party dependencies that are required by MAUS
- Building MAUS - ensuring everything compiles
- Testing MAUS - running tests to ensure that you have a working copy of MAUS
If you already have development tools and libraries installed like GCC, you can skip this section... if you are unsure, continue.
To check if you have a compiler (which generally indicates that you have the rest) run at the command line the command gcc. You should see something like the following:
gcc: no input files
which means you can continue to the Install#Dependencies. If you see something like the following:
bash: gcc: command not found
then continue with this section.
To be able to compile MAUS, you will of course need a compiler. This should come with your machine and will require the person who runs the machine to install this.
yum groupinstall "Development Tools"
yum groupinstall "Development Libraries"
gcc and g++
sl48 only since ROOT requires: xorg-x11-devel
You can either setup the dependencies yourself or there is an automated script for building them within MAUS. MAUS depends on:
| Name | Version | *Comments*| | google-styleguide
gsl is included since ROOT can have trouble using versions of gsl that don't have -fPIC used when compiled for position independent shared library (http://en.wikipedia.org/wiki/Position-independent_code). This is required if you want to embedd GSL within another shared library, which sadly isn't allowed in most default installations of GSL.
Obtaining the code¶
You have two options for obtaining the code: either you can grab a release from the files section of this website or you can checkout the repository. If you intend on making changes, then please checkout the source code.
Using a release¶
You must download the code to your machine then unpack it with the 'tar' command. In the below example, we assume you want to download the code using 'wget', that URL_OF_RELEASE is the URL of the code you found in the files section, and FILENAME is the filename.
wget URL_OF_RELEASE tar xvfz FILENAME
Checking out the source code¶
WARNING: IN ALL SOFTWARE PROJECTS, THE REPOSITORY IS UNSTABLE WHILST PEOPLE DEVELOP. IF YOU WANT STABLE CODE, USE A RELEASE.
Bazaar is the program we use to maintain the repository. If you wish to checkout MAUS to modify, you must first install bazaar then run the following command:
bzr branch lp:maus
If you get a 'command not found', then you must install bazaar.
Included in MAUS is scons and cxxtest.