LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-11-2006, 01:53 PM   #1
darkapollo
LQ Newbie
 
Registered: Feb 2006
Location: Carlisle PA
Distribution: Fedora Core 1
Posts: 1

Rep: Reputation: 0
Unhappy Need help installing GCC


I have already read the sticky on installing files. It did not help very much since I get errors. I am using FC1.
My question is, How am I supposed to install and compile a compiler with out having a compiler? Im sure there is a compiler installed, when I installed the OS I included all build and compile tools, however NOTHING wants to compile. here is my terminal.
[root@c-68-45-153-18 root]# cd gcc-3.0
[root@c-68-45-153-18 gcc-3.0]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /root/gcc-3.0 using "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@c-68-45-153-18 gcc-3.0]# make
Configuring in ./libiberty
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
make: *** [configure-target-libiberty] Error 1
[root@c-68-45-153-18 gcc-3.0]#

I have NO idea what the heck any of this means. I just know that I cant compile MPlayer either and it is really starting to annoy me.
Please help!
 
Old 02-11-2006, 04:26 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Oddly enough, you need to have gcc already installed to compile gcc. Grab the Fedora Core 1 gcc RPMs off the nearest mirror and just install them. These are prebuilt binary packages so you can just install them.
 
Old 02-15-2006, 12:52 AM   #3
pat_and_cami
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Rep: Reputation: 0
How/Where to find mirros to download Fedora Core

I am having the same issue. Where are the mirror sites (is there a way to do it off of this site) so that I can download the Fedora Core... ? I am abviously new to Linux...

BTW: I do have source disk from Suse. How does one install an RPM?

THanks, Pat//
 
Old 02-15-2006, 07:42 AM   #4
jim656
LQ Newbie
 
Registered: Nov 2005
Posts: 9

Rep: Reputation: 0
yum -y install gcc

when your server connect to internew, run 'yum -y install gcc'
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with installing gcc Geminias Linux - Newbie 3 01-04-2006 11:39 PM
Installing gcc beep Linux - Software 1 06-12-2004 04:13 PM
installing gcc help aaronruss Linux - Newbie 5 06-05-2004 01:29 AM
help me for installing GCC! Rajaee Programming 1 11-15-2003 03:59 AM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:06 PM.

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