LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-04-2007, 02:56 AM   #1
rgo
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
Installing GCC


I am trying to install GCC on fedora 6. I tried following the instructions at this thread.

http://www.linuxquestions.org/questi...d.php?t=481033

I can't use my cd drive... For some reason it does not show up (but thats another issue) so instead I coppied these files onto my hard drive

gcc-4.1.1-30.i386.rpm
gcc-java-4.1.1-30.i386.rpm
libgcj-devel-4.1.1-30.i386.rpm
libgomp-4.1.1-30.i386.rpm

I then changed the directory to the folder containing these files and then attempted to run them by using this comand

[root@d199-126-44-92 RPMS]# rpm -ivh gcc*.rpm

I get htis error

error: Failed dependencies:
libgomp = 4.1.1-30 is needed by gcc-4.1.1-30.i386
libgomp.so.1 is needed by gcc-4.1.1-30.i386
libgcj-devel = 4.1.1-30 is needed by gcc-java-4.1.1-30.i386


I am not sure if what I am doing is way out to lunch or what... I am new to this stuff... I thought I had the right files in the folder... Can any one give some guidence.

Thanks

R.G.
 
Old 10-04-2007, 03:02 AM   #2
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
It says what it's wrong.

Change the order of installation and install libwhatever first and last gcc.

May I ask the possibly stupid question why so many people install a gcc? I do that every 5 years and only under very specific circumstances - my gcc is just part of my distribution and even though I know how to compile and install it, I rarely touch the thing...

Isn't that part of your distribution?!
 
Old 10-04-2007, 08:47 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you have a good internet connection, just do
Code:
#yum install gcc
 
  


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
Help on installing gcc. dragunu Linux - Software 23 04-27-2006 04:59 PM
Need help installing GCC darkapollo Linux - General 3 02-15-2006 07:42 AM
installing gcc help aaronruss Linux - Newbie 5 06-05-2004 01:29 AM
Installing GCC Bruno Dantas Linux - Newbie 1 09-12-2003 08:37 AM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM


All times are GMT -5. The time now is 10:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration