Difference between revisions of "Compilation"

From Kiwix
Jump to navigation Jump to search
(New page: The compilation is currently not really easy. Please follow these steps: <pre> cd moulinkiwix/dependences/ make clean all cd ../components/zimAccessor/ ./autogen.sh ; ./configure ; make c...)
 
 
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
The compilation is currently not really easy.
{{translations}}
<translate><!--T:1-->
These are the '''instructions to download and compile (depreacted) Kiwix (kiwix-desktop based on Xulrunner) source code'''.


Please follow these steps:
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.  
<pre>
</translate>
cd moulinkiwix/dependences/
make clean all
cd ../components/zimAccessor/
./autogen.sh ; ./configure ; make clean all
cd ../xapianAccessor/
./autogen.sh ; ./configure ; make clean all
cd ../zimXapianIndexer/
./autogen.sh ; ./configure ; make clean all
cd ../../kiwix
kiwix.sh
</pre>


== See also ==
<translate>== Get the code == <!--T:2-->
* [[Subversion]]
</translate>
* [[Translation]]
 
<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

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