[csw-maintainers] Updated ncurses available in testing/

Philip Brown phil at bolthole.com
Tue Apr 7 01:24:38 CEST 2009


On Tue, Apr 07, 2009 at 01:10:55AM +0200, Sebastian Kayser wrote:
> 
> Just installed the package on my local build machine and successfully
> tested watch and ncdu builds against regular ncurses. mcabber building
> with the ncursesw includes bails out, will have a look at that
> tomorrow. Maybe it looks obvious to someone.
> 

looks fairly obvious to me. 
Solaris system includes are getting looked at before the stuff in
wncurses dir. This breaks things for ncurses.

So either you fiddle with your -I optoins to the compiler, or you have to
take a look at the source code, to juggle order of whatever is causing
an #include of /usr/include/iso/wctype_c99.h, to come later, instead of
sooner.


(or... simply drop trying to use ncurses, and use the system standard
  curses libs :)



> source='commands.c' object='commands.o' libtool=no \
>         DEPDIR=.deps depmode=none /bin/bash ../depcomp \
>         /opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I..  -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include   -I/opt/csw/include -I/opt/csw/include  -I/opt/csw/lib/ncursesw -I/opt/csw/include  -xO3 -xarch=386 -features=no%extinl -I/opt/csw/lib/ncursesw -I/opt/csw/include -I/opt/csw/lib -D_GNU_SOURCE -c commands.c
> "/usr/include/iso/wctype_c99.h", line 48: syntax error before or at: wctype
> "/usr/include/iso/wctype_c99.h", line 48: warning: undefined or missing type for: wctype
> "/usr/include/iso/wctype_c99.h", line 48: warning: syntax error:  empty declaration
> "commands.c", line 110: cannot recover from previous errors
> cc: acomp failed for commands.c
> 



More information about the maintainers mailing list