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

From John Frankish <john.frankish@outlook.com>
Newsgroups gnu.bash.bug
Subject bash will not link against ncursesw and readline in /usr/local
Date 2018-11-11 11:34 +0000
Message-ID <mailman.3871.1541940990.1284.bug-bash@gnu.org> (permalink)

Show all headers | 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