[opensuse-packaging] Warning: Change in the Ncurses package
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 libncurses5 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
version:).
Werner
--
Dr. Werner Fink
participants (1)
-
Dr. Werner Fink