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)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{translations}}
{{translations}}
<translate><!--T:1-->
<translate><!--T:1-->
These are the '''instructions to download and compile Kiwix source code'''.
These are the '''instructions to download and compile (depreacted) Kiwix (kiwix-desktop based on Xulrunner) source code'''.
 
To find up2date compilation instructions for each of the Kiwix products, please have a look to the README.md file in each code repository at http://code.kiwix.org.  
</translate>
</translate>


Line 9: Line 11:
<translate><!--T:3-->
<translate><!--T:3-->
The source code of Kiwix is available:
The source code of Kiwix is available:
* Directly from the source code repository: https://sourceforge.net/p/kiwix/kiwix/
* Directly from the source code repository: https://github.com/kiwix/kiwix/
* As a tarball: http://download.kiwix.org/src/
* As a tarball: http://download.kiwix.org/src/
</translate>
<translate>
<!--T:10-->
Before to continue, read the [http://compile.kiwix.org README] file.
</translate>
</translate>


<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 libraries is not available. Check the configure log file. Some of the libraries you may miss:
* liblzma-dev (on Debian)
* [http://openzim.org/wiki/Libzim libzim]
* [http://tukaani.org/xz/ liblzma]
* [http://ctpp.havoc.ru/en/ libctpp2]
</translate>
</translate>


Line 31: Line 40:


<translate><!--T:7-->
<translate><!--T:7-->
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.
On Apple Mac OS X and Microsoft Windows, the compilation is far more complicated. Please have a look to the COMPILE file in Kiwix source directory.
</translate>
</translate>


<translate>== Other == <!--T:8-->
<translate>== Other == <!--T:8-->
The kiwix project provides also many additional tools. You may have a look to other code repositories [//code.kiwix.org here].
The Kiwix project provides also many additional tools. You may have a look to other code repositories [//code.kiwix.org here].
</translate>
</translate>


<translate>== See also == <!--T:9-->
<translate>== See also == <!--T:9-->
* [[Development]]
* [[{{ll|Development}}|Development]]
</translate>
</translate>

Latest revision as of 10:36, 11 November 2017

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 (depreacted) Kiwix (kiwix-desktop based on Xulrunner) source code.

To find up2date compilation instructions for each of the Kiwix products, please have a look to the README.md file in each code repository at http://code.kiwix.org.

Get the code

The source code of Kiwix is available:

Before to continue, read the README file.

Dependencies

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

Compilation

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

./autogen.sh
./configure
make

On Apple Mac OS X 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