[SM-Discuss] ncurses fixincludes problem

Julian v. Bock julian at openit.de
Sat Nov 2 15:05:11 EST 2002


Hi

If you have updated ncurses to version 5.3 after the latest gcc build,
you might get build errors when trying to compile spells which use
ncurses.

The problem is that gcc tries to fix headers it finds on the system
which might cause in some way trouble and stores them in a private
directory. This include directory is used before /usr/include, and
ncurses.h has (of course) not been updated in this directory.

To make things work again remove
/usr/lib/gcc-lib/*/3.2/include/ncurses.h

The /usr/include/ncurses.h header will be used afterwards but this
should not be a problem in this case. If you get strange compilation
errors in ncurses.h, rebuild gcc.

Julian



More information about the SM-Discuss mailing list