(这时候如果没有安装gcc,会提示:
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/htop-1.0.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
3.请安装
完成htop安装,正在安装
如果遇到configure: error: You may want to use --disable-unicode or install libncursesw.错误说明缺少lib包,运行yum install ncurses-devel 安装包即可,安装lib包后再运行./configure && make && make install。