{"action":"created","issue":{"url":"https://api.github.com/repos/kiwix/kiwix-lib/issues/86","repository_url":"https://api.github.com/repos/kiwix/kiwix-lib","labels_url":"https://api.github.com/repos/kiwix/kiwix-lib/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/kiwix/kiwix-lib/issues/86/comments","events_url":"https://api.github.com/repos/kiwix/kiwix-lib/issues/86/events","html_url":"https://github.com/kiwix/kiwix-lib/issues/86","id":254006127,"number":86,"title":"Compilation errors on Ubuntu 14.04","user":{"login":"callumapplsys","id":31479067,"avatar_url":"https://avatars1.githubusercontent.com/u/31479067?v=4","gravatar_id":"","url":"https://api.github.com/users/callumapplsys","html_url":"https://github.com/callumapplsys","followers_url":"https://api.github.com/users/callumapplsys/followers","following_url":"https://api.github.com/users/callumapplsys/following{/other_user}","gists_url":"https://api.github.com/users/callumapplsys/gists{/gist_id}","starred_url":"https://api.github.com/users/callumapplsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumapplsys/subscriptions","organizations_url":"https://api.github.com/users/callumapplsys/orgs","repos_url":"https://api.github.com/users/callumapplsys/repos","events_url":"https://api.github.com/users/callumapplsys/events{/privacy}","received_events_url":"https://api.github.com/users/callumapplsys/received_events","type":"User","site_admin":false},"labels":[{"id":471895028,"url":"https://api.github.com/repos/kiwix/kiwix-lib/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"mgautierfr","id":86161,"avatar_url":"https://avatars0.githubusercontent.com/u/86161?v=4","gravatar_id":"","url":"https://api.github.com/users/mgautierfr","html_url":"https://github.com/mgautierfr","followers_url":"https://api.github.com/users/mgautierfr/followers","following_url":"https://api.github.com/users/mgautierfr/following{/other_user}","gists_url":"https://api.github.com/users/mgautierfr/gists{/gist_id}","starred_url":"https://api.github.com/users/mgautierfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgautierfr/subscriptions","organizations_url":"https://api.github.com/users/mgautierfr/orgs","repos_url":"https://api.github.com/users/mgautierfr/repos","events_url":"https://api.github.com/users/mgautierfr/events{/privacy}","received_events_url":"https://api.github.com/users/mgautierfr/received_events","type":"User","site_admin":false},"assignees":[{"login":"mgautierfr","id":86161,"avatar_url":"https://avatars0.githubusercontent.com/u/86161?v=4","gravatar_id":"","url":"https://api.github.com/users/mgautierfr","html_url":"https://github.com/mgautierfr","followers_url":"https://api.github.com/users/mgautierfr/followers","following_url":"https://api.github.com/users/mgautierfr/following{/other_user}","gists_url":"https://api.github.com/users/mgautierfr/gists{/gist_id}","starred_url":"https://api.github.com/users/mgautierfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgautierfr/subscriptions","organizations_url":"https://api.github.com/users/mgautierfr/orgs","repos_url":"https://api.github.com/users/mgautierfr/repos","events_url":"https://api.github.com/users/mgautierfr/events{/privacy}","received_events_url":"https://api.github.com/users/mgautierfr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-08-30T13:49:58Z","updated_at":"2017-09-04T09:04:01Z","closed_at":null,"author_association":"NONE","body":"I've tried to build `kiwix-lib` on Ubuntu 14.04 yet I get the following:\r\n\r\n```\r\n$ ~/bin/ninja \r\n[1/4] c++  -Isrc/kiwix@sha -Isrc -Istatic -I../src -Iinclude -I../include -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/usr/local/include/pugixml-1.8 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -fPIC -pthread -MMD -MQ 'src/kiwix@sha/reader.cpp.o' -MF 'src/kiwix@sha/reader.cpp.o.d' -o 'src/kiwix@sha/reader.cpp.o' -c ../src/reader.cpp\r\nFAILED: src/kiwix@sha/reader.cpp.o \r\nc++  -Isrc/kiwix@sha -Isrc -Istatic -I../src -Iinclude -I../include -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/usr/local/include/pugixml-1.8 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -fPIC -pthread -MMD -MQ 'src/kiwix@sha/reader.cpp.o' -MF 'src/kiwix@sha/reader.cpp.o.d' -o 'src/kiwix@sha/reader.cpp.o' -c ../src/reader.cpp\r\n../src/reader.cpp: In member function ‘bool kiwix::Reader::hasFulltextIndex() const’:\r\n../src/reader.cpp:593:29: error: ‘class zim::File’ has no member named ‘is_multiPart’\r\n         && !zimFileHandler->is_multiPart() );\r\n                             ^\r\n../src/reader.cpp: In member function ‘bool kiwix::Reader::searchSuggestionsSmart(const string&, unsigned int)’:\r\n../src/reader.cpp:696:36: error: ‘class zim::File’ has no member named ‘suggestions’\r\n       = this->getZimFileHandler()->suggestions(prefix, 0, suggestionsCount);\r\n                                    ^\r\n../src/reader.cpp: In member function ‘bool kiwix::Reader::hasFulltextIndex() const’:\r\n../src/reader.cpp:594:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n }\r\n ^\r\n^[[B[2/4] c++  -Isrc/kiwix@sha -Isrc -Istatic -I../src -Iinclude -I../include -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/usr/local/include/pugixml-1.8 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -fPIC -pthread -MMD -MQ 'src/kiwix@sha/searcher.cpp.o' -MF 'src/kiwix@sha/searcher.cpp.o.d' -o 'src/kiwix@sha/searcher.cpp.o' -c ../src/searcher.cpp\r\nFAILED: src/kiwix@sha/searcher.cpp.o \r\nc++  -Isrc/kiwix@sha -Isrc -Istatic -I../src -Iinclude -I../include -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/usr/local/include/pugixml-1.8 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -fPIC -pthread -MMD -MQ 'src/kiwix@sha/searcher.cpp.o' -MF 'src/kiwix@sha/searcher.cpp.o.d' -o 'src/kiwix@sha/searcher.cpp.o' -c ../src/searcher.cpp\r\n../src/searcher.cpp: In member function ‘void kiwix::Searcher::suggestions(std::string&, bool)’:\r\n../src/searcher.cpp:232:13: error: ‘class zim::Search’ has no member named ‘set_suggestion_mode’\r\n     search->set_suggestion_mode(true);\r\n             ^\r\n../src/searcher.cpp: In member function ‘virtual int kiwix::_Result::get_readerIndex()’:\r\n../src/searcher.cpp:295:19: error: ‘zim::Search::iterator’ has no member named ‘get_fileIndex’\r\n   return iterator.get_fileIndex();\r\n                   ^\r\n../src/searcher.cpp:296:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n }\r\n ^\r\n[3/4] c++  -Isrc/kiwix@sha -Isrc -Istatic -I../src -Iinclude -I../include -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/usr/local/include/pugixml-1.8 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -O0 -g -fPIC -pthread -MMD -MQ 'src/kiwix@sha/manager.cpp.o' -MF 'src/kiwix@sha/manager.cpp.o.d' -o 'src/kiwix@sha/manager.cpp.o' -c ../src/manager.cpp\r\nninja: build stopped: subcommand failed.\r\n```\r\n\r\nI got libzim from http://www.openzim.org/download/libzim-2.0.0.tar.gz and Xapian by installing the `libxapian-dev` package."},"comment":{"url":"https://api.github.com/repos/kiwix/kiwix-lib/issues/comments/326907941","html_url":"https://github.com/kiwix/kiwix-lib/issues/86#issuecomment-326907941","issue_url":"https://api.github.com/repos/kiwix/kiwix-lib/issues/86","id":326907941,"user":{"login":"mgautierfr","id":86161,"avatar_url":"https://avatars0.githubusercontent.com/u/86161?v=4","gravatar_id":"","url":"https://api.github.com/users/mgautierfr","html_url":"https://github.com/mgautierfr","followers_url":"https://api.github.com/users/mgautierfr/followers","following_url":"https://api.github.com/users/mgautierfr/following{/other_user}","gists_url":"https://api.github.com/users/mgautierfr/gists{/gist_id}","starred_url":"https://api.github.com/users/mgautierfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgautierfr/subscriptions","organizations_url":"https://api.github.com/users/mgautierfr/orgs","repos_url":"https://api.github.com/users/mgautierfr/repos","events_url":"https://api.github.com/users/mgautierfr/events{/privacy}","received_events_url":"https://api.github.com/users/mgautierfr/received_events","type":"User","site_admin":false},"created_at":"2017-09-04T09:04:01Z","updated_at":"2017-09-04T09:04:01Z","author_association":"MEMBER","body":"Hello @callumapplsys.\r\n\r\nThe `master` branch of `kiwix-lib` doesn't compile with the released version of `libzim`.\r\nI've made API changed and you need to `master` version of `libzim`.\r\n\r\nYou can compile it yourself if you what, or you can use the `kiwix-build` repository. It provide a script that download and compile everything using the `master` branch of kiwix and openzim projects."}}
{"actor":{"display_login":"mgautierfr"}}