Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh can't compile (includes old <curses.h>)



Hi,

I get the following error when compiling zsh 4.2.1:

[...]
gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DMODULE -Wall -Wmissing-prototypes -O2 -fPIC -o terminfo..o terminfo.c
In file included from /usr/include/curses.h:77,
                 from terminfo.c:53:
/users/spaces/lefevre/i586-linux/include/ncurses/unctrl.h:57: parse error before "unctrl"
make[3]: *** [terminfo..o] Error 1
make[3]: Leaving directory `/users/spaces/lefevre/software/zsh-4.2.1/Src/Modules'
make[2]: *** [modules] Error 1
make[2]: Leaving directory `/users/spaces/lefevre/software/zsh-4.2.1/Src'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/users/spaces/lefevre/software/zsh-4.2.1/Src'
make: *** [all] Error 1

with C_INCLUDE_PATH=/users/spaces/lefevre/i586-linux/include:/users/spaces/lefevre/i586-linux/include:/users/spaces/lefevre/include:/users/spaces/logiciels/mpfr-2.0.2/linux/include:/users/spaces/logiciels/gmp/linux/include:/users/spaces/logiciels/mathlib/linux/../include

I suppose that Src/Modules/terminfo.c should include <ncurses/curses.h>
instead of <curses.h> when it can be found.

Regards,

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author