Red Hat Bugzilla – Bug 3869
problems with programs written in c++ and using ncurses
Last modified: 2008-05-01 11:37:51 EDT
There are problems with programs written in c++ and using
ncurses in Redhat Linux 6.0. You'd change in the build
section of spec file as follows:
CFLAGS="$RPM_OPT_FLAGS -DPURE_TERMINFO" ./configure \
--with-normal --with-shared --with-debug \
--with-profile --with-cxx --without-ada \
We know of several programs written in C++ which use ncurses and
which work fine in 6.0. Could you please supply more specifics
about what programs aren't working for you and what the problems
See le-1.5.0-1.src.rpm package on contrib.redhat.com/libc6.
I had no problem compiling the le package, other than the fact that it
uses the old %attr(mode) format, where it should use
%attr(mode,owner,group) format. This is why packaging the RPM fails.
Not the building is the problem but using. The screen handling is
buggy if ncurses is compiled without --with-cxx (e.g. scrolling
down and up fills my screen with the status bar). Ask the author of
the program Alexander V. Lukyanov <email@example.com>. He suggested
I have problems with le even when ncurses is compiled with
"--with-cxx" instead of "--without-cxx". I don't think the problem
lies there. the --with-cxx only changes one thing -- it builds the
C++ demos. It doesn't enable/disable cxx support.
This seems to be an le problem, not an ncurses problem, as far as my
I rebuilt the ncurses package with --with-cxx, install it and after it
I built le-1.5.2-1.src.rpm package on contrib.redhat.com/libc6 and it
ncurses has been fixed for this in 6.2 and later.