rpm方式安装gcc缺少依赖项的解决方法
使用rpm方式安装gcc时,有时会报缺少依赖项:
libmpfr.so.1 is needed by cpp-4.4.4-13.el6.i686
libppl.so.7 is needed by cloog-ppl-0.15.7-1.2.el6.i686
libppl_c.so.2 is needed by cloog-ppl-0.15.7-1.2.el6.i686
这是因为缺少
mpfr-2.4.1-6.el6.***.rpm
ppl-0.10.2-11.el6.***.rpm
这两个包,把这两个包安装好后,就可以了
whatever is worth doing is worth doing well...