LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-22-2002, 10:24 PM   #1
Themonk
LQ Newbie
 
Registered: Apr 2002
Location: Houston, TX
Distribution: Mandrake
Posts: 22

Rep: Reputation: 15
Question difficulty with compiler


I am somewhat new to linux, i'm teaching myself and have learned alot so far. I installed the gcc packages that i found on my distro cd's, but i'm getting an error msg and not sure what to make of it. Here is what i'm getting:

loading cache ./config.cache
checking host system type...i686-pc-linux-gnu
checking wheather make sets ${MAKE}...yes
checking for gcc...gcc
checking for the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables


I was told that i needed to empty the config.cache file. I did cat config.cache but it did not print anything onscreen so there is nothing there. The program i am trying to load is freeamp if you need that. I am useing mandrake 8.1. Any help you can offer is greatly appreciated.

Thanks in advance
 
Old 04-22-2002, 11:45 PM   #2
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
hello,
try which gcc if it comes back with a location of gcc try ./configure -? to see what options to pass in, like compiler locations.
 
Old 04-23-2002, 07:55 PM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
You could be missing critical header and library files. Make sure you installed the proper development packages.
 
Old 04-23-2002, 09:03 PM   #4
Themonk
LQ Newbie
 
Registered: Apr 2002
Location: Houston, TX
Distribution: Mandrake
Posts: 22

Original Poster
Rep: Reputation: 15
I currently have the following gcc packages installed, with all the libraries that they said to install.

gcc
gcc-c++
gcc-cpp
gcc3.0
gcc3.0-c++
gcc3.0-cpp
libgcc3.0

Is there something that i don't have installed that i should?
 
Old 08-18-2002, 12:36 AM   #5
exigent
Member
 
Registered: Aug 2002
Distribution: damnsmalllinux
Posts: 205

Rep: Reputation: 30
yup

this is exacly the problem that i have with gcc. i know i have the proper version because i got it from my distro's web site, and i'm pretty sure i have all the correct libs. i've looked on other forums, and no one seems to know the answer to this problem... could someone answer it? please??
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
Difficulty configuring X mjordan2nd Linux - Software 4 08-09-2005 08:23 PM
Difficulty in installation (C compiler). lazicsavo Linux - Software 3 10-25-2004 02:23 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
Linux Difficulty????? schigara General 24 07-11-2003 01:11 PM

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

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