Difference between revisions of "Compilation"

From Kiwix
Jump to navigation Jump to search
(+liblzma-dev per 11.21 < PeterG_> But I obtain this error : configure: error: cannot find lzma header 11.22 < PeterG_> Where could I download this lzma header ? I've searched on Google and apt-cache search but I've found nothing. 11.46 < PeterG_> Problem)
(added * [http://openzim.org/wiki/Releases libzim], one of the core dependencies and not included in the Kiwix source)
Line 15: Line 15:
<translate>== Dependencies == <!--T:4-->
<translate>== Dependencies == <!--T:4-->
Kiwix relies on many open source libraries to compile. If it does not compile this probably means one of these library is not available. Check the configure log file. Some of the libraries you may miss:
Kiwix relies on many open source libraries to compile. If it does not compile this probably means one of these library is not available. Check the configure log file. Some of the libraries you may miss:
* [http://openzim.org/wiki/Releases libzim], one of the core dependencies
* liblzma-dev (on Debian)
* liblzma-dev (on Debian)
</translate>
</translate>

Revision as of 16:28, 29 October 2014

Other languages:
Bahasa Melayu • ‎Deutsch • ‎English • ‎azərbaycanca • ‎català • ‎español • ‎français • ‎galego • ‎italiano • ‎magyar • ‎português • ‎русский • ‎فارسی • ‎বাংলা • ‎日本語

These are the instructions to download and compile Kiwix source code.

Get the code

The source code of Kiwix is available:

Dependencies

Kiwix relies on many open source libraries to compile. If it does not compile this probably means one of these library is not available. Check the configure log file. Some of the libraries you may miss:

  • libzim, one of the core dependencies
  • liblzma-dev (on Debian)

Compilation

The compilation on UNIX (GNU/Linux) follows the GNU autotools procedure:

./autogen.sh
./configure
make

On Apple Mac OSX and Microsoft Windows, the compilation is far more complicated. Please have a look to the COMPILE file in Kiwix source directory.

Other

The kiwix project provides also many additional tools. You may have a look to other code repositories here.

See also