LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-21-2005, 07:29 AM   #1
D1G1T477
LQ Newbie
 
Registered: Jun 2005
Location: Bladel
Distribution: Slackware 10.1, built from tarballs
Posts: 1

Rep: Reputation: 0
Error ./Configure GCC 3.4.4


Hello all.

I'm just new to this forum. I recently Installed slackware 10.1, with as little software as possible. I only installed the kernel, with the develloper tools and some compilers. This went all quite okay. I downloaded the x-server as a tarball, and installing this was'nt a problem.
But now, as I try to Compile the gcc 3.4.4. compiler, my system give's me the following errormessage :

- You must set the environment variable CC to a working compiler.

The gcc that came with linux itself was able to compile the packages for x, but for some reason if I run the configure shell script It doesn't work.
I also added the line 'CC=/usr/bin/gcc' to my environment variables, but this results still in the same errormessage. I also downloaded a gcc 3.x.x compressed binarie, but I dont want to install any binaries, actually, so I still haven't done this.
 
Old 06-21-2005, 10:29 AM   #2
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
Have you added that to the $PATH?

Try:
wihch cc

amd try:
which gcc

The command you added looks correct. Try using the installpkg utility by Slackware or download slackpkg and use that to install GCC. I've had that error in the past before and this solved the problem for me.

--Abid Kazmi
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with gcc: configure: error: C compiler cannot create executable abefroman SUSE / openSUSE 4 05-11-2005 06:12 PM
mplayer ./configure gcc error U-Toast Linux - Software 21 08-28-2004 05:06 PM
How to configure GCC? co2 Linux - Newbie 19 06-11-2004 04:06 AM
gcc-3.3.3 compling(configure-target-libiberty error 1) windus Linux - Software 0 04-18-2004 12:38 PM
gcc configure error rl5 Linux From Scratch 2 03-31-2004 09:18 AM

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

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