bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make distclean and bash-4.4 - FYI


From: Chet Ramey
Subject: Re: make distclean and bash-4.4 - FYI
Date: Wed, 31 Oct 2018 15:24:56 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]