Hi - 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). But I am having trouble with *meson*. Meson requires python 3.5+ so we installed python 3.6 from source (via https://danieleriksson.net/2017/02/08/how-to-install-latest-python-on-centos/ ). Meson (finally) was successfully installed that way, but now am running into the following error when running "meson . build" as instructed to do so here: https://github.com/kiwix/kiwix-lib. *Error during basic setup: Neither directory contains a build file meson.build* Based on searching the web, it seems like this command requires the source existing thought it seems per here: https://github.com/kiwix/kiwix-tools/issues/158 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 /opt/kiwix/data/library/library.xml add /media/esata/MEDIA/System/Kiwix/data/content/wikipedia_en_for-schools_2013-01.zim" * Would appreciate any guidance on how to proceed. Many thanks. Avni On Tue, Mar 6, 2018 at 7:00 PM, Adam Holt <[email protected]> wrote: > On Mar 6, 2018 6:26 PM, "Avni Khatri" <[email protected]> wrote: > > Hi all - > > As part of the Haiti trip, we are looking for help getting Kiwix > (kiwis-tools) > > > 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 > <http://wiki.laptop.org/go/Hardware_specification_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 > /kiwix-build/issues/94 > > 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: > > https://sourceforge.net/p/kiwix/bugs/478/ > > The original fix was in: > kiwix/kiwix-xulrunner@4e6bd8d > <https://github.com/kiwix/kiwix-xulrunner/commit/4e6bd8d806eda6b1b4959259dc30a157533e2cb2> > > I recommend to build straight forward i686 and i585 without the SSE(2) > instruction set, which means with the GCC option -mno-sse" > https://github.com/kiwix/kiwix-build/issues/94#issuecomment-347178452 > > Please let Adam and I know if you can help. Many thanks for considering. > > Avni Khatri > Kids on Computers, Inc. > http://kidsoncomputers.org/blog > > >
_______________________________________________ Offline-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/offline-l
