Subject: ncurses-4.1 under b19?
From: [email-masked] (Cook, John)

27 Feb 1998 14:52:53 -0800
Message-ID: <DD1A417EB683D111828300A024C3446336FCAE.cygnus.gnu-win32@SJXPR05>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
To: gnu-win32 <[email-masked]>

Has anyone tried building ncurses-4.1 using b19 yet?  I was able to 
build and install it using coolview, but have hit a snag with b19.  

../configure appeared to complete successfully, then make terminates 
as follows:

173 /e/tmp/ncurses-4.1$ make
cd man; make --unix INSTALL_PREFIX="" all
sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail
>terminfo.5
cd include; make --unix INSTALL_PREFIX="" all
sh ./MKhashsize.sh ./Caps >hashsize.h
sh ./MKparametrized.sh ./Caps >parametrized.h
gawk -f MKterm.h.awk ./Caps > term.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h
** edit: HAVE_TCGETATTR
** edit: HAVE_TERMIOS_H
** edit: HAVE_TERMIO_H
** edit: BROKEN_LINKER
cd ncurses; make --unix INSTALL_PREFIX="" all
sh ./MKlib_gen.sh "gcc -E" "gawk" <../include/curses.h | \
        fgrep undef >../include/nomacros.h
(e:\Cygnus\b19\H-i386-cygwin32\bin\sh.exe 1010) Exception:
STATUS_ACCESS_VIOLATION
(e:\Cygnus\b19\H-i386-cygwin32\bin\sh.exe 1010) Dumping stack trace to
sh.exe.core
make[1]: *** [../include/nomacros.h] Error 1
make: *** [all] Error 2
174 /e/tmp/ncurses-4.1$

Has anyone else seen this?  Any ideas?  I have more details about my
setup below.  Also, I am using the attached 'install' script (by Earnie
Boyd) 
in my /bin directory, with the 'install.exe' binary renamed to 
'ginstall.exe'.

Thanks,

John

Here is my mount table:

187 /e/tmp/ncurses-4.1$ mount
Device           Directory           Type        Flags
e:\Cygnus\b19    /usr                native      text=binary
f:               /f                  native      text=binary
e:               /e                  native      text=binary
\\.\tape1:       /dev/st1            native      text!=binary
\\.\tape0:       /dev/st0            native      text!=binary
\\.\b:           /dev/fd1            native      text!=binary
\\.\a:           /dev/fd0            native      text!=binary
d:               /d                  native      text=binary
c:               /c                  native      text=binary
e:\Cygnus\b19\H-i386-cygwin32\bin /bin                native
text=binary
b:               /b                  native      text=binary
a:               /a                  native      text=binary
e:\Cygnus\rootdir /                   native      text=binary
188 /e/tmp/ncurses-4.1$

Here are my environment variables under bash:

172 /e/tmp/ncurses-4.1$ export
declare -x COMSPEC="C:\\WINNT\\system32\\cmd.exe"
declare -x CYGFS="/e/Cygnus/B19"
declare -x CYGREL="B19"
declare -x CYGROOT="/e/Cygnus/B19"
declare -ax DIRSTACK='([0]="/e/tmp/ncurses-4.1 /e/tmp/ncurses-4.1")'
declare -x DJGPP="F:\\DJGPP\\DJGPP.ENV"
declare -x EDPATH="d:\\rel60\\tools\\WC\\EDDAT"
declare -x FIGNORE=".o:~"
declare -x GCC_EXEC_PREFIX="/e/Cygnus/B19/H-i386-cygwin32/lib/gcc-lib/"
declare -x GDBTK_LIBRARY="/e/Cygnus/B19/share/gdbtcl"
declare -x HISTCONTROL="ignoredups"
declare -x HISTFILESIZE="100"
declare -x HOME="/home"
declare -x HOMEDRIVE="e:"
declare -x HOMEPATH="\\john"
declare -x HOSTNAME="ZIPPY"
declare -x HOSTTYPE="i386"
declare -x MACHTYPE="i386-pc-cygwin32"
declare -x MAKE_MODE="unix"
declare -x NUMBER_OF_PROCESSORS="1"
declare -x OS="Windows_NT"
declare -x OS2LIBPATH="C:\\WINNT\\system32\\os2\\dll;"
declare -x OSTYPE="cygwin32"
declare -x
PATH="/bin:/usr/bin:/e/perl/bin:/c/infozip:/c/utl:/c/scripts:/c/clas56/b
in"
declare -x PATHEXT=".COM;.EXE;.BAT;.CMD"
declare -x PROCESSOR_ARCHITECTURE="x86"
declare -x PROCESSOR_IDENTIFIER="x86 Family 5 Model 2 Stepping 11,
GenuineIntel"
declare -x PROCESSOR_LEVEL="5"
declare -x PROCESSOR_REVISION="020b"
declare -x PROMPT="\$P\$G"
declare -x PS1="\\! \\w\$ "
declare -x SHELL="/bin/sh"
declare -x SHLVL="1"
declare -x SYSTEMDRIVE="C:"
declare -x SYSTEMROOT="C:\\WINNT"
declare -x TCL_LIBRARY="/e/Cygnus/B19/share/tcl8.0/"
declare -x TEMP="C:\\TEMP"
declare -x TERM="linux"
declare -x TMP="C:\\TMP"
declare -x USER="John Cook"
declare -x USERDOMAIN="KLASJ"
declare -x USERNAME="j_cook"
declare -x USERPROFILE="C:\\WINNT\\Profiles\\j_cook.000"
declare -x VIM="/usr/share/vim"
declare -x WINDIR="C:\\WINNT"
173 /e/tmp/ncurses-4.1$

Here is the ncurses-4.1 configuration output:

170 /e/tmp/ncurses-4.1$ ./configure --prefix=/usr
creating cache ./config.cache
Configuring NCURSES 4.1 ABI 4 (Fri Feb 27 14:08:23  1998)
System type is CYGWIN32_NT
Configuring for CYGWIN32_NT 4.0
checking for prefix... /usr
checking for default include-directory... ${prefix}/include
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking version of gcc... 2.7-B19
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for POSIXized ISC... no
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install...
/usr/H-i386-cygwin32/bin//ginstall -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for tdlint... no
checking for lint... no
checking for alint... no
checking for man... no
checking for man_db... no
checking for loader (symbol LD)... ld
checking for archiver (symbol AR)... ar
checking for archiver options (symbol AR_OPTS)... rv
checking for makeflags variable... $(MFLAGS)
checking format of man-pages... unknown
checking for specified models...  normal debug
checking include directory... ${prefix}/include
checking if big-core option selected... no
checking if termcap-fallback support is needed... no
checking if tic should use symbolic links... no
checking if tputs should process BSD-style prefix padding... no
checking for extended use of const keyword... no
checking if RCS identifiers should be compiled-in... no
checking for gcc __attribute__ directives
checking for gettimeofday... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for regular-expression headers...
checking for fcntl.h... yes
checking for getopt.h... yes
checking for libc.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for sys/bsdtypes.h... no
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for poll.h... no
checking for sys/select.h... no
checking for sys/stropts.h... no
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for termio.h... yes
checking for termios.h... yes
checking for ttyent.h... no
checking for unistd.h... yes
checking for values.h... no
checking for SCO by checking on /usr/bin/scosh
checking for scosh... maybenot
checking for working const... yes
checking for inline... inline
checking for errno external decl... yes
checking declaration of sys_errlist... no
checking if data-only library module links... yes
checking for speed_t... yes
checking for getttynam... no
checking for memccpy... yes
checking for poll... no
checking for select... yes
checking for setbuf... yes
checking for setbuffer... no
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... no
checking for strdup... yes
checking for tcgetattr... yes
checking for times... yes
checking for usleep... yes
checking for vfscanf... no
checking for vsscanf... no
checking whether sigaction needs _POSIX_SOURCE... no
checking whether termios.h needs _POSIX_SOURCE... no
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for type sigaction_t... no
checking for working TIOCGWINSZ... yes
checking for c++... yes
checking for libg++... yes
checking how to run the C++ preprocessor... c++ -E
checking for builtin.h... yes
checking for typeinfo... yes
checking for builtin c++ bool type... yes
checking for size of c++ bool... char
checking for gnatmake... no
checking for src modules... ncurses progs panel menu form
updating cache ./config.cache
creating ./config.status
creating include/config_h
creating include/MKterm.h.awk
creating include/curses.h
creating include/termcap.h
creating include/unctrl.h
creating man/Makefile
creating include/Makefile
creating ncurses/Makefile
creating progs/Makefile
creating panel/Makefile
creating menu/Makefile
creating form/Makefile
creating misc/Makefile
creating test/Makefile
creating c++/Makefile
creating Makefile
Appending rules for normal model (ncurses)
Appending rules for debug model (ncurses)
Appending rules for normal model (progs)
Appending rules for debug model (progs)
Appending rules for normal model (panel)
Appending rules for debug model (panel)
Appending rules for normal model (menu)
Appending rules for debug model (menu)
Appending rules for normal model (form)
Appending rules for debug model (form)
Appending rules for normal model (test)
Appending rules for debug model (test)
Appending rules for normal model (c++)
Appending rules for debug model (c++)
creating headers.sh
creating include/ncurses_cfg.h
removing include/config_h

** Configuration summary for NCURSES 4.1 970515:

      bin directory: /usr/bin
      lib directory: /usr/lib
  include directory: /usr/include
      man directory: /usr/man
 terminfo directory: /usr/share/terminfo

171 /e/tmp/ncurses-4.1$

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".