Mailinglist Archive: opensuse-packaging (111 mails)

< Previous Next >
[opensuse-packaging] Warning: Change in the Ncurses package
  • From: "Dr. Werner Fink" <werner@xxxxxxx>
  • Date: Thu, 10 Apr 2008 13:55:02 +0200
  • Message-id: <20080410115502.GA8147@xxxxxxxxxxxxx>
Hi all,

this is only relevant for packagers which have to uses the ncurses
library for their package other may skip this mail.

There is now a new sub package


split off from ncurses package its self which now includes all
shared libraries of ncurses. For linking with these libraries
the sub package ncurses-devel has to be installed.

The ncurses-devel package includes the headers of the normal as
well of the wide character version of ncurses.

>> There is *no* common /usr/include/(n)curses.h anymore! <<

The normal headers are placed in /usr/include/ whereas the wide
character support versions are located in /usr/include/ncursesw/.

>> Do *never* use the normal header with the wide libraries <<
>> do *never* use the wide header with the normal libraries <<

as the normal and wide version are binary *incompatible*.

To make this visible without changing the source code please use

CFLAGS="$CFLAGS $(ncursesw5-config --cflags)"
LDFLAGS="$LDFLAGS $(ncursesw5-config --libs)"

for building your packages (note the `w' after `ncurses').

The reason for this change is simple that in future the Ncurses
Libraries will not only have a normal and wide character version
but also thread safe version (which results into four different


Dr. Werner Fink <werner@xxxxxxx>
SuSE LINUX Products GmbH, Maxfeldstrasse 5, Nuernberg, Germany
GF: Markus Rex, HRB 16746 (AG Nuernberg)
phone: +49-911-740-53-0, fax: +49-911-3206727,
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages