1. 输入#sudo apt-get install libncurses5-dev,如果无法更新则继续。
2. 输入#sudo apt-get update ,如果不能更新源。
3. 输入#sudo gedit /etc/apt/sources.list,将文档里面内容替换成如下内容:
deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
备注:以上内容可以在http://forum.ubuntu.org.cn/viewtopic.php?t=268843中找适合你的源列表,本人也是换了几个才更新成功。
4. 保存sources.list并退出。输入#sudo apt-get update.需要几分钟时间,这个看个人网速了。
5. 输入#sudo apt-get install libncurses5-dev,更新成功,如下图:
6. 输入#sudo make menuconfig,出现配置界面如下: