Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 06-08-2004, 10:43 AM   #1
LQ Newbie
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
I getting the error you must set the environmnet variable to a working compiler

I am attempting to install gcc on my hp zv5000 laptop running Fedora Core 2. I was able to untar the file gcc-core-3.4.0.tar.gz but when I attempt to install it from the :

[root@localhost gcc-3.4.0]# ./configure

directory I get the following error :

*** The command cc -o conftest -g contest.c failed.

*** You must set the environment variable CC to a working compiler

What does this mean? And what do I need to get gcc installed? I am attempting to install nessus but when I tried to is stated that I needed a working compiler like gcc. Help please. Thanks.
Old 06-08-2004, 11:40 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
You'll need to install a gcc-.rpm, probably be easiest to get it off your Fedora CD's. When installing distros I always install development tools to avoid these situations.


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
scp error, TERM env. variable not set? jimbo Linux - Networking 2 11-26-2005 01:31 AM
DISPLAY variable error...cannot set it rameshchandra Linux - General 2 10-09-2005 04:59 AM
setting environmental variable cc to a working compiler blathen Linux - Newbie 2 10-27-2003 12:30 AM
Must set the environment variable CC to a working compiler MrCarl Linux - Software 1 09-23-2003 02:26 PM
Urgent Help Needed! Error: Must set the environment variable CC to a working compiler MrCarl Linux - Software 3 09-22-2003 11:42 PM > Forums > Linux Forums > Linux - Laptop and Netbook

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