Difference between revisions of "Compilation"
(22 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{translations}} | |||
<translate><!--T:1--> | |||
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>== Get the code == <!--T:2--> | ||
== | </translate> | ||
* [[ | |||
* [[ | <translate><!--T:3--> | ||
</ | The source code of Kiwix is available: | ||
* Directly from the source code repository: https://github.com/kiwix/kiwix/ | |||
* 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>== Dependencies == <!--T:4--> | |||
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: | |||
* [http://openzim.org/wiki/Libzim libzim] | |||
* [http://tukaani.org/xz/ liblzma] | |||
* [http://ctpp.havoc.ru/en/ libctpp2] | |||
</translate> | |||
<translate>== Compilation == <!--T:5--> | |||
</translate> | |||
<translate><!--T:6--> | |||
The compilation on UNIX (GNU/Linux) follows the GNU autotools procedure: | |||
</translate> | |||
<source lang="bash"> | |||
./autogen.sh | |||
./configure | |||
make | |||
</source> | |||
<translate><!--T:7--> | |||
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>== Other == <!--T:8--> | |||
The Kiwix project provides also many additional tools. You may have a look to other code repositories [//code.kiwix.org here]. | |||
</translate> | |||
<translate>== See also == <!--T:9--> | |||
* [[{{ll|Development}}|Development]] | |||
</translate> |
Latest revision as of 10:36, 11 November 2017
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:
- Directly from the source code repository: https://github.com/kiwix/kiwix/
- As a tarball: http://download.kiwix.org/src/
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.