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


Groups > gnu.bash.bug > #14792

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:34:57 +0000
Lines 30
Approved bug-bash@gnu.org
Message-ID <mailman.3871.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 1541940991 7938 208.118.235.17 (11 Nov 2018 12:56:31 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=NHLWROpwE0Es6eF2IvOHJp2Ytf+TOJg3l2nUp3abBgbqYaP7IbvVlRNrciVcb/8TPNkg+cdQCLIFR5GyXvXdSxhnx/hmRiGCdomt3PRDVLylRa2H5brlVbhbw2dO4s6KPWOpCNKmN1vD/fBXkTgBdratCaNCQzHBkhredf7vejwuGLCKoSt9XL0gZ4Yk0tJCPwFWfuoUgQEqbP3OYmxixxp0I/JEUu91AWkRSVm62Ua8G5zdq6WUrl5KNV34LkQbDjD6llpMtQX+4Js4ZFcP6UQx8jnQ2TtwgIj4y+z11Y+YuY9jBnECXA4aC8zoAZDuwWe2iPA2GhRntyNHOsn/DA==
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:E1C73BED350A20B27327DA0E907F24C37E5DA2DAA106F37A2E2ABCCA0D905E4E; UpperCasedChecksum:C177EA918447E32D0E0E240CD6DB5D15868B178D33FA3B95DB86AA449DF162C1; SizeAsReceived:6862; Count:43
x-tmn [ugjYNBsbIFUHEyB+2pkN9X+JWGlWwIr1]
x-ms-publictraffictype Email
x-microsoft-exchange-diagnostics 1; HE1EUR02HT024; 6:HRH7o5jaXq+urMNbVgeD94hCQFXzj3zB3dZsSsIWSrO1xzsBVv3sd77kjCbJVAMjf7E/e6OGUJ8eladzkqGPbTB13ffAG70kiIpUEIi8dZ1GDIB9dX03bvnLyq0rPTCKaBQ8eXbsKQFykilt7YMWxCDzNvqXlRrwqnSmvGVKM7SI98/8ot/qIw0PLZgdLmiVEJ1xHlaLL53z02RmXFryBdKBLqD9K5wOk4aWsVvgynaTF62j8sXE7IIwnyQXXXeq9LQO5+gHF9SlT4ovMhkE2znr0Spt+haKgCk42+Jmf5Tm0zhpvCPrmcAfdFi38ouBKpJTDlBwoa63NLu9R5ARquyYvFWOFGJIw+NKuTZ2NbZkNXW/kzDmVB8uwri953CL1lDrmvEPt+AVTIkG+SzmMUDxYWBtrxBkZQfGpgh9/Xu0SCBh2JMUCsAqQiC7ck9ezVWEir3Ay1SHyw/PjNPh8w==; 5:dN6XcI3os3APhC4dPMw6lIfN8ILL7FnQQv1eAP2nD7mhcl+kqfSyBrlUs7LwU/3rbxhseeCRoLEPP+ZvjcYm93yfPgLxCcZxFIbJxLd36ugByUm7Ef+7A+aKLZv/N5nNoJEmMjFkzfCFSzVX0Gl1rVx83NXLerY5JAawgxLJ/vQ=; 7:o9nU6rEPUXeKhBLVKQOi0oKJMRe7742idSNfbEhSgQGc2SCvgDc58G7wrfd3IWYhDUbDKYHAZLT6CaM1QfF8li7T3gLxnjyU7zGuJaTmBdLlCAJYqsvC8jiCO0BZAhDyxzhNubNrS4MSBBI4AfTnJQ==
x-incomingheadercount 43
x-eopattributedmessage 0
x-microsoft-antispam BCL:0; PCL:0; RULEID:(2390040)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101475)(1601125500)(1701031045); SRVR:HE1EUR02HT024;
x-ms-traffictypediagnostic HE1EUR02HT024:
x-exchange-antispam-report-cfa-test BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:HE1EUR02HT024; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR02HT024;
x-microsoft-antispam-message-info pPt0msu2tdbQCvb1CPnT0TQg6gPZ01jIitPNHWjtcdq1Agu/KulEjXKtH0NLLzTW
X-OriginatorOrg outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg 9a4e3081-9524-43cf-bfc3-dcaef82d5da1
X-MS-Exchange-CrossTenant-Network-Message-Id e1a2c84a-5ee5-4d2e-c9d4-08d647c9b550
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg 9a4e3081-9524-43cf-bfc3-dcaef82d5da1
X-MS-Exchange-CrossTenant-originalarrivaltime 11 Nov 2018 11:34:57.4982 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader Internet
X-MS-Exchange-CrossTenant-id 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped HE1EUR02HT024
X-detected-operating-system by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From 40.92.68.103
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:14792

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:34 +0000

csiph-web