checking for library containing waddstr... no 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] 错误 1 make[1]: 离开目录“/root/gdb-7.9.1” make: *** [all] 错误 2
时间: 2024-03-24 20:39:57 浏览: 178
stavens_opencv_optical_flow.rar_site:www.pudn.com_things
这是一个编译时的错误,提示缺少 termcap 库。可以尝试安装 libncurses5-dev 或者 libncursesw5-dev 库来解决该问题。你可以在终端运行以下命令安装:
```
sudo apt-get install libncurses5-dev
```
或者
```
sudo apt-get install libncursesw5-dev
```
安装完成后,重新运行编译命令。
阅读全文