Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Applications > How To Install GCC?

Forgot Password?
 Linux Applications   I cant get "X" app to work... also discussion about linux programs.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 08-13-2005   #1 (permalink)
Just Joined!
 
Join Date: Aug 2005
Posts: 16
How To Install GCC?

I'm a linux newbie and I was wondering how to do it. I'm running Fedora core 4. I can't compile the source code because I don't understand how to configure it. I was reading on it but it is way to comicated to understand. I tried a already compiled binary from openpkg but after I installed it I tried to compile something but it said gcc wasn't installed.
Jordan_Hounsell is offline  


Old 08-13-2005   #2 (permalink)
Linux Engineer
 
Join Date: Aug 2004
Posts: 826
Try configuring yum and doing
Code:
# yum install gcc
You can also install gcc from the Fedora Core CDs.

What application are you trying to install? I'm sure there's probably a precompiled package available.
sether is offline  
Old 08-13-2005   #3 (permalink)
Just Joined!
 
Join Date: Aug 2005
Posts: 16
Yeah, there is a pre-compiled package available but there are other applications that only put out source code so I need it. It is on my Fedora Core 4 dvd because I had it installed before but forgot to install it when I was installing Fedora (If that makes sense). How would I go about installing it from the dvd now?
Jordan_Hounsell is offline  
Old 08-13-2005   #4 (permalink)
Just Joined!
 
Join Date: Aug 2005
Posts: 16
Ok, I found the following gcc files on the disc, which one should I use?

gcc-4.0.0-8.i386.rpm
gcc-c++-4.0.0-8.i386.rpm
gcc-gfortran-4.0.0-8.i386.rpm
gcc-gnat-4.0.0-8.i386.rpm
gcc-java-4.0.0-8.i386.rpm
gcc-objc-4.0.0-8.i386.rpm
Jordan_Hounsell is offline  
Old 08-13-2005   #5 (permalink)
Just Joined!
 
Join Date: Aug 2005
Posts: 16
Ok figured that out but now I have an error when trying to 'make" when compiling something.

ir.c:19: error: static declaration of 'keepGoing' follows non-static declarationir.h:53: error: previous declaration of 'keepGoing' was here
ir.c:22: error: static declaration of 'irapp_thread' follows non-static declaration
ir.h:52: error: previous declaration of 'irapp_thread' was here
make[2]: *** [ir.lo] Error 1
make[2]: Leaving directory `/root/Desktop/xmms-1.2.10/General/ir'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/xmms-1.2.10/General'
make: *** [install-recursive] Error 1
Jordan_Hounsell is offline  
Old 08-13-2005   #6 (permalink)
Linux Guru
 
bryansmith's Avatar
 
Join Date: Nov 2004
Location: /Ontario/Canada
Posts: 2,623
Are you trying to install xmms? If so, is it not available through yum? Try (as root):
Code:
yum install xmms
Bryan
__________________
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
bryansmith is offline  
Old 08-13-2005   #7 (permalink)
Just Joined!
 
Join Date: Aug 2005
Posts: 16
Never thought of that! Thanks a lot!
Jordan_Hounsell is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 01:28 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2