Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14753

Re: make distclean and bash-4.4 - FYI

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: make distclean and bash-4.4 - FYI
Date 2018-10-31 15:24 -0400
Message-ID <mailman.3179.1541013924.1284.bug-bash@gnu.org> (permalink)
References <4631d44f-ecec-d119-96db-982c9dcfad06@felt.demon.nl>

Show all headers | View raw


On 10/31/18 3:03 PM, Michael Felt wrote:
> Hi,
> 
> I finally got around to patching and packaging bash-4.4.23 and had to
> run a "make distclean" because I had copied the old version and without
> the make distclean make kept looking for "bashversion" in the old path
> .../bash-4.4.19/bashversion

The build directory is written to the Makefile so the build artifacts
(like bashversion) get removed from the right place. This is how you
support multiple build directories from a single source directory, for
instance.

> 
> This is just FYI - I'll install yacc, which is what make is complaining
> about now - but I also wonder if I could have avoided this by trying to
> build oot (out of tree). Is this supported, or even recommended?

You should install bison, not yacc, otherwise you'll run into problems
resulting from yacc's inability to support recursive parsers. And yes,
a build directory separate from the source directory is the recommended
configuration.

> Thanks for a great product!

Thanks for your kind words.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: make distclean and bash-4.4 - FYI Chet Ramey <chet.ramey@case.edu> - 2018-10-31 15:24 -0400

csiph-web