Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] ncurses fixincludes problem

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: julian AT openit.de (Julian v. Bock)
  • To: Source Mage <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] ncurses fixincludes problem
  • Date: Sat, 02 Nov 2002 21:05:11 +0100

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




Archive powered by MHonArc 2.6.24.

Top of Page