[CentOS] yum install -y gcc?

Luis Trindade luis.trindade at nfsi.pt
Thu Jan 14 09:45:03 UTC 2010


wouldn't 

rpm -ivh --force gcc

help you? :)

--
Luís Trindade


----- "John Doe" <jdmls at yahoo.com> 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'.
> 
> JD
> 
> 
>       
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos


More information about the CentOS mailing list