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
Last revision Both sides next revision
development:compiling:liblcf:autotools [2014/03/26 18:36]
fdelapena [Build]
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 6: Line 6:
   * pkg-config   * pkg-config
   * libtool   * libtool
-  * Expat >= 2.1.0 +  * Expat 
-  * GNU iconv (already included in most distributions in libc) (Not required for Windows) +  * ICU
-  * GNU Gettext development files (Required for iconv detecion)+
  
 ===== Requirements for building from git ===== ===== Requirements for building from git =====
   * autoconf >= 2.69   * autoconf >= 2.69
-  * automake+  * automake >= 1.11.4
   * git   * git
 Run ''autoreconf -i'' to generate the ''configure'' script. Run ''autoreconf -i'' to generate the ''configure'' script.
Line 19: Line 18:
  
   * Run:   * Run:
 +<code bash>
 +./configure --prefix=/usr
 +make
 +sudo make install
 +</code>
 +
 +====== Build from Git ======
  
-  ./configure --prefix /usr 
-  sudo make install 
 ===== 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...) =====
  
   * 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 libtool 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 %%--%%prefix /usr\\ +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 libtool 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 %%--%%prefix /usr\\ +make 
-  sudo make install'' +sudo make install 
 +cd .. 
 +</code>
 ===== Installation on Arch Linux ===== ===== 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: 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'' +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: 2021/05/31 03:29 by fdelapena