LFS CVS 20040219 - Problem compiling ncurses 5.4

Christoph Berg Christoph.Berg at kpm-sport.de
Sun Feb 22 05:08:44 PST 2004


Hello,

I started playing with the latest CVS today and everything works until
I start compiling the ncurses 5.4 package. The configure script is fine
and works as it should, but when I start make, I get the following output:

cd man && make DESTDIR="" all
make[1]: Entering directory `/mnt/hdb6/tools/build/ncurses-5.4/man'
sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5
./MKterminfo.sh: line 104:  1980 Illegal instruction     sort $temp >>$sorted
./MKterminfo.sh: line 104:  1982 Illegal instruction     sort $temp >>$sorted
./MKterminfo.sh: line 104:  1984 Illegal instruction     sort $temp >>$sorted
./MKterminfo.sh: line 104:  1987 Illegal instruction     sort $temp >>$sorted
./MKterminfo.sh: line 104:  1989 Illegal instruction     sort $temp >>$sorted
./MKterminfo.sh: line 104:  1991 Illegal instruction     sort $temp >>$sorted
make[1]: Leaving directory `/mnt/hdb6/tools/build/ncurses-5.4/man'
cd include && make DESTDIR="" all
make[1]: Entering directory `/mnt/hdb6/tools/build/ncurses-5.4/include'
cat curses.head >curses.h
AWK=mawk sh ./MKkey_defs.sh ./Caps >>curses.h
./MKkey_defs.sh: line 60:  2003 Illegal instruction     sort -k 6 $DATA >$data 2>/dev/null
./MKkey_defs.sh: line 60:  2004 Illegal instruction     sort -n +5 $DATA >$data 2>/dev/null
Your sort utility is broken.  Please install one that works.
make[1]: *** [curses.h] Error 1
make[1]: Leaving directory `/mnt/hdb6/tools/build/ncurses-5.4/include'
make: *** [all] Error 2

This problem is really strange, because we apply the
coreutils-5.0-posixver-2.patch to get a working sort. I tried it with exporting the
_POSIX2_VERSION=199209, but it always gives me the same error message.

Fine regards,
    Christoph



More information about the lfs-support mailing list