User Tools

Site Tools


Sidebar

development:compiling:liblcf:autotools

This is an old revision of the document!


Building liblcf with GNU Build System

Requirements

  • GNU Autoconf 2.68 or greater
  • GNU Automake 1.11 or greater
  • GNU iconv (already included in most distributions) (Not required for Windows)
  • GNU Gettext development files (Required for iconv detecion)
  • Expat (optional for XML reading support)

More information at requirements

Build

  • Run ./configure && make && sudo make install

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 g++ gettext && mkdir EasyRPG && cd EasyRPG && git clone https://github.com/EasyRPG/liblcf.git && cd liblcf && ./autogen.sh && ./configure --prefix=$PWD/build && make && make install

  • Go to your Files application and browse into EasyRPG folder → liblcf folder → build folder → lib folder. If there is a liblcf.a file inside, your liblcf library setup is OK.

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 gettext-devel gcc-g++ && mkdir EasyRPG && cd EasyRPG && git clone https://github.com/EasyRPG/liblcf.git && cd liblcf && ./autogen.sh && ./configure --prefix=$PWD/build && make && make install

  • Go to your Files application and browse into EasyRPG folder → liblcf folder → build folder → lib folder. If there is a liblcf.a file inside, your liblcf library setup is OK.

Enable XML reading support (required if you want to use LCF2XML)

Requirements

  • For Debian based (gNewSense, Trisquel, Debian, Mint, Ubuntu…), do sudo apt-get -y install libexpat1-dev
  • For Fedora, do sudo yum -y install expat-devel

Build

If you already have built the library, you might clean library building files before compiling again.

  • Run ./configure --prefix=$PWD/build --enable-xml && make && make install
development/compiling/liblcf/autotools.1393797247.txt.gz · Last modified: 2014/03/02 21:54 by fdelapena