[Top][All Lists]

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

Re: specifying readline location & ignoring libdir...?

From: Chet Ramey
Subject: Re: specifying readline location & ignoring libdir...?
Date: Wed, 16 Nov 2016 13:32:26 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/16/16 12:48 PM, L A Walsh wrote:

> ---
>    I suspected as much, which makes these settings all the
> more important ... these 2 things:
>    1) How is the location for readline-7.0 specified?

Using the --with-installed-readline argument to `configure'.  Configure
assumes that you want to use the default version of readline installed in
some library directory, the prefix for which you specify as an argument
to this option.  So, for instance, if you have installed readline-7.0
(either by yourself or using some package manager) in
/usr/local/gnu/lib/libreadline.a, you can run

configure --with-installed-readline=/usr/local/gnu

to have bash link with that version instead of the one in the bash source

This is, admittedly, oriented towards users and distros who want bash to
use a system version of readline instead of its private copy.  That was
the reason it was added.

If you want to roll your own build using some other directory, you can set
the make variables


which are the build and source directories for your local version of
readline, respectively.

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

reply via email to

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