[CentOS] yum install -y gcc?

John Doe jdmls at yahoo.com
Thu Jan 14 09:34:57 UTC 2010


From: hadi motamedi <motamedi24 at gmail.com>
>I tried to install GCC3.x , required to compile Asterisk , on my CentOS 5 server as the followings :
>#yum install -y gcc

First, didn't you intend to install compat-gcc-34 ?
'yum install gcc' would install gcc 4.x

>But in the middle of the installation , my server went down from
sudden power cut . After power recovery , I tried again but I am facing
with the following error :
>"Error:Missing dependency : libstdc++-devel = 4.1.2-46.el5_4.1 is needed by package gcc-c++"
>Can you please let me know what is its meaning and how I can proceed to re-install it ?

Try 'yum clean all'.

JD


      


More information about the CentOS mailing list