Removing image and attachment so this can be posted to the list. All info including attachments is also here: https://github.com/ kiwix/kiwix-tools/issues/170
----
On Tue, Mar 27, 2018 at 4:18 AM, Avni Khatri avni@kidsoncomputers.org wrote:
Per Matthieu's instructions, I git cloned the kiwix-lib repo and ran "meson kiwix-lib build". See attached screenshot. It made it further now, but complains with "Native dependency 'libzim' not found"
This seems very similar to the issue here: kiwix/kiwix-lib#49 https://github.com/kiwix/kiwix-lib/issues/49 though I can't figure out how this was resolved.
I've also attached the terminal history from the last 2 days.
Any pointers greatly appreciated. Thank you! Avni Khatri Kids on Computers, Inc. http://kidsoncomputers.org/blog
Date: Mon, 26 Mar 2018 10:01:50 +0200 From: Matthieu Gautier mgautier@kymeria.fr To: offline-l@lists.wikimedia.org Subject: Re: [Offline-l] Haiti trip - looking for help getting Kiwix working on OLPC XO-1.5 Message-ID: 123d91e3-c12f-883c-466e-94f995d1c107@kymeria.fr Content-Type: text/plain; charset=utf-8; format=flowed
Hi Avni,
Do you know https://github.com/kiwix/kiwix-build ? It is the tool we used to compile all kiwix projects (and so kiwix-tools). It download all sources, and compile everything from dependencies to kiwix-tools.
Anyway, you can compile kiwix-tools without kiwix-build :
Meson need the sources of kiwix-tools to compile them. You will need to clone them with `git clone https://github.com/kiwix/kiwix-lib%60 Once they are cloned, you can use them. The command is `meson <path_to_source_directory> <path_to_build_directory>`. So if you already are in the source directory and want to build in the subdirectory build, the command is `meson . build`
Once the build is configured (meson is the equivalent of ./configure), you can compile it with `ninja` (being in the build_directory)
Cheers, Matthieu Gautier.
On Mon, Mar 26, 2018 at 3:48 AM, Emmanuel Engelhart kelson@kiwix.org wrote:
Hi Avni
On 26.03.2018 08:05, Avni Khatri wrote:
I am working on compiling kiwix-tools, and therefore kiwix-lib for the XO-1.5 (fedora 18), in preparation for the trip to Haiti in April.
I am following the instructions here: https://github.com/kiwix/kiwix-tools and here: https://github.com/kiwix/kiwix-lib
With Jerry, Nathan, and Adam's help, I was able to install all dependencies for kiwix-lib (icu, zim, pugixml, ctpp2 [had to compile from source], xapian) and the environment compilation tools (automake, libtool, pkg-config).
Please open a ticket on Kiwix Github organisation for technical questions https://github.com/kiwix/kiwix-tools/issues/new.
Please provide the whole console log from the git clone (or tarball unpack) up to the error.
Regards Emmanuel
-- Kiwix - Wikipedia Offline & more