htop安裝失敗!!

當我下了./configure時

錯誤訊息為

...
checking for refresh in -lncursesw... no
configure: error: You may want to use --disable-unicode or install libncursesw.
...

 

解決網址為

http://forum.openvz.org/index.php?t=msg&goto=44790&

 

 

wget downloads.sourceforge.net/project/htop/htop/1.0.1/htop-1.0.1 .tar.gz
yum install ncurses-devel gcc make
tar xvzf htop-1.0.1.tar.gz
cd htop-1.0.1
./configure --enable-openvz
make
make install
mv /usr/local/bin/htop /usr/bin/

你可能感兴趣的:(htop安裝失敗!!)