LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-18-2003, 06:33 PM   #1
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Rep: Reputation: 30
Question why cant i install gcc


i copied the rpm for gcc from the cd to my computer but when i try and installl it wont install? help?
 
Old 11-18-2003, 07:10 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Error messages are always useful to post whenever you have a problem. It really helps determining what could be the problem.

Back to your problem: gcc depends on a whole slew of other packages, which in turn depends on others. This is known as "rpm hell".
Installing just gcc won't cut it, you need to install a whole basic development environment. I haven't used it, but from posts here I am led to believe that RedHat in fact does have some sort of graphical, easy-to-use package manager. That should allow you to install gcc and its dependencies.

Or, copy over all the rpms listed as dependencies to the same directory as gcc and do an rpm -ivh *.rpm.

Håkan
 
Old 11-19-2003, 01:22 AM   #3
bencl5
Member
 
Registered: Nov 2003
Distribution: I use gentoo, redhat, and lorma for kicks.
Posts: 44

Rep: Reputation: 15
if you go to freshrpms.net there is a program called apt which uses repositories for package management. it's simple to install and has a graphical version known as synaptic. basically all you do is download those two rpms, installl apt first, then open synaptic. once synaptic is open update your respository list (the leftmost button) and then search for gcc. if your respository list updates correctly, it should find gcc and should not only download and install the package for you, but also download and install the neccesary dependancies.

P.S. apt and synaptic ROCK. every version of redhat should have this program!!!!
 
Old 11-19-2003, 04:14 PM   #4
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
sweet meat everything seems to be working fine
 
  


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
cant install gcc nikoz Linux - Software 4 12-02-2004 01:23 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
how to install gcc big_bailey Linux - Software 3 07-23-2004 12:47 AM
Install GCC BizHat.com Linux - Software 10 07-19-2004 04:26 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 10:20 PM


All times are GMT -5. The time now is 02:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration