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],
the environment compilation tools (automake, libtool, pkg-config).
But I am having trouble with *meson*. Meson requires python 3.5+ so we
installed python 3.6 from source (via
Meson (finally) was successfully installed that way, but now am running
into the following error when running "meson . build" as instructed to do
*Error during basic setup: Neither directory contains a build file
Based on searching the web, it seems like this command requires the source
existing thought it seems per here:
that it may not be the preferred route anymore. The solution in that issue
was to run this command:
*sudo -u kiwix /bin/bash -c "cd /opt/kiwix; /usr/lib/kiwix/bin/kiwix-manage
Would appreciate any guidance on how to proceed. Many thanks.
On Tue, Mar 6, 2018 at 7:00 PM, Adam Holt <holt(a)unleashkids.org> wrote:
> On Mar 6, 2018 6:26 PM, "Avni Khatri" <avni(a)kidsoncomputers.org> wrote:
> Hi all -
> As part of the Haiti trip, we are looking for help getting Kiwix
> kiwix-tools (enables fully searchable offline Wikipedia, across
> disconnected lands).
> This is necessary to display the new ZIM files (these contain full-text
> search indexes, since about a year ago, consequently the old Kiwix on i686
> no longer works!)
> compiled and working on OLPC XO-1.5
> We believe this should be straightforward as it *was* running on i686 just
> over a year ago at the end of 2016: https://github.com/kiwix
> Steps are outlined at the bottom of: https://github.com/kiwix/kiwix-tools and
> we think it's a matter of knowing which compiler flags to use.
> Support by Emmanuel & the Kiwix team will be available via IRC channel
> #kiwix at http://webchat.freenode.net for questions. Adam (cc'ed) can
> also provide additional technical details as necessary.
> We need this so kids in the two schools we are visiting can view the
> Wikipedia we all love so much offline and has the impact to help any kid
> (or anybody!) using 32-bit Linux PC's.
> If an actual XO-1.5 laptop (about 3X faster than the original One Laptop
> Per Child laptop, and a more standard i686 architecture) is needed to
> compile kiwix-tools please let us know.
> "It should be almost trivial IMO to get the binary for the VIA C7... The
> original ticket dealing with removal of SSE instruction was:
> The original fix was in:
> I recommend to build straight forward i686 and i585 without the SSE(2)
> instruction set, which means with the GCC option -mno-sse"
> Please let Adam and I know if you can help. Many thanks for considering.
> Avni Khatri
> Kids on Computers, Inc.
Removing image and attachment so this can be posted to the list. All info
including attachments is also here: https://github.com/
On Tue, Mar 27, 2018 at 4:18 AM, Avni Khatri <avni(a)kidsoncomputers.org>
> 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.
> Date: Mon, 26 Mar 2018 10:01:50 +0200
> From: Matthieu Gautier <mgautier(a)kymeria.fr>
> To: offline-l(a)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(a)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
> 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`
> 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)
> Matthieu Gautier.
> On Mon, Mar 26, 2018 at 3:48 AM, Emmanuel Engelhart <kelson(a)kiwix.org>
>> 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.
>> Kiwix - Wikipedia Offline & more
>> * Web: http://www.kiwix.org
>> * Twitter: https://twitter.com/KiwixOffline
>> * more: http://www.kiwix.org/wiki/Communication