Issue of building xapian-core on UBUNTU

Александр cool.ipatovo at
Mon Nov 6 09:19:00 GMT 2017

Hi all. I tried to build xapian-core on UBUNTU by following instructions
from site. If to be more exact, I made actions:

1) cloning project
2) installing zlib
2) cd to <xapian-name>/xapian-core
3) execute command autoconf (executed successfully)
4) execute command ./configure (shows big log, but I didn't find any errors
from it)
5) execute command make

During executing make I am getting following error:

depbase=`echo api/compactor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
>> -I./common -I./include   -Wall -W -Wredundant-decls -Wpointer-arith
>> -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef
>> -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1
>> -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self
>> -fvisibility=hidden -g -O2 -std=gnu++11 -MT api/compactor.lo -MD -MP -MF
>> $depbase.Tpo -c -o api/compactor.lo api/ &&\
> mv -f $depbase.Tpo $depbase.Plo
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./common -I./include -Wall -W
>> -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align
>> -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual
>> -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op
>> -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden
>> -g -O2 -std=gnu++11 -MT api/compactor.lo -MD -MP -MF
>> api/.deps/compactor.Tpo -c api/  -fPIC -DPIC -o
>> api/.libs/compactor.o
> In file included from api/postlist.h:32:0,
>                  from api/leafpostlist.h:25,
>                  from api/
> ./weight/weightinternal.h:28:26: fatal error: xapian/error.h: No such file
>> or directory
> compilation terminated.
> Makefile:2621: recipe for target 'api/compactor.lo' failed
> make[2]: *** [api/compactor.lo] Error 1
 I am really did not find any error.h file on system. It seems like build
system is failed? Am I right? or may be I did wrong instruction?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Xapian-devel mailing list