Re: Bootstrap failed

Aman <[email protected]> Fri, 11 Dec 2020 05:30:22 +0000
Newsgroups gmane.comp.search.xapian.devel
Message-ID <CAAQYch0-8cBFL-Q6NLDwR=tuxq9gQJnnrG7c=hO=x2K5MytFDw@mail.gmail.com>
--000000000000ed517305b6299838
Content-Type: text/plain; charset="UTF-8"

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 <[email protected]> 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
>

--000000000000ed517305b6299838
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"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/ylw=
rap: line 176: yacc: command not found<br>make[2]: *** [Makefile:1003: CPar=
se/parser.c] Error 127<br>make[2]: Leaving directory &#39;/home/ubuntu/xapi=
an/swig/Source&#39;<br>make[1]: *** [Makefile:37: source] Error 2<br>make[1=
]: Leaving directory &#39;/home/ubuntu/xapian/swig&#39;<br>make: *** [Makef=
ile:9: all] Error 2<br> </div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Thu, Dec 10, 2020 at 7:57 PM Olly Betts &l=
t;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Dec 10, 2020 at=
 01:49:57PM +0000, Aman wrote:<br>
&gt; What should I do to remove the errors?<br>
&gt; <br>
&gt; Configuring autoconf<br>
&gt; checking for a BSD-compatible install... /usr/bin/install -c<br>
&gt; checking whether build environment is sane... yes<br>
&gt; checking for a thread-safe mkdir -p... /usr/bin/mkdir -p<br>
&gt; checking for gawk... no<br>
&gt; checking for mawk... mawk<br>
&gt; checking whether make sets $(MAKE)... yes<br>
&gt; checking build system type... x86_64-unknown-linux-gnu<br>
&gt; checking host system type... x86_64-unknown-linux-gnu<br>
&gt; configure: autobuild project... GNU Autoconf<br>
&gt; configure: autobuild revision... 2.69<br>
&gt; configure: autobuild hostname... ubuntu<br>
&gt; configure: autobuild timestamp... 20201210T134401Z<br>
&gt; checking whether /bin/sh -n is known to work... no<br>
&gt; checking for characters that cannot appear in file names... none<br>
&gt; checking whether directories can have trailing spaces... yes<br>
&gt; checking for expr... /usr/bin/expr<br>
&gt; checking for GNU M4 that supports accurate traces... configure: error:=
 no<br>
&gt; acceptable m4 could be found in $PATH.<br>
&gt; GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.<br>
&gt; GNU M4 1.4.15 uses a buggy replacement strstr on some systems.<br>
&gt; Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.<b=
r>
<br>
It sounds like you don&#39;t have GNU m4 installed (the output suggests<br>
you&#39;re running Ubuntu, and all supported versions of Ubuntu have m4 &gt=
;=3D<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=3D"https://xapian-developer-guide.readthedocs.io/en/latest/getting-=
started/index.html#debian-ubuntu" rel=3D"noreferrer" target=3D"_blank">http=
s://xapian-developer-guide.readthedocs.io/en/latest/getting-started/index.h=
tml#debian-ubuntu</a><br>
<br>
Cheers,<br>
=C2=A0 =C2=A0 Olly<br>
</blockquote></div>

--000000000000ed517305b6299838--