[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ncurses + Cygwin: configure script
From: |
Neil Zanella |
Subject: |
ncurses + Cygwin: configure script |
Date: |
Sun, 5 Nov 2000 20:32:21 -0330 (NST) |
Hello,
Recently I tried to build ncurses 5.2 under Cygwin 1.1.4 but the configure
script froze at: checking for manpage tbl... no
when I issued CTRL-C the script continued with:
checking if you want to build with function extensions... yes
Interestingly the second time I ran the script this did not happen,
presumably because of something the configure script did on the
previous run. I am not sure about what exactly would have caused the
configure script to freeze and I guess that to really find out I would
have to reinstall Cygwin from scratch.
Next thing the script froze at: checking for size of bool...
Once again I hit CTRL-C and on the next rerun it did not freeze here.
(size of bool was unsigned char)
After the configure script reported the configuration summary I ran make:
** edit: HAVE_TCGETATTR
** edit: HAVE_TERMIOS_H
** edit: HAVE_TERMIO_H
** edit: BROKEN_LINKER
Other than that the make part went fine. Then when it came to the
make install part this is what heppened:
-----------------------------------------------------------------------------
/bin/sh ./run_tic.sh
** Building terminfo database, please wait...
** adjusting tabset paths
Running tic to install /usr/local/share/terminfo ...
You may see messages regarding unknown capabilities, e.g., AX.
These are extended terminal capabilities which can be compiled
using
tic -x
Read the INSTALL document before doing this - it can cause
problems for older ncurses applications.
"/tmp/14607", line 395, col 3, terminal 'ecma+color': unknown capability
'AX'
"/tmp/14607", line 3193, col 40, terminal 'screen': unknown capability
'G0'
"/tmp/14607", line 3212, col 59, terminal 'screen': unknown capability
'E0'
"/tmp/14607", line 3213, col 12, terminal 'screen': unknown capability
'S0'
"/tmp/14607", line 3165, terminal 'eterm': name multiply defined.
"/tmp/14607", line 12958, terminal 'NCR260VT300WPP': can't link
N/NCR260VT300WPP
to n/ncr260vt300wpp
? tic could not build /usr/local/share/terminfo
make[1]: *** [install.data] Error 1
make[1]: Leaving directory `/ncurses-5.2/misc'
make: *** [install] Error
----------------------------------------------------------------------------
Then when compiling a classical hello world program I got:
tulip $ gcc -I/usr/local/include -L/usr/local/lib -lncurses curseshello.c
/cygdrive/c/DOCUME~1/NEILZA~1/LOCALS~1/Temp/cco3gUzp.o(.text+0x1c):curseshello.c
: undefined reference to `initscr'
/cygdrive/c/DOCUME~1/NEILZA~1/LOCALS~1/Temp/cco3gUzp.o(.text+0x2b):curseshello.c
: undefined reference to `stdscr'
/cygdrive/c/DOCUME~1/NEILZA~1/LOCALS~1/Temp/cco3gUzp.o(.text+0x31):curseshello.c
: undefined reference to `waddnstr'
/cygdrive/c/DOCUME~1/NEILZA~1/LOCALS~1/Temp/cco3gUzp.o(.text+0x3c):curseshello.c
: undefined reference to `stdscr'
/cygdrive/c/DOCUME~1/NEILZA~1/LOCALS~1/Temp/cco3gUzp.o(.text+0x42):curseshello.c
: undefined reference to `wgetch'
/cygdrive/c/DOCUME~1/NEILZA~1/LOCALS~1/Temp/cco3gUzp.o(.text+0x4a):curseshello.c
: undefined reference to `endwin'
collect2: ld returned 1 exit status
Any ideas of what went wrong and how to fix it?
Thanks,
Neil
- ncurses + Cygwin: configure script,
Neil Zanella <=