<div dir="ltr"><div>I appreciate the help. I was able to bootstrap. <br></div><div>what to do resolve the below issue?</div><div>../Tools/config/ylwrap: line 176: yacc: command not found<br>make[2]: *** [Makefile:1003: CParse/parser.c] Error 127<br>make[2]: Leaving directory '/home/ubuntu/xapian/swig/Source'<br>make[1]: *** [Makefile:37: source] Error 2<br>make[1]: Leaving directory '/home/ubuntu/xapian/swig'<br>make: *** [Makefile:9: all] Error 2<br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 10, 2020 at 7:57 PM Olly Betts <<a href="mailto:olly@survex.com">olly@survex.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Dec 10, 2020 at 01:49:57PM +0000, Aman wrote:<br>
> What should I do to remove the errors?<br>
> <br>
> Configuring autoconf<br>
> checking for a BSD-compatible install... /usr/bin/install -c<br>
> checking whether build environment is sane... yes<br>
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p<br>
> checking for gawk... no<br>
> checking for mawk... mawk<br>
> checking whether make sets $(MAKE)... yes<br>
> checking build system type... x86_64-unknown-linux-gnu<br>
> checking host system type... x86_64-unknown-linux-gnu<br>
> configure: autobuild project... GNU Autoconf<br>
> configure: autobuild revision... 2.69<br>
> configure: autobuild hostname... ubuntu<br>
> configure: autobuild timestamp... 20201210T134401Z<br>
> checking whether /bin/sh -n is known to work... no<br>
> checking for characters that cannot appear in file names... none<br>
> checking whether directories can have trailing spaces... yes<br>
> checking for expr... /usr/bin/expr<br>
> checking for GNU M4 that supports accurate traces... configure: error: no<br>
> acceptable m4 could be found in $PATH.<br>
> GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.<br>
> GNU M4 1.4.15 uses a buggy replacement strstr on some systems.<br>
> Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.<br>
<br>
It sounds like you don't have GNU m4 installed (the output suggests<br>
you're running Ubuntu, and all supported versions of Ubuntu have m4 >=<br>
1.4.16, so it seems m4 is missing rather than too old).<br>
<br>
Did you install the list of packages the developer guide gives?<br>
<br>
<a href="https://xapian-developer-guide.readthedocs.io/en/latest/getting-started/index.html#debian-ubuntu" rel="noreferrer" target="_blank">https://xapian-developer-guide.readthedocs.io/en/latest/getting-started/index.html#debian-ubuntu</a><br>
<br>
Cheers,<br>
    Olly<br>
</blockquote></div>