LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-19-2006, 08:40 AM   #1
Mysteries
LQ Newbie
 
Registered: May 2006
Posts: 3

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


I am trying to install a simple irc client.. wich gives me much trouble as a linux noob

Welcome to the BitchX-1.1-final configuration

checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables

thats the error... and this is my config.log


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = linux
uname -m = i686
uname -r = 2.6.13-15-default
uname -s = Linux
uname -v = #1 Tue Sep 13 14:56:15 UTC 2005

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /opt/kde3/sbin
PATH: /opt/gnome/sbin
PATH: /root/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1306: checking for gcc
configure:1322: found /usr/local/sbin/gcc
configure:1332: result: gcc
configure:1576: checking for C compiler version
configure:1579: gcc --version </dev/null >&5
Can't exec "/usr/bin/gcc": No such file or directory at /usr/local/sbin/gcc line 202.
Couldn't exec at /usr/local/sbin/gcc line 202.
configure:1582: $? = 2
configure:1584: gcc -v </dev/null >&5
Can't exec "/usr/bin/gcc": No such file or directory at /usr/local/sbin/gcc line 202.
Couldn't exec at /usr/local/sbin/gcc line 202.
configure:1587: $? = 2
configure:1589: gcc -V </dev/null >&5
Can't exec "/usr/bin/gcc": No such file or directory at /usr/local/sbin/gcc line 202.
Couldn't exec at /usr/local/sbin/gcc line 202.
configure:1592: $? = 2
configure:1618: checking for C compiler default output
configure:1621: gcc conftest.c >&5
Can't exec "/usr/bin/gcc": No such file or directory at /usr/local/sbin/gcc line 202.
Couldn't exec at /usr/local/sbin/gcc line 202.
configure:1624: $? = 2
configure: failed program was:
#line 1595 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

;
return 0;
}
configure:1651: error: C compiler cannot create executables

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define VERSION_NUMBER "1.1-final"

configure: exit 77


some1 help me.. i'm tired of searching the solution myself.
 
Old 05-19-2006, 09:55 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
What distribution do you use? Try
locate gcc | egrep gcc$
and post result. Seems like you need installing gcc.
 
Old 05-20-2006, 02:08 AM   #3
Mysteries
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I'm starting to feel noob :S
=========
linux:~/BitchX # locate gcc | egrep gcc$
bash: locate: command not found
linux:~/BitchX # locate gcc
bash: locate: command not found
linux:~/BitchX # egrep gcc$
===============

SuSE 10.0

Thats what i'm using
 
Old 05-20-2006, 03:34 PM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Well, try running gcc. I guess it'll not be found. So install gcc from installation CD (or download from Internet). I've never used SuSE, so I cannot give advice on YaST.
 
Old 05-21-2006, 02:01 AM   #5
Mysteries
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I allready did that.. it gave me some sort of devel-2 is needed but he didnt wanne install that, so i tried downloading it and installing that also.. but still same problem.. :S
 
Old 05-21-2006, 02:22 AM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Then ask a new question in SuSE distribution forum with detailed description of the problem when installing gcc.
 
  


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
configure: error: C++ compiler cannot create executables dicou Linux - Newbie 15 12-22-2012 02:00 PM
configure: error: C compiler cannot create executables richlawson Fedora 14 02-22-2012 11:45 PM
configure: error: C compiler cannot create executables watashiwaotaku7 Linux - General 7 10-22-2009 10:40 AM
configure error - C compiler cannot create executables MrLobster Linux - Software 1 12-24-2005 01:13 AM
configure: error: C compiler cannot create executables strimp099 Linux - Software 2 07-11-2005 08:23 PM


All times are GMT -5. The time now is 05:07 PM.

Main Menu
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