LinuxQuestions.org
Visit Jeremy's Blog.
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, 02: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, 02: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, 03:37 PM   #3
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
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 03:50 PM
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


All times are GMT -5. The time now is 08:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration