LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2009, 05:01 PM   #1
lensem
Member
 
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Rep: Reputation: 15
yum install gcc issue


I am trying to install gcc for an Oracle requirement and the yum install is failing with following:

[root@odccdds01 ~]# /usr/bin/yum install gcc
Loaded plugins: rhnplugin, security
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-headers = 2.5-24.el5_2.2 for package: glibc-devel
--> Processing Dependency: glibc = 2.5-24.el5_2.2 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Running transaction check
---> Package glibc.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-common = 2.5-24.el5_2.2 for package: glibc
---> Package glibc-headers.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Running transaction check
---> Package glibc.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-common = 2.5-24.el5_2.2 for package: glibc
---> Package kernel-headers.i386 0:2.6.18-92.1.22.el5 set to be updated
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Finished Dependency Resolution
glibc-2.5-24.el5_2.2.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: glibc-common = 2.5-24.el5_2.2 is needed by package glibc-2.5-24.el5_2.2.i386 (rhel-i386-server-5)
gcc-4.1.2-42.el5.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: libgomp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
gcc-4.1.2-42.el5.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: cpp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
Error: Missing Dependency: glibc-common = 2.5-24.el5_2.2 is needed by package glibc-2.5-24.el5_2.2.i386 (rhel-i386-server-5)
Error: Missing Dependency: cpp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
Error: Missing Dependency: libgomp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
[root@odccdds01 ~]#

If I try to install what dependencies it says it's missing, it tells me they are already installed....

Not sure where to go from here to get gcc installed, any assistance would be appreciated....
 
Old 02-13-2009, 05:14 PM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
you can prove the existance of an installed RPM by issuing:
rpm -qa | grep <RPM_Name>

Otherwise, you can try and force the issue with the yum option '--nodeps' if you're sure the rpms are installed.
 
Old 02-13-2009, 05:55 PM   #3
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
Make sure that you have the correct versions of glibc-common, libgomp and cpp are installed. Run 'which' or 'locate' to find out where these are installed.
You might have to check how those missing-and-existing packages are installed. If they have been installed manually (no yum and rpm involved), then the RPM database has no notion about these and issues an missing-error message for otherwise installed packages. I have seen similar issues on RHEL with MySQL, where a manual base installation and an RPM-based development package installation didn't fit together.

Debian

Last edited by servat78; 02-19-2009 at 11:25 AM.
 
Old 02-14-2009, 01:13 PM   #4
lensem
Member
 
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks for the replies, will check the suggestions out....

This server is a new install, and everything currently on there was from the installation process....
 
Old 02-14-2009, 01:22 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
If it is CentOS 5.x, things should just work.

If Redhat EL 5.x, isn't there some account,
you have to activate at Redhat ? ?

....
 
Old 02-16-2009, 07:59 AM   #6
lensem
Member
 
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks for every ones assistance, was able to trace back all the dependencies, removed them, and let yum do it's thing of installing all the prereqs it needed....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install for gcc-c++ doesn't work aagha Fedora 6 10-14-2010 08:46 AM
Assitance with yum install gcc-c++ rjs225 Linux - Newbie 13 08-12-2010 11:58 AM
yum install gcc doesn't set the lastest gcc ver 4.3.x kim,jw Linux - Newbie 3 12-22-2008 11:51 PM
yum install gcc... nilrisi Linux - Newbie 4 07-27-2008 08:21 PM
yum install gcc problem malibuguy Linux - Newbie 1 01-15-2005 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration