Skip to content

Compiling on Linux

Børge Nordli edited this page Oct 26, 2021 · 4 revisions

Setup

  1. Download the source code or clone the git repository to a folder on your computer (git clone [email protected]:bnordli/rftg.git).
  2. Install prerequisites, for example using apt-get
  • sudo apt-get install gtk+2.0.
  • sudo apt-get install libmysqlclient-dev (only required if building the server).
  1. Navigate to the src folder.
  2. Setup dependencies: ./configure.
  • Add --enable-server if building the server.
  1. (If you have problems building, autoreconf --force --install.)

Building

  1. Navigate to the src folder.
  2. Build: make clean && make.
  3. Optionally install the program: make install.

Running the server

This is a list of SQL statements needed in order to setup the database.

Clone this wiki locally