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


Groups > gnu.bash.bug > #14791

bash will not link against ncursesw and readline in /usr/local

Path csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From John Frankish <john.frankish@outlook.com>
Newsgroups gnu.bash.bug
Subject bash will not link against ncursesw and readline in /usr/local
Date Sun, 11 Nov 2018 11:42:52 +0000
Lines 30
Approved bug-bash@gnu.org
Message-ID <mailman.3870.1541940990.1284.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1541940990 7937 208.118.235.17 (11 Nov 2018 12:56:30 GMT)
X-Complaints-To action@cs.stanford.edu
To "bug-bash@gnu.org" <bug-bash@gnu.org>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BYyNIfFIfI+r0wwVtwq81luRs1iBZSV1LrorqxLndiw=; b=slqxGO1uxteh+w4cpWlrPpw5jcpRy2lAw69JkZOQfvRlebXhfY8J9HIbUwbQ5nZFteIlc6+CmcmKo+WrFkG3Jv78MnYn8jhfp7yDANDJo+EUPUMjiaiLNHwypXSzmhIoTGoqOhzy3jfOKHLe2Ph6hhJo3f90PFLkqbKhbpZEUmd1J5Pmf7MRKnItKYUHdAgTer2J0rR2rJ85L/b6UpHMVklI298RqpcvPFa2tsMktjSLhhiSmMgPy+zNRSpHiwUA7hRgtVUoh/2Py1qPtBkknXRRZ5S7swdK+HO3QqSF3/7oTI9lm89kh6VxJQG4Dd0Zctn4BGk9yKtNIJJvC+XS2w==
Thread-Topic bash will not link against ncursesw and readline in /usr/local
Thread-Index AdR5sVFl47L85iIOSH6AN82mHZ5Nlg==
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-incomingtopheadermarker OriginalChecksum:427C936BB94CC0DB4C79C25DF564011814CA7289D8DA2DD5F90B28A85416BAF1; UpperCasedChecksum:554CD35A222E95D6A76F68CEFB8CDDA76D0B675F89B5079A4330EA79009461D6; SizeAsReceived:6859; Count:43
x-tmn [CrCKBbfuWqayJefnYeaHLMg+pP8TundH]
x-ms-publictraffictype Email
x-microsoft-exchange-diagnostics 1; HE1EUR02HT138; 6:P9uOOgDtxulbHdq0LXj1CFOllhMFBTr6+33jCJKR6n+8eBy/qIhBUv/YXbiMPPte+F7kecucrmHMc58HDGV54d/4+7U2w1u9ucpC/aLPzCZUi6d08o8MVABFIA2Wm03XQijCj/lEOO5AOUY1uWeYcrJYNVDYiC4ZAfh7eAuWHwOJuWZg1c7Fta6LPttqHPWJMB8mpBVC2FNltL9FlMPOsTxQy8CzxpAV9SAKgEanSiXKZoQAbjCer5TZM0olUm601RWPdB8BDvZ7fULOAx4anx7Hyt+6jSRpttNGLdnTVjKmxxWqWjOp/2b7BmZDMofGRlrp6jSBbyoQqlzG9pc/rN3fo9YaZxSc3+lb2KdcMfZXQWwV4eq7nhQMT+O9Ie1PEdlgd5oQAaYGoCHKeZR4YtJIUVGap+Ci/X/lH7BlTz4lRJU0eTGoIyxmqgPxbxQTTcWl3/36qsAWdcHGAvALPw==; 5:1bkqVbIp/dknKUtqi0pAqLfpfqdS4TsxUhWabCzh70Ats+reZ5vAc1W7Bke0dmwQFcElZgy3q2ClrKi7xSeg1F+jJ8GCIW1gdD6i4s4Z346BaRg0lCpxy/lKIGhijY2UUaZ5qm2CloKTwasaOb92NJ32VmuUFL75Ffgoe4P249s=; 7:So101YDR9ym0o93ZTtdiNEnCnQyF8En5IHJyC4IRRyDsd8Di2EiF7YnYrU7Yks8DN8qu9yImN5tr7t0IBIjDo3dpXepheCv9ASU/IOJ4+caAsgV4OcNOaH5VR28CQ/pkCWr3U+2plmTctPNQG+GMLA==
x-incomingheadercount 43
x-eopattributedmessage 0
x-microsoft-antispam BCL:0; PCL:0; RULEID:(2390040)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:HE1EUR02HT138;
x-ms-traffictypediagnostic HE1EUR02HT138:
x-exchange-antispam-report-cfa-test BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:HE1EUR02HT138; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR02HT138;
x-microsoft-antispam-message-info CgbAICd6ycm0gW8BSuRDytWS+/S9RQjiP+WZgbvzaCre7sf1XX8kEvagdQH3DixZ
X-OriginatorOrg outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg 9a4e3081-9524-43cf-bfc3-dcaef82d5da1
X-MS-Exchange-CrossTenant-Network-Message-Id 286e0c52-b103-4ef5-2fd7-08d647cad041
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg 9a4e3081-9524-43cf-bfc3-dcaef82d5da1
X-MS-Exchange-CrossTenant-originalarrivaltime 11 Nov 2018 11:42:52.1442 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader Internet
X-MS-Exchange-CrossTenant-id 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped HE1EUR02HT138
X-detected-operating-system by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From 40.92.68.84
X-Mailman-Approved-At Sun, 11 Nov 2018 07:56:29 -0500
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14791

Show key headers only | View raw


Using bash-4.4.18
Intel core i7 laptop running 32-bit or 64-bit linux
Using gcc-8.2.0

The configure script does not find libncursesw on a system where only the wide version of ncurses exists  - even when readine is linked against ncursesw.

The configure scripts does not find libreadline when it is compiled to /usr/local and when using the configure switch "--with-installed-readline=/usr/local"

The following seems to work, but it would be good if the configure script could manage without help

edit configure
5166: LIBS="-lncursesw  $LIBS"

5260: eval ac_cv_rl_includedir=/usr/local/include/readline
5261: eval ac_cv_rl_libdir=/usr/local/lib

5263: LIBS="$LIBS -lreadline -lncursesw"


./configure --prefix=/usr/local --without-bash-malloc --with-installed-readline=/usr/local ac_cv_lib_ncurses_tgetent=true

make
make install

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


Thread

bash will not link against ncursesw and readline in /usr/local John Frankish <john.frankish@outlook.com> - 2018-11-11 11:42 +0000

csiph-web