LinuxQuestions.org
Visit Jeremy's Blog.
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 09-08-2003, 12:49 AM   #1
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
configure: error: C compiler cannot create executables


i get this message when compiling certain packages (its happened about 5 times in the last few days)

this comes from emerging dhcpcd i put the relevant compiler output there and the emerge error

checking for C compiler default output... configure: error: C compiler cannot create executables
check `config.log' for details.

!!! ERROR: net-misc/dhcpcd-1.3.22_p4-r1 failed.
!!! Function src_compile, Line 42, Exitcode 77
!!! (no error message)


anyone know whats going on??
 
Old 09-08-2003, 04:48 PM   #2
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
bump

any suggestions at all would be helpful, just a place to start looking...just a starting point at all
 
Old 09-21-2003, 05:03 AM   #3
El_Angelo
LQ Newbie
 
Registered: Sep 2003
Distribution: lunar-linux
Posts: 15

Rep: Reputation: 0
I get the same error and I would like to know the answer too...
 
Old 09-21-2003, 06:02 AM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
can you give us the last 20-30 lines of your config.log when the configure stage fails.
 
Old 09-22-2003, 02:49 AM   #5
El_Angelo
LQ Newbie
 
Registered: Sep 2003
Distribution: lunar-linux
Posts: 15

Rep: Reputation: 0
OK, I've found my solution... it is a very stupid one... it seemed like I forgot to install glibc in my minimal slack installation... sorry to mess up your topic with such an obvious thing... bye

you really should try a search on the forum with "c compiler cannot create executables"... you will see that a lot of people already asked this question...

Last edited by El_Angelo; 09-22-2003 at 02:50 AM.
 
Old 08-10-2007, 07:54 AM   #6
rodrigofariat
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
configure: error: C compiler cannot create executables

if use Debian, run apt-get install build-essential
 
Old 03-31-2009, 05:32 AM   #7
somepalli
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 0
I tried to install build-essential throgh Synaptic and command prompt but i am getting following error

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.1.1) but it is not going to be installed
E: Broken packages
 
Old 10-22-2009, 10:40 AM   #8
malli42108
Member
 
Registered: Jul 2009
Posts: 37

Rep: Reputation: 15
use below steps

# which gcc
/usr/local/bin/gcc
#which g++
/usr/local/bin/g++
#export PATH=$PATH:/usr/local/bin
# CC=/usr/local/bin ./configure

now your problem will solve.
 
  


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
configure: error: C++ compiler cannot create executables dicou Linux - Newbie 15 12-22-2012 02:00 PM
error: "c compiler cannot create executables" when trying to run ./configure fedoraemu Linux - Software 2 04-24-2007 08:43 PM
configure: error: C compiler cannot create executables strimp099 Linux - Software 2 07-11-2005 08:23 PM
error: C compiler cannot create executables lopette Linux - Software 4 09-10-2004 05:06 PM
error: C compiler cannot create executables shams Linux - Software 1 02-16-2004 08:23 PM


All times are GMT -5. The time now is 11:06 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration