用的系统是ubuntu 14.04


在终端下运行下边的命令:


sudo aptitude update

sudo aptitude install build-essential


然后问题就可以解决,再接着就可以使用apt-get安装少的库了。