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

Re: zsh 4.3.9-dev-2



On Sat, 18 Apr 2009 12:53:05 +0100
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> On Fri, 17 Apr 2009 22:24:44 +0200
> Dagobert Michelsen <dam@xxxxxxxxxxx> wrote:
> > One issue on Solaris 8:
> > - the detection of ncursesw seems to work, but does throw an error
> >    on configure-time, both on sparc and x86 with Sun Studio 11:
> > 
> > >> checking location of curses header... ncursesw/ncurses.h
> > >> checking where curses key definitions are located... "nametmp.c",  
> > >> line 1: cannot find include file: <ncursesw/ncurses.h>
> > >> cc: acomp failed for nametmp.c
> 
> That's a little bizarre; it suggests something's inconsistent between
> compiling for the two tests.  Maybe there's something in config.log that
> would suggest what?

Dagobert's sent me it (thanks).  This is actually the original test
for ncurses.h.  It looks like the include path has
-I/opt/csw/include/ncurses for the the compile test, not for the CPP
test.  I haven't looked further yet, but this seems a bit odd; it's
fairly obvious that if you use different include paths you'll find
different files.

configure:6315: checking ncurses.h usability
configure:6332: /opt/studio/SOS11/SUNWspro/bin/cc -c -I/opt/csw/include/ncurses -xO3 -xarch=v8 -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include conftest.c >&5
configure:6338: $? = 0
configure:6352: result: yes
configure:6356: checking ncurses.h presence
configure:6371: /opt/studio/SOS11/SUNWspro/bin/cc -E -I/opt/csw/include -I/opt/csw/include conftest.c
"conftest.c", line 75: cannot find include file: <ncurses.h>
cc: acomp failed for conftest.c
configure:6377: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MACHTYPE "sparc"
| #define VENDOR "sun"
| #define OSTYPE "solaris2.8"
| #define GLOBAL_ZSHENV "/etc/zshenv"
| #define GLOBAL_ZSHRC "/etc/zshrc"
| #define GLOBAL_ZPROFILE "/etc/zprofile"
| #define GLOBAL_ZLOGIN "/etc/zlogin"
| #define GLOBAL_ZLOGOUT "/etc/zlogout"
| #define RESTRICTED_R 1
| #define CONFIG_LOCALE 1
| #define MAILDIR_SUPPORT 1
| #define MAX_FUNCTION_DEPTH 1000
| #define DEFAULT_READNULLCMD "more"
| #define _FILE_OFFSET_BITS 64
| #define PROTOTYPES 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_UNION_INIT 1
| #define HAVE_VARIABLE_LENGTH_ARRAYS 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_TERMCAP_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_FILIO_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_VARARGS_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTMP_H 1
| #define HAVE_UTMPX_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_PWD_H 1
| #define HAVE_GRP_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_PCRE_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_STROPTS_H 1
| #define HAVE_ICONV_H 1
| /* end confdefs.h.  */
| #include <ncurses.h>
configure:6391: result: no
configure:6397: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!
configure:6399: WARNING: ncurses.h: proceeding with the compiler's result
configure:6419: checking for ncurses.h
configure:6427: result: yes


-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



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