LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-31-2003, 01:17 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, 01:20 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
this may not solve your problem directly, but try logging in as root

type su before u do a ./configure

also, try installing gcc from you linux cd, it should have something on it and should install it with no hassle

what distro r u using?
 
Old 07-31-2003, 02:37 PM   #3
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Hi, I see you posted double. You also posted in the "software" department. I answerd your question there. Generally, I woulden't post double.
 
  


Reply


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
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 - General 1 07-31-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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