User Tools

Site Tools


development:compiling:liblcf:autotools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
development:compiling:liblcf:autotools [2014/03/14 00:27]
fdelapena remove autogen.sh, use sudo make install, don't use prefix
development:compiling:liblcf:autotools [2016/07/18 17:09]
fdelapena Modern distros have at least automake 1.11 already, prevents some warnings since 1.14
Line 2: Line 2:
  
 ===== Requirements ===== ===== Requirements =====
-  * GNU iconv (already included in most distributions in libc) (Not required for Windows) +  * g++ or clang 
-  * GNU Gettext development files (Required for iconv detecion) +  * make 
-  * Expat (for XML reading support)+  * pkg-config 
 +  * libtool 
 +  * Expat 
 +  * ICU
  
-More information at [[./requirements]]+===== Requirements for building from git ===== 
 +  * autoconf >= 2.69 
 +  * automake >= 1.11.4 
 +  * git 
 +Run ''autoreconf -i'' to generate the ''configure'' script.
  
 ===== Build ===== ===== Build =====
  
-  * Run ''./configure && make && sudo make install''+  * Run
 +<code bash> 
 +./configure --prefix=/usr 
 +make 
 +sudo make install 
 +</code> 
 + 
 +====== Build from Git ======
  
 ===== Step by step setup for Debian based distros (gNewSense, Trisquel, Debian, Mint, Ubuntu...) ===== ===== Step by step setup for Debian based distros (gNewSense, Trisquel, Debian, Mint, Ubuntu...) =====
Line 16: Line 30:
   * Open the Terminal application   * 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:   * 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 libexpat1-dev\\ +<code bash> 
-  mkdir EasyRPG\\ +sudo apt-get -y install --no-install-recommends git make automake pkg-config libtool g++ libexpat1-dev libicu-dev 
-  cd EasyRPG\\ +git clone https://github.com/EasyRPG/liblcf.git 
-  git clone https://github.com/EasyRPG/liblcf.git\\ +cd liblcf 
-  cd liblcf\\ +autoreconf -i 
-  autoreconf -i\\ +./configure --prefix=/usr 
-  ./configure\\ +make 
-  make\\ +sudo make install 
-  sudo make install'' +cd .. 
 +</code>
 ===== Step by step setup for Fedora ===== ===== Step by step setup for Fedora =====
  
   * Open the Terminal application   * 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:   * 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 expat-devel gcc-g++\\ +<code bash> 
-  mkdir EasyRPG\\ +sudo dnf -y install libtool expat-devel libicu-devel gcc-c++ 
-  cd EasyRPG\\ +git clone https://github.com/EasyRPG/liblcf.git 
-  git clone https://github.com/EasyRPG/liblcf.git\\ +cd liblcf 
-  cd liblcf\\ +autoreconf -i 
-  autoreconf -i\\ +./configure --prefix=/usr 
-  ./configure\\ +make 
-  make\\ +sudo make install 
-  sudo make install''+cd .. 
 +</code> 
 +===== Installation on Arch Linux =====
  
 +There is an [[https://aur.archlinux.org/packages/liblcf-git/|AUR package]] available, you can use your favourite aur helper or download and use makepkg:
 +<code bash>
 +packer -S liblcf-git
 +</code>
 ===== Additional help ===== ===== Additional help =====
  
 Contact with us at https://webchat.freenode.net/?channels=easyrpg Contact with us at https://webchat.freenode.net/?channels=easyrpg
  
-The current build system maintainer is fdelapena+The current autotools build system maintainer is fdelapena
development/compiling/liblcf/autotools.txt · Last modified: 2016/07/18 17:09 by fdelapena