Chapter 6, ncurses-5.2

Gerard Beekmans gerard at
Fri Mar 15 06:46:26 PST 2002

On Fri, Mar 15, 2002 at 10:27:34AM +0100, Frank Ganske wrote:
> Linux From Scratch: Version 3.2-rc2
> Chapter 6. Installing basic system software
> Installing Ncurses-5.2
> While installing LFS on a PowerPC Macintosh System, I have this Error:
> ../c++/ In method `int NCursesWindow::scanw(const char *, ...)':
> ../c++/ ANSI C++ forbids casting to an array type
> ../c++/ In method `int NCursesWindow::scanw(int, int, const char *, ...)':
> ../c++/ ANSI C++ forbids casting to an array type
> make[1]: *** [../obj_s/cursesw.o] Error 1
> make[1]: Leaving directory `/root/ncurses-5.2/c++'
> make: *** [all] Error 2
> In the INSTALL text of ncurses, i've found the config option "--without-cxx-binding". I think this disabed only the making of the c++ programms(?) of the test suite. 
> It works for the moment, but is this OK?

Yes. You need a patch to ncurses for PPC and I've no idea where to get one
from. Once upon a time there was a LFS-PPC versoin but it was removed
because nobody was maintaining it anymore. It used to have links to the
ncurses ppc patches. You can try to use the search engine at and see if you can find those old links
and hopefully they still work.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list