LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   configure: WARNING: no enhanced curses library found; disabling TUI (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/configure-warning-no-enhanced-curses-library-found%3B-disabling-tui-4175443952/)

jamesoo7 01-03-2013 06:57 AM

configure: WARNING: no enhanced curses library found; disabling TUI
 
Hi Everyone,

I am new for Linux. I had download gdb-7.5 from gnu resourses. I am building gdb in cygwin environment and I got an error as shown below.

configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/xyz/..../xyz'
make: *** [all] Error 2
[xyz/..../xyz]$

I had also referred others thread and I already installed the ncurses-5.9 but when I was going to make that file then <i got the error message like

collect2: ld returned 1 exit status
make[1]: *** [demo.exe] Error 1
make[1]: Leaving directory xyz/.../xyz/ncurses-5.9/c++'
make: *** [all] Error 2

So if anyone has idea how to solve this problem then it would be very kind...

Thanks in advance...

smallpond 01-05-2013 09:08 AM

The missing ncurses is a warning, so it isn't the cause of your failure.

The first error is missing termcap library. Modern Linux uses terminfo instead, so I'm not quite sure what this is on cygwin. It could be called either libtermcap or termlib. Anyway, look through the choices in cygwin and install the one that you find. When you are compiling with a library, make sure you install the header files as well, in case they are in a separate 'devel' package. That might be the problem with ncurses also.

It seldom is useful to look at the last lines of output (collect2 error on down) since that is long past the original cause. Always start from the first error printed,


All times are GMT -5. The time now is 11:08 AM.