Bootstrap failed

Aman amanatman at gmail.com
Fri Dec 11 05:30:22 GMT 2020


I appreciate the help. I was able to bootstrap.
what to do resolve the below issue?
../Tools/config/ylwrap: line 176: yacc: command not found
make[2]: *** [Makefile:1003: CParse/parser.c] Error 127
make[2]: Leaving directory '/home/ubuntu/xapian/swig/Source'
make[1]: *** [Makefile:37: source] Error 2
make[1]: Leaving directory '/home/ubuntu/xapian/swig'
make: *** [Makefile:9: all] Error 2

On Thu, Dec 10, 2020 at 7:57 PM Olly Betts <olly at survex.com> wrote:

> On Thu, Dec 10, 2020 at 01:49:57PM +0000, Aman wrote:
> > What should I do to remove the errors?
> >
> > Configuring autoconf
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> > checking for gawk... no
> > checking for mawk... mawk
> > checking whether make sets $(MAKE)... yes
> > checking build system type... x86_64-unknown-linux-gnu
> > checking host system type... x86_64-unknown-linux-gnu
> > configure: autobuild project... GNU Autoconf
> > configure: autobuild revision... 2.69
> > configure: autobuild hostname... ubuntu
> > configure: autobuild timestamp... 20201210T134401Z
> > checking whether /bin/sh -n is known to work... no
> > checking for characters that cannot appear in file names... none
> > checking whether directories can have trailing spaces... yes
> > checking for expr... /usr/bin/expr
> > checking for GNU M4 that supports accurate traces... configure: error: no
> > acceptable m4 could be found in $PATH.
> > GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
> > GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
> > Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
>
> It sounds like you don't have GNU m4 installed (the output suggests
> you're running Ubuntu, and all supported versions of Ubuntu have m4 >=
> 1.4.16, so it seems m4 is missing rather than too old).
>
> Did you install the list of packages the developer guide gives?
>
>
> https://xapian-developer-guide.readthedocs.io/en/latest/getting-started/index.html#debian-ubuntu
>
> Cheers,
>     Olly
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20201211/69b11913/attachment.htm>


More information about the Xapian-devel mailing list