checking ncurses/curses.h presence... no checking for ncurses/curses.h... no configure: error: CGDB requires curses.h or ncurses/curses.h to build.
遇到以上错误:
sudo yum install ncurses-devel
然后遇到以下错误:
checking version of installed readline library... configure: WARNING: Could not test version of installed readline library. configure: error: CGDB requires GNU readline 5.1 or greater to link. If you used --with-readline instead of using the system readline library, make sure to set the correct readline library on the linker search path via LD_LIBRARY_PATH or some other facility.
sudo yum install readline-devel
然后./configure ok
注意使用cgdb必须安装gdb
命令:yum install gdb