Thomas01 writes

/configure command output:

everything OK, except this:

checking for X… no

Make command give exception:

g++ -M -g -O2 -I. -I../aspell -I../bincimapmime -I../common -I../index -I../internfile -I../rcldb -I../unac -I../utils -Wall -Wno-unused -I/usr/local/lib/../include -DRECOLL_DATADIR=\"/usr/local/share/recoll\" -DLIBDIR=\"/usr/local/lib\" -fPIC -DPIC -DHAVE_CONFIG_H -D_GNU_SOURCE ../utils/x11mon.cpp > x11mon.dep ../utils/x11mon.cpp:7:22: error: X11/Xlib.h: No such file or directory make[1]: * [x11mon.dep.stamp] Error 1 make[1]: Leaving directory ‘/opt/recoll/recoll-1.19.12/lib’ make: * [all] Error 2

medoc writes

configure --disable-qtgui --disable-x11mon

Thomas01 writes

Now make command give other exception:

#!bash

g++ -g -O2 -I. -I../aspell -I../bincimapmime -I../common -I../index -I../internfile -I../rcldb -I../unac -I../utils  -Wall -Wno-unused -I/usr/local/lib/../include   -DRECOLL_DATADIR=\"/usr/local/share/recoll\" -DLIBDIR=\"/usr/local/lib\" -fPIC -DPIC -DHAVE_CONFIG_H -D_GNU_SOURCE  -c ../rcldb/rcldb.cpp
../rcldb/rcldb.cpp: In member function ‘bool Rcl::Db::dbStats(Rcl::DbStats&)’:
../rcldb/rcldb.cpp:2003: error: ‘class Xapian::Database’ has no member named ‘get_doclength_lower_bound’
../rcldb/rcldb.cpp:2003: error: ‘class Xapian::Database’ has no member named ‘get_doclength_upper_bound’
make[1]: *** [rcldb.o] Error 1
make[1]: Leaving directory `/opt/recoll/recoll-1.19.12/lib'
make: *** [all] Error 2

Thomas01 writes

medoc writes

/configure --disable-qtgui --disable-x11mon

What Xapian version are you using ?

medoc writes

Xapian version issue

Thomas01 writes

Now install 1.2.17 (configure, make, make-install)

Thomas01 writes

make command error

medoc writes

You are missing the Python development libraries. Or you can configure with --disable-python-module

Thomas01 writes

This solve the problem: apt-get install python-dev

Thank you for your helping!

medoc writes

Solved