Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-14-2005, 12:54 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
problems on installing gcc

when i type configure,it shows:
checking for a bsd complitble install .../usr/bin/install -c
cc:command not found
you must set the enviroment variable cc to a working compiler

how should i do for that?
Old 01-14-2005, 01:00 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Congratulations, you just discovered a rather interesting paradox, namely to compile gcc from source, you need to already have a C compiler. The solution is to install gcc from the binary packages that came with your distro. If you don't know how, please post what distro you are running, and someone will assist you.
Old 01-14-2005, 01:19 AM   #3
LQ Newbie
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
i use damsmalllinux
it seems no binary package of gcc

Last edited by cn_gelare; 01-14-2005 at 01:29 AM.
Old 01-14-2005, 02:03 AM   #4
LQ Newbie
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
how could i do,please help
Old 01-14-2005, 05:52 AM   #5
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
just looked at the site and couldn't find binaries for the compiler anywhere
without a compiler you cannot build another compiler......
Old 07-14-2006, 03:50 PM   #6
Registered: Mar 2006
Posts: 64

Rep: Reputation: 15
I have the same problem?

It seems to me that yacc is a cc so there must be a way to do it useing this program! although I dont know how I would very much like to learn! does any one know where to find any good tutors on the use and programing with yacc and bison?


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
RH9 Installing GCC, etc problems Zychior Linux - Newbie 8 09-15-2004 08:33 PM
Problems installing gcc HCLogo Mandriva 6 04-24-2004 04:48 PM
Problems with installing GCC TransAmJugo Linux - Software 2 08-05-2003 12:34 AM
Problems with installing GCC TransAmJugo Linux - General 1 07-31-2003 11:43 PM
Problems with installing GCC TransAmJugo Linux - Newbie 2 07-31-2003 03:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 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