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


Groups > gnu.bash.bug > #14792 > unrolled thread

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

Started byJohn Frankish <john.frankish@outlook.com>
First post2018-11-11 11:34 +0000
Last post2018-11-11 11:34 +0000
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug


Contents

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

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

FromJohn Frankish <john.frankish@outlook.com>
Date2018-11-11 11:34 +0000
Subjectbash will not link against ncursesw and readline in /usr/local
Message-ID<mailman.3871.1541940990.1284.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web