View Single Post
Old 06-28-2021, 10:29 AM   #1
komple
Junior Member
komple began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2021
Device: none
Building Calibre

Hi
I'm trying to build but getting this error:
./setup.py install

*
* Running build
*

Building 25 extensions
Compiling 15 files...
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.9 -O3 -std=c++14 -DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject* -I/root/src/calibre-5.22.1/src/ -I/usr/include/libstemmer -c /root/src/calibre-5.22.1/src/calibre/db/sqlite_extension.cpp -o /root/src/calibre-5.22.1/build/objects/sqlite_extension/sqlite_extension.o
/root/src/calibre-5.22.1/src/calibre/db/sqlite_extension.cpp:25:10: fatal error: libstemmer.h: No such file or directory
25 | #include <libstemmer.h>
| ^~~~~~~~~~~~~~
compilation terminated.

libstemmer.h is installed and can be found in /usr/include/libstemmer

Does anyone have idea what is wrong?


Regards
komple is offline   Reply With Quote