This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ncurses + Cygwin: configure script


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_TERMIO_H

Other than that the make part went fine. Then when it came to the
make install part this is what heppened:

/bin/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
                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
"/tmp/14607", line 3193, col 40, terminal 'screen': unknown capability
"/tmp/14607", line 3212, col 59, terminal 'screen': unknown capability
"/tmp/14607", line 3213, col 12, terminal 'screen': unknown capability
"/tmp/14607", line 3165, terminal 'eterm': name multiply defined.
"/tmp/14607", line 12958, terminal 'NCR260VT300WPP': can't link
 to n/ncr260vt300wpp
? tic could not build /usr/local/share/terminfo
make[1]: *** [] 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
: undefined reference to `initscr'
: undefined reference to `stdscr'
: undefined reference to `waddnstr'
: undefined reference to `stdscr'
: undefined reference to `wgetch'
: undefined reference to `endwin'
collect2: ld returned 1 exit status

Any ideas of what went wrong and how to fix it?



Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]