[CentOS] yum install -y gcc?

Peter Kjellstrom cap at nsc.liu.se
Thu Jan 14 09:49:07 UTC 2010


On Thursday 14 January 2010, John Doe wrote:
> 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'.

He may want "yum-complete-transaction" from the pkg yum-utils if transactions 
were interrupted.

/Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.centos.org/pipermail/centos/attachments/20100114/f7939b9f/attachment.bin 


More information about the CentOS mailing list