随心而动,随意而行.

没有理想的人和行尸走肉又有什么区别呢.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
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

 

posted on 2014-05-25 18:34  随心而动,随意而行  阅读(2131)  评论(0编辑  收藏  举报