LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-19-2004, 01:42 PM   #1
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Rep: Reputation: 30
A Lot of Trouble With GCC


While I was trying to compile a program it gave that error:
Code:
checking whether the C compiler (gcc  ) works... no configure: error: installation or configuration problem: C compiler cannot create executables.
And the gcc won't to compile anything.I tried with 2.95,3.0,3.2,3.3.Nothing works.Distro is Debian GNU/Linux unstable latest
 
Old 01-20-2004, 12:58 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Have you installed the gnu c compiler (GCC) yet?

# What compiler version do I have installed
gcc -v
gcc --version

# What is the running kernel and compiler installed
cat /proc/version
 
Old 01-22-2004, 12:56 PM   #3
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 639
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Re: A Lot of Trouble With GCC

Quote:
Originally posted by gamehack
While I was trying to compile a program it gave that error:
Code:
checking whether the C compiler (gcc  ) works... no configure: error: installation or configuration problem: C compiler cannot create executables.
And the gcc won't to compile anything.I tried with 2.95, 3.0, 3.2, 3.3. Nothing works. Distro is Debian GNU/Linux unstable latest
So assuming you have 2.95, 3.0, 3.2, and 3.3 versions of gcc, it would stand to reason that gcc exists. My guess, though, is that for some reason the pointer to gcc points to something that either isn't there or isn't set up correctly.

One suggestion is to type in which gcc to determine where the existing gcc is pointing. Another idea is to remove, then explicitly install gcc again, e.g.,

apt-get remove gcc
apt-get install gcc

then try it again and see if it works.
 
  


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
A lot of FC3 trouble I see.... Basslord1124 Fedora 18 07-29-2005 07:18 AM
network card, broadband, a lot of trouble Digital_Err0r Linux - Networking 2 10-25-2004 03:43 AM
FC2: Having a lot of trouble with CD-ROM's and SB64AWE volvogga Linux - Newbie 0 08-20-2004 08:54 PM
Trouble using gcc chombee Linux - General 4 06-23-2004 01:31 AM
XP, NTFS, Partition Resizing, and a whole lot of trouble. Please help me people! liquidwonders Linux - Software 7 08-26-2003 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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