User Tools

Site Tools


Sidebar

development:compiling:liblcf:autotools

This is an old revision of the document!


Building liblcf with GNU Build System

Requirements

  • g++ or clang
  • make
  • pkg-config
  • libtool
  • Expat >= 2.1.0
  • GNU iconv (already included in most distributions in libc) (Not required for Windows)
  • GNU Gettext development files (Required for iconv detecion)

Requirements for building from git

  • autoconf >= 2.69
  • automake
  • git

Run autoreconf -i to generate the configure script.

Build

  • Run:

./configure --prefix /usr
sudo make install

If you want to cross compile with a specific gcc toolchain, pass –host=whatever to configure and set the PKG_CONFIG_PATH to the path containing specific cross compiling toolchain versions of 'expat.pc file and the proper --prefix value for the toolchain path. ===== Step by step setup for Debian based distros (gNewSense, Trisquel, Debian, Mint, Ubuntu…) ===== * Open the Terminal application * Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key: sudo apt-get -y install --no-install-recommends git make automake libtool g++ gettext libexpat1-dev

mkdir ~/EasyRPG\\
cd ~/EasyRPG\\
git clone https://github.com/EasyRPG/liblcf.git\\
cd liblcf\\
autoreconf -i\\
./configure %%--%%prefix /usr\\
sudo make install''

Step by step setup for Fedora

  • Open the Terminal application
  • Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key:

sudo yum -y install git automake libtool gettext-devel expat-devel gcc-g++
mkdir ~/EasyRPG
cd ~/EasyRPG
git clone https://github.com/EasyRPG/liblcf.git
cd liblcf
autoreconf -i
./configure --prefix /usr
sudo make install

Installation on Arch Linux

There is an AUR package available, you can use your favourite aur helper or download and use makepkg:

$ packer -S liblcf-git

Additional help

Contact with us at https://webchat.freenode.net/?channels=easyrpg

The current build system maintainer is fdelapena

development/compiling/liblcf/autotools.1395858605.txt.gz · Last modified: 2014/03/26 18:30 by fdelapena