Kiwix relies on many open source libraries to compile. If it does not compile this probably means one of these libraries is not available. Check the configure log file. Some of the libraries you may miss: