Issue of building xapian-core on UBUNTU

Александр cool.ipatovo at gmail.com
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/compactor.cc &&\
>
> 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/compactor.cc  -fPIC -DPIC -o
>> api/.libs/compactor.o
>
> In file included from api/postlist.h:32:0,
>
>                  from api/leafpostlist.h:25,
>
>                  from api/compactor.cc:44:
>
> ./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: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20171106/faf08858/attachment.html>


More information about the Xapian-devel mailing list