Re: make distclean breaks "later "configure && makes"", i.e., removes a
From:
Martijn Dekker
Subject:
Re: make distclean breaks "later "configure && makes"", i.e., removes a file in distro that a build needs (cannot process parse.y)
Date:
Wed, 14 Feb 2018 14:34:59 +0100
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
Op 14-02-18 om 14:29 schreef Greg Wooledge:
> On Wed, Feb 14, 2018 at 01:03:05PM +0100, Michael Felt wrote:
>> If after a successful build, I run "make distclean" - "./configure && make"
>> no longer works.
>
>> configure: WARNING: bison not available; needed to process parse.y
>> + /usr/bin/make > .buildaix/make.out
>> yacc: not found
>
> You need to install the bison package. The tarballs of bash source
> include an already-processed yacc file, but "make distclean" removes
> that, and you need bison (or yacc, but bison is preferred) to recreate
> it.
But isn't it the point of "make distclean" to delete everything *except*
the files that come with the tarball distribution?
- M.