Re: [CentOS] yum install -y gcc?

2010-01-16 Thread hadi motamedi
On Thu, Jan 14, 2010 at 9:34 AM, John Doe jd...@yahoo.com wrote:

 From: hadi motamedi motamed...@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@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Thank you very much . The yum clean all got through .
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install -y gcc?

2010-01-14 Thread John Doe
From: hadi motamedi motamed...@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@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install -y gcc?

2010-01-14 Thread Luis Trindade
wouldn't 

rpm -ivh --force gcc

help you? :)

--
Luís Trindade


- John Doe jd...@yahoo.com wrote:

 From: hadi motamedi motamed...@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@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install -y gcc?

2010-01-14 Thread Peter Kjellstrom
On Thursday 14 January 2010, John Doe wrote:
 From: hadi motamedi motamed...@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


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install -y gcc?

2010-01-14 Thread Jake Shipton
On 14/01/10 09:49, Peter Kjellstrom wrote:
 On Thursday 14 January 2010, John Doe wrote:
 From: hadi motamedi motamed...@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
 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
Yes, that's what you want to do (or should) :-)

If that don't work just generally try stuff such as:

yum remove gcc
That should remove a half installed package, if it managed to be
partially installed. (and marked as installed. Doesn't always work)

yum install libstdc++-devel
Possibly to see if it can find the package?

else, try all things others have suggested (Mostly,
yum-complete-transaction  yum clean all)

Also you may want to invest in a UPS ;-)

-- 
Jake
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum install -y gcc?

2010-01-13 Thread hadi motamedi
Dear All
I tried to install GCC3.x , required to compile Asterisk , on my CentOS 5
server as the followings :
#yum install -y gcc
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 ?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos