Subject: Problems with ncurses
From: [email-masked] (Buckingham,Mark,SOLON,NUSA)

3 Dec 1997 19:40:24 -0800
Message-ID: <c=US%a=INFONET%p=NESTLE%l=NESTLE/US01/[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: "[email-masked]'" <[email-masked]>

I'm trying to get ncurses compiled & running.  (I downloaded ncurses
1.9.9e from the Slackware linux distribution.)

I remounted by C: drive as text = binary.  No problems.
I ran configure.  No problems.  
Ran make.  No problems.

When I try to run any of the tests, I get something like the following:

(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) In cygwin_except_handler exc
C0000005 at 10042894 sp 242E5B0
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) Exception trapped!
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception C0000005 at
10042894
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception: ax 242E5E0 bx
242E5E0 cx F9 dx 0
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception: si 0 di 242E5E0 bp
242E5BC sp 242E5B0
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception is:
STATUS_ACCESS_VIOLATION
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) Stack trace:
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 0: sp = 0x242E3E4, pc =
0x10007BB2
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 1: sp = 0x242E400, pc =
0x77F94072
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 2: sp = 0x242E424, pc =
0x77F88A53
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 3: sp = 0x242E4B0, pc =
0x77F75E82
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 4: sp = 0x242E5BC, pc =
0x4098B3
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 5: sp = 0x242EF64, pc =
0x402B86
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 6: sp = 0x242F080, pc =
0x402D5F
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 7: sp = 0x242F0A0, pc =
0x403CDA
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 8: sp = 0x242F0C4, pc =
0x401361
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 9: sp = 0x242F0DC, pc =
0x4010DF
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 10: sp = 0x242F504, pc
= 0x100063BA
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 11: sp = 0x242FF94, pc
= 0x100063CB
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 12: sp = 0x242FFA0, pc
= 0x41D735
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 13: sp = 0x242FFB0, pc
= 0x40103B
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 14: sp = 0x242FFC0, pc
= 0x77F1AFC1
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 15: sp = 0x242FFF0, pc
= 0x0
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) End of stack trace

I get this on both my NT 4.0 machine with NTFS, and my windows 95
machine.

Here is the environment on my NT 4.0 machine:

!C:=C:\gnuwin32\b18\H-i386-cygwin32\bin
COMSPEC=C:\WINNT\system32\cmd.exe
GCC_EXEC_PREFIX=C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
GDBTK_LIBRARY=C:/gnuwin32/b18/share/gdbtcl
LIBRARY_PATH=C:\gnuwin32\b18\H-i386-cygwin32\lib;C:\gnuwin32\b18\H-i386-
cygwin32\i386-cygwin32\lib;
OSTYPE=cygwin32
PATH=/gnuwin32/b18/H-i386-cygwin32/bin:/gnuwin32/b18/tcl/bin:.:/winnt:/w
innt/system32:.
PATHEXT=.COM;.EXE;.BAT;.CMD
PID=3448
SHELL=/bin/sh
SHLVL=1
TCL_LIBRARY=C:/gnuwin32/b18/tcl/lib/tcl7.6
TERM=dumb
_=/gnuwin32/b18/H-i386-cygwin32/bin/env

I know people have gotten ncurses to work ok.  Any ideas?

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