bug-bash
[Top][All Lists]
Advanced

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

Re: Enable compgen even when programmable completions are not available?


From: Chet Ramey
Subject: Re: Enable compgen even when programmable completions are not available?
Date: Mon, 3 Jul 2023 12:05:14 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

On 7/3/23 2:33 AM, Fabian Groffen wrote:

This is a Gentoo-specific problem.  When we are bootstrapping a Prefix,
we need an updated bash very early on in the process.  On some systems,
we experienced compilation failures in the readline component.  Since
this interactive part isn't important at this point (the bootstrapped
bash is simply used for executing scripts, and replaced as soon as we
can with a proper-built one via an ebuild instead) I decided to work
around compilation and runtime problems we've seen on e.g. Darwin 9 and
use --disable-readline (and --without-bash-malloc on musl).

That said, this really is a workaround.  If the bundled readline would
have compiled and linked fine, I'd never disabled it for the moment.
I'll see if I can check this week if the system in question will compile
a newer version or any version with readline.

I'd be interested in seeing what the compilation or linking issues are.
If we have a complete dev environment -- one that's capable of compiling
bash, which is more demanding of the environment than readline -- we
should be able to fix whatever readline compilation problems come up.

--
``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]