Chapter 5. Building and Installation

The installation steps in this document are generic and for all versions of ah3. When the file names ah3-x.tar.gz and ah3-x.rpm are used, it is intended that the x is replaced whith the appropriate version and archetecture.

5.1. Building and Installing from Source

Building Ah3 is pretty straight forward. It follows the pattern as most typical Qt applications. It does depend on having the development headers and libraries for Qt installed.

The following steps will build the Ah3 executible.

  1. Unpack the tar file using tar -xzf ah3-x.tar.gz

  2. Change directory using cd ah3-x

  3. Execute qmake ah3.pro

  4. Execute make

To install the application and have it work requires these additional steps executed as the root user:

  1. Execute mkdir -p /opt/ah3/reports

  2. Execute mkdir -p /opt/ah3/database

  3. Execute cp ah3.xml /opt/ah3/default_forms.xml

  4. Execute cp *sql /opt/ah3/database