Chapter 3. Installation

Table of Contents

Building from source

Building from source

This section describes how to build the Rooms project from source.

To build the software, you will need, at a minimum:
  • FreeBSD 10.3 or newer

  • the Boost C++ libraries

  • a Git client

In order to build the manual pages, you will also need, at a minimum:
  • groff

  • docbook2X

To build the Rooms website, you will need the 'xmlto' package.

Installation procedures

  1. Install the required packages.

    $ su -
    # pkg install -y git groff docbook2X xmlto boost-all
    
  2. Download the source code.

    $ git clone https://github.com/mheily/rooms.git
    
  3. Change into the directory with the source code.

    $ cd rooms
    
  4. Run the configuration script.

    $ ./configure
    
  5. Build the software and manual pages.

    $ make
    
  6. Install the software.

    $ su -
    # make install