[Top][All Lists]

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

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

From: John Frankish
Subject: bash will not link against ncursesw and readline in /usr/local
Date: Sun, 11 Nov 2018 11:34:57 +0000

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 

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 install

reply via email to

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