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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-02-2007, 06:07 AM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 28
Rep:
|
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
|
|
|
10-02-2007, 06:20 AM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
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.
|
|
|
10-02-2007, 06:33 AM
|
#3
|
LQ Newbie
Registered: Sep 2007
Posts: 28
Original Poster
Rep:
|
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........
|
|
|
10-02-2007, 10:36 AM
|
#4
|
LQ Newbie
Registered: Sep 2007
Posts: 28
Original Poster
Rep:
|
Quote:
Originally Posted by ajaytiwary
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......
|
|
|
10-02-2007, 03:46 PM
|
#5
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
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
|
|
|
All times are GMT -5. The time now is 02:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|