Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 04-10-2008, 06:10 PM   #1
LQ Newbie
Registered: May 2006
Location: Chennai , India
Distribution: RHEL 5
Posts: 15

Rep: Reputation: 0
GCC installation error


I was installing GCC and i followed the steps below and got the error, can anyone tell me on whats the error!.

I downloaded gcc-4.3.0


/usr/local/gcc/gcc-3.4.4/configure \
--prefix=/opt/gcc34 \
--program-suffix=12 \
--enable-languages=c,c++ \
Error below!

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Thanx a lot!
Old 04-10-2008, 06:14 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,669

Rep: Reputation: 229Reputation: 229Reputation: 229
You are trying to compile gcc with gcc. You do not have gcc installed so ./configure cannot find the gcc compiler under any of its several aliases.

Steve Stites
Old 04-10-2008, 06:17 PM   #3
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 74
How do you expect to compile something without an existing compiler?

Download a binary (how depends on your distro).
Old 04-10-2008, 06:17 PM   #4
Senior Member
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Why not just "yum install gcc"?


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
gcc installation error fails sanity check pgb205 Linux - Software 1 11-09-2007 09:04 PM
GCC doesn't work Binutils configuration or installation error fadelhomsi Linux From Scratch 2 09-20-2007 09:00 AM
gcc: installation problem, cannot exec `as': No such file or directory ERROR jaisol Slackware 8 08-05-2006 01:01 PM
gcc: installation problem, cannot exec `cc1': No such file or directory Error Message 08h Programming 2 07-20-2006 12:44 PM
gcc: installation problem, cannot exec `cc1': No such file or directory Error Message 08h Linux - Newbie 1 06-01-2004 05:26 AM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration