fedora/centos下gcc编译出现gcc: error trying to exec 'cc1plus': execvp: No such file or directory解决办法 翻译自:http://www.tuicool.com/articles/VZveaeZ 在fedora/centos下编译出现问题: gcc: error trying to exec 'cc1plus': execvp: No such file or directory </span></spa…
内存不足导致的编译出错,解决方法是增加swapfile. root@ubuntu:home# swapon -s Filename Type Size Used Priority 创建swapfile大小512M: root@ubuntu:home# dd if=/dev/zero of=/swapfile bs=1024 count=512k 524288+0 records in 524288+0 records out 536870912 bytes…