![]() |
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. |
What distribution do you use? Try
locate gcc | egrep gcc$ and post result. Seems like you need installing gcc. |
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 |
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.
|
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
|
Then ask a new question in SuSE distribution forum with detailed description of the problem when installing gcc.
|
| All times are GMT -5. The time now is 11:22 AM. |