Closed Larivact closed 5 years ago
I am using the latest NSPR 4.13.1 which has its headers under /usr/include/nspr/.
/usr/include/nspr/
Steps to reproduce:
git clone https://github.com/kiwix/kiwix.git cd kiwix ./autogen.sh ./configure make
In file included from /usr/lib/xulrunner-devel-41.0.2/include/nsISupportsUtils.h:14:0, from /usr/lib/xulrunner-devel-41.0.2/include/nsISupports.h:123, from /usr/lib/xulrunner-devel-41.0.2/include/nsIFactory.h:10, from /usr/lib/xulrunner-devel-41.0.2/include/mozilla/Module.h:12, from /usr/lib/xulrunner-devel-41.0.2/include/mozilla/ModuleUtils.h:10, from zimAccessor.cpp:38: /usr/lib/xulrunner-devel-41.0.2/include/nsISupportsImpl.h:18:60: fatal error: prthread.h: No such file or directory #include "prthread.h" /* needed for thread-safety checks */ ^ compilation terminated. make[4]: *** [Makefile:650: libZimAccessor_la-zimAccessor.lo] Error 1 make[4]: Leaving directory '/home/larivact/kiwix/src/components/zimAccessor' make[3]: *** [Makefile:509: all] Error 2 make[3]: Leaving directory '/home/larivact/kiwix/src/components/zimAccessor' make[2]: *** [Makefile:479: all-recursive] Error 1 make[2]: Leaving directory '/home/larivact/kiwix/src/components' make[1]: *** [Makefile:491: all-recursive] Error 1 make[1]: Leaving directory '/home/larivact/kiwix/src' make: *** [Makefile:554: all-recursive] Error 1
Please follow the instruction of the README (static compilation).
Kiwix-xulrunner is deprecated. Kiwix Desktop 2.0 (kiwix-desktop repo) has replaced it and has its own inscrution for compilation.
I am using the latest NSPR 4.13.1 which has its headers under
/usr/include/nspr/
.Steps to reproduce: