Re: Problem with lxdialog (make menuconfig) and ncurses
On 2003-12-12 12:45:32 +0100, Vincent Lefevre wrote:
> I wanted to compile a kernel, but when doing "make menuconfig", I got:
>
> There seems to be a problem with the lxdialog companion utility which is
> built prior to running Menuconfig. Usually this is an indicator that you
> have upgraded/downgraded your ncurses libraries and did not remove the
> old ncurses header file(s) in /usr/include or /usr/include/ncurses.
>
> It is VERY important that you have only one set of ncurses header files
> and that those files are properly version matched to the ncurses libraries
> installed on your machine.
> [...]
>
> What is this problem?
I finally found it: I transparently filter make's output to colorize
it. The problem is that here, make isn't only used to compile but also
to start the configuration program. I don't think that such a feature
is a good idea; is it standard? Moreover, why does the configuration
program send its data to stdout (or stderr) instead of the terminal
directly (since it's a ncurses program)?
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Reply to: