1.configure: error: C++ preprocessor "/lib/cpp" fails sanity check
   原因:系统中缺少 glibc-headers   gcc-c++ 
    yum  -y install glibc-headers gcc-c++
2.checking for tgetent in -lncurses... no
  checking for tgetent in -lcurses... no
  checking for tgetent in -ltermcap... no
  checking for tgetent in -ltinfo... no
  checking for termcap functions library... configure:
  error:Nocurses/termcap library found
  原因:系统中缺少 ncurses
  yum -y install ncurses*
这个是安装mysql时候遇到的2个错误,记录一下加深印象