Difference between revisions of "Compilation"
Jump to navigation
Jump to search
(+* libctpp2 (where to find ?)) |
|||
Line 11: | Line 11: | ||
* Directly from the source code repository: https://sourceforge.net/p/kiwix/kiwix/ | * Directly from the source code repository: https://sourceforge.net/p/kiwix/kiwix/ | ||
* As a tarball: http://download.kiwix.org/src/ | * As a tarball: http://download.kiwix.org/src/ | ||
</translate> | |||
<translate> | |||
Before to continue, read the [http://compile.kiwix.org README] file. | |||
</translate> | </translate> | ||
Revision as of 17:31, 29 October 2014
These are the instructions to download and compile Kiwix source code.
Get the code
The source code of Kiwix is available:
- Directly from the source code repository: https://sourceforge.net/p/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 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)
- libctpp2 (where to find ?)
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.