I need to compile a project today and not be loaded with g++.
[email protected] hadoop]# Yum install g++loaded plugins:fastestmirror, Refresh-packagekit, securityloading Mirror Spee DS from Cached Hostfile * base:mirrors.yun-idc.com * extras:mirrors.yun-idc.com * updates:mirrors.yun-idc.comsetting up Install Processno Package g++ available.
Always prompt this error, the following reference online information: Yum install gcc-c++ can be, such as
[email protected] hadoop]# Yum install gcc-c++loaded plugins:fastestmirror, Refresh-packagekit, Securityloading Mirror Speeds from Cached Hostfile * base:mirrors.yun-idc.com * extras:mirrors.yun-idc.com * updates:mirrors.yun-idc.comsettin G up Install processresolving dependencies--> Running Transaction Check---> Package gcc-c++.x86_64 0:4.4.7-4.el6 wi ll be installed--> processing dependency:libstdc++-devel = 4.4.7-4.el6 for package:gcc-c++-4.4.7-4.el6.x86_64--> Running Transaction Check---> Package libstdc++-devel.x86_64 0:4.4.7-4.el6 'll be installed--> finished Dependency Resolutiondependencies Resolved
It's not clear what the reason is.