Difference between revisions of "Compilation"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
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/ | |||
== | == 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. | |||
== Compilation == | |||
== | |||
The compilation on UNIX (GNU/Linux) follows the GNU autotools procedure: | |||
<source lang="bash"> | <source lang="bash"> | ||
./autogen.sh | ./autogen.sh | ||
Line 118: | Line 26: | ||
make | make | ||
</source><noinclude> | </source><noinclude> | ||
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 at [http//code.kiwix.org here]. | |||
== See also == | == See also == | ||
* [[ | * [[Development]] | ||
Revision as of 18:25, 3 March 2013
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/
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.
Compilation
The compilation on UNIX (GNU/Linux) follows the GNU autotools procedure:
./autogen.sh
./configure
make
On Fedora, the compilation is a little bit more complicated. You have to:
./autogen.sh
./configure --with-xpidl=/usr/lib/xulrunner-`pkg-config --modversion libxul`/ --with-gecko-idl=/usr/lib/xulrunner-sdk-`pkg-config --modversion libxul`/sdk/idl
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 at [http//code.kiwix.org here].