LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-31-2003, 01:10 PM   #1
TransAmJugo
LQ Newbie
 
Registered: Jul 2003
Posts: 23

Rep: Reputation: 15
Unhappy Problems with installing GCC


I downloaded GCC-3.3 and now im trying to configure it this is what happens:

[root@luckyclay source]# cd gcc-3.3
[root@luckyclay gcc-3.3]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /opt/source/gcc-3.3 using "mt-frag"
./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

whats this ./configure: line 8: cc: command not found?
and how do I set the environement variable CC to a working compiler?
 
Old 07-31-2003, 10:43 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
My take on the problem is that configure is looking for a compiler to use to compile gcc-3.3. So do you have a working compiler on your machine?

If you do then export CC (or cc as the case might be) as the name of the compiler:
export CC=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
problems on installing gcc cn_gelare Linux - Newbie 5 07-14-2006 02:50 PM
RH9 Installing GCC, etc problems Zychior Linux - Newbie 8 09-15-2004 07:33 PM
Problems installing gcc HCLogo Mandriva 6 04-24-2004 03:48 PM
Problems with installing GCC TransAmJugo Linux - Software 2 08-04-2003 11:34 PM
Problems with installing GCC TransAmJugo Linux - Newbie 2 07-31-2003 02:37 PM

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

All times are GMT -5. The time now is 03:04 AM.

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