Red Hat Bugzilla – Bug 436355
Test files for ncurses-devel can't be built
Last modified: 2008-03-07 08:44:32 EST
Description of problem:
The package ncurses-devel installs a directory full of examples and tests under
/usr/share/doc/ncurses-devel-<version>/test, but those can't be built:
$ cp -R /usr/share/doc/ncurses-devel-5.6/test/ /tmp
$ cd /tmp/test/
./configure is not executable, running it errors out (old autoconf stuff?)
For e.g. blue, the file states to compile by:
cc -O blue.c -lcurses -o blue
This should be (it includes local files):
gcc -I. -O blue.c -lncurses -o blue
but that fails due to missing test.priv.h
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Sorry, turned an incomplete report in.
Fixing up the source I got blue to build (I needed it for another report).
In ncurses-5.6-16.20080301.fc9 the missing install-sh was added to the test
directory. Documentation shouldn't have executable files, but sh ./configure &&
make should work now.
Thanks for the report.