LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2004, 01:46 AM   #1
skguha
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
Installing GCC


Hi,
I am new to linux....I just installed fedora 9 version.....

I downloaded the source file of gcc 3.3.3 and am trying to install it.
I got the following error.
Quote:
[root@beenb gcc]# /home/eng11104/gcc-3.3.3/configure --prefix
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /usr/local/gcc using "mt-frag"
/home/eng11104/gcc-3.3.3/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.
I am not very sure what this means?? Is there any easier way to install gcc where I can just follow simple instructions??

Any help will be really appreciated.

Thanks...
 
Old 04-30-2004, 02:38 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
From what I understand, you need a compiler to compile a compiler

As you are using Fedora, use the "Add Remove Programs" in the menu, and install the Development Utilities off the CD.

Alternatively, find and download an RPM for GCC, and install it this way. Try www.rpmfind.net for the RPM.

I hope this helps
--Ian
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help on installing GCC. Jonka Linux - Software 2 11-12-2003 04:12 PM
Installing gcc 3.3 Shienarier Linux - Software 6 06-08-2003 11:25 AM
Installing GCC sovietpower Linux - Newbie 1 06-01-2003 05:28 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM
Installing gcc-2.95.3 X11 Linux - Software 2 04-26-2002 09:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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