LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Need help installing GCC (https://www.linuxquestions.org/questions/linux-general-1/need-help-installing-gcc-414253/)

darkapollo 02-11-2006 01:53 PM

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. :scratch:
Please help!

btmiller 02-11-2006 04:26 PM

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.

pat_and_cami 02-15-2006 12:52 AM

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//

jim656 02-15-2006 07:42 AM

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


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