LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2007, 06:07 AM   #1
ajaytiwary
LQ Newbie
 
Registered: Sep 2007
Posts: 28

Rep: Reputation: 15
Question failed dependency problem


Hi everyone !!!!

I am trying to install gcc compiler for my o.s. redhat 5

for this i entered following command:

[root@localhost Desktop]# rpm -Uvh gcc-3.4.3-3.i386.rpm
error: Failed dependencies:
cpp = 5:3.4.3-3 is needed by gcc-3.4.3-3.i386
libgcc = 5:3.4.3-3 is needed by gcc-3.4.3-3.i386

could anyone tell me as to where could i find these two libraries????

THANKS
 
Old 10-02-2007, 06:20 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do you mean redhat 5 or rhel5? The former is way old

Anyway assuming the latter, try

yum install gcc

This should fix the dependencies

Last edited by billymayday; 10-02-2007 at 06:21 AM.
 
Old 10-02-2007, 06:33 AM   #3
ajaytiwary
LQ Newbie
 
Registered: Sep 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Hi !!!

when i gave the command

it shew this

[root@localhost Desktop]# yum install gcc
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: gcc
Nothing to do

what next??? please help me out........
 
Old 10-02-2007, 10:36 AM   #4
ajaytiwary
LQ Newbie
 
Registered: Sep 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ajaytiwary View Post
Hi !!!

when i gave the command

it shew this

[root@localhost Desktop]# yum install gcc
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: gcc
Nothing to do

what next??? please help me out........
i need your help in this regard so please give me a way to proceed......
 
Old 10-02-2007, 03:46 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Two questions

What is in /etc/yum.repos.d ?

and

Do you use the GUI or only command line? If you use the GUI, try using the package manager to install GCC

All you need should be on you installation discs I'd assume
 
  


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
failed dependency libXm.so.3 Curtux Mandriva 19 05-04-2011 06:23 AM
Dependency Resolution Failed riba43 SUSE / openSUSE 1 08-11-2006 06:08 AM
failed dependency vijaysh Debian 1 12-26-2004 03:18 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM
glib >=2.0 failed dependency kwanc Linux - Software 9 02-09-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:31 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