development:compiling:liblcf:autotools
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
development:compiling:liblcf:autotools [2014/03/02 21:54] – fdelapena | development:compiling:liblcf:autotools [2015/09/08 18:35] – added pkg-config as build dep fdelapena | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | * GNU Autoconf 2.68 or greater | + | * g++ or clang |
- | * GNU Automake 1.11 or greater | + | * make |
- | * GNU iconv (already included in most distributions) (Not required for Windows) | + | * pkg-config |
- | * GNU Gettext development files (Required for iconv detecion) | + | * libtool |
- | * Expat (optional for XML reading support) | + | * Expat |
+ | * ICU | ||
- | More information at [[./ | + | ===== Requirements for building from git ===== |
+ | * autoconf >= 2.69 | ||
+ | * automake >= 1.11.4 | ||
+ | * git | ||
+ | Run '' | ||
===== Build ===== | ===== Build ===== | ||
- | * Run '' | + | * Run: |
+ | <code bash> | ||
+ | ./ | ||
+ | make | ||
+ | sudo make install | ||
+ | </ | ||
+ | |||
+ | ====== 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...) ===== | ||
* 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: | ||
- | '' | + | <code bash> |
- | * Go to your Files application and browse into '' | + | sudo apt-get -y install --no-install-recommends git make automake1.11 pkg-config libtool |
+ | git clone https:// | ||
+ | cd liblcf | ||
+ | autoreconf -i | ||
+ | ./configure --prefix=/usr | ||
+ | make | ||
+ | sudo make install | ||
+ | cd .. | ||
+ | </ | ||
===== 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: | ||
- | '' | + | <code bash> |
- | * Go to your Files application and browse into '' | + | sudo dnf -y install |
- | + | git clone https:// | |
- | ===== Enable XML reading support (required if you want to use LCF2XML) | + | cd liblcf |
- | + | autoreconf -i | |
- | ==== Requirements ==== | + | ./configure --prefix=/usr |
- | + | make | |
- | * For Debian based (gNewSense, Trisquel, Debian, Mint, Ubuntu...), do '' | + | sudo make install |
- | * For Fedora, do '' | + | cd .. |
+ | </ | ||
+ | ===== Installation on Arch Linux ===== | ||
- | ==== Build ==== | + | There is an [[https:// |
+ | <code bash> | ||
+ | packer -S liblcf-git | ||
+ | </ | ||
+ | ===== Additional help ===== | ||
- | If you already have built the library, you might clean library building files before compiling again. | + | Contact with us at https:// |
- | * Run '' | + | The current autotools |
development/compiling/liblcf/autotools.txt · Last modified: 2021/05/31 03:29 by fdelapena