You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking for termio.h... no
checking for termios.h... yes
...
make[2]: Entering directory `/src/build/editline/editline-1.15.1/examples'
libtool: link: gcc -I../src -I../include -fdata-sections -ffunction-sections -Os ...
/bin/ld: cannot find -ltermcap
and with --disable-termcap:
libtool: link: gcc -I../src -I../include -fdata-sections -ffunction-sections -Os
../src/.libs/libeditline.a(editline.o): In function `rl_reset_terminal':
editline.c:(.text.rl_reset_terminal+0x57): undefined reference to `tgetent'
editline.c:(.text.rl_reset_terminal+0x68): undefined reference to `tgetstr'
editline.c:(.text.rl_reset_terminal+0x8d): undefined reference to `tgetnum'
editline.c:(.text.rl_reset_terminal+0x9d): undefined reference to `tgetnum'
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
Thank you for the report, libeditline should really not depend on Ncurses!
In fact, I run it daily on a system where Ncurses really would not fit! So the above configure check should most definitely be fixed! The code in question is actually guarded inside a big
#ifdef CONFIG_USE_TERMCAP
so I guess it all boils down to my weak autoconf-fu. Terribly sorry about this! :-/
and with --disable-termcap:
The text was updated successfully, but these errors were encountered: