This is an old revision of the document!

Compile in Ubuntu

It is really better install manaplus from repository or nightly version. But if you still want compilation, you can continue here.

  1. Create directory for compiling client and go to it in terminal.
  2. Install dependencies:
    sudo apt-get install aptitude
    sudo aptitude install autopoint libguichan-0.8.1-1 libguichan-sdl-0.8.1-1 libphysfs1 libsdl-image1.2
    sudo aptitude install libsdl-mixer1.2 libsdl-net1.2 libsdl-ttf2.0-0 build-essential g++ g++-4.4
    sudo aptitude install libstdc++6-4.4-dev patch autoconf libtool libcurl4-gnutls-dev libgl1-mesa-dev libenet-dev
    sudo aptitude install libguichan-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev
    sudo aptitude install libphysfs-dev libpng12-dev libxml2-dev zlib1g-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev gettext
  3. Make directory:
    mkdir manaplus
  4. Open directory:
    cd manaplus
  5. Download client sources:
  6. Extract sources:
    tar xvf manaplus-
  7. Open subdir:
    cd manaplus
  8. Update make file:
    autoreconf -i
  9. Compile:
  10. Install:
    make install
  11. Uninstall.
    If you want, you can unstall game by running this command:
    sudo make uninstall
  12. Now you can run game by selecting Applications \ Games \ ManaPlus.

See also