bug-bash
[Top][All Lists]
Advanced

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

Bash 5.1 and Ncurses


From: Jeffrey Walton
Subject: Bash 5.1 and Ncurses
Date: Fri, 15 Jan 2021 00:12:04 -0500

Hi Everyone,

I configured Bash 5.1 with prefix=/usr/local, --with-curses and
--enable-multibyte. The link failed with undefined references, like
tputs. I have the wide char Ncurses built and installed in /usr/local.
I found I needed to add -ltinfow to LIBS and LDLIBS for the build to
succeed.

I'm pretty sure we are supposed to use the wide character version of
Ncurses nowadays. I believe the wide character version supplies both
multibyte and single byte functions, so it should just work with all
software nowadays.

It seems like configure should be able to find the Ncurses library.
Maybe Ncurses needs one of those  --with-libncurses-prefix.

Jeff



reply via email to

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