ncurses 5.6 - Unrecognized Compilation Error

Mikołaj "D1SoveR" Banasik d1sover at gmail.com
Fri Aug 22 11:29:20 PDT 2008


I've decided to compile LFS using SVN-20080711 version of book.
Everything was going smooth until I had to compile Ncurses according
to 6.20 chapter of book. Regardless of applied patches and configure
options, I keep getting this error just at the beggining of compilation:

root:/sources/ncurses-5.6# make
cd man && make DESTDIR="" all
make[1]: Entering directory `/sources/ncurses-5.6/man'
sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5
make[1]: Leaving directory `/sources/ncurses-5.6/man'
cd include && make DESTDIR="" all
make[1]: Entering directory `/sources/ncurses-5.6/include'
cat curses.head >curses.h
AWK=gawk sh ./MKkey_defs.sh ./Caps >>curses.h
sh -c 'if test "chtype" = "cchar_t" ; then cat ./curses.wide >>curses.h ; fi'
cat ./curses.tail >>curses.h
sh ./MKhashsize.sh ./Caps >hashsize.h
./MKhashsize.sh: line 38: unexpected EOF while looking for matching ``'
./MKhashsize.sh: line 43: syntax error: unexpected end of file
make[1]: *** [hashsize.h] Error 2
make[1]: Leaving directory `/sources/ncurses-5.6/include'
make: *** [all] Error 2

I've tried looking for it using a few search engines but,
unfortunately, couldn't
find any kind of solution. Does someone here know how to resolve the problem?



More information about the lfs-support mailing list