Red Hat Bugzilla – Bug 609977
slang.h vs. slang/ subdirectory
Last modified: 2010-07-21 10:43:12 EDT
Description of problem:
The /usr/include/slang/slcurses.h file contains:
but it does not work because slang-devel uses slang/ subdirectory for all headers. The another problem is that
pkg-config --cflags slang
does not return -I/usr/include/slang.
I think the best way how to fix this problem is to use "#include <slang/slang.h>" in /usr/include/slang/slcurses.h.
It would be also nice to add -I/usr/include/slang to slang.pc.
The workaround is to explicitly include slang.h in all applications where is necessary slcurses.h, for example:
I didn't test it, but I guess that the same problem exists in F-13 rawhide and RHEL6.
A better solution might be moving the headers back to /usr/include as they are supposed to be and add symlinks to /usr/include/slang.
Fixed in slang-2.2.2-2.fc14.