I have been trying to compile the AMSN svn version but I can't manage to do it.
I have search in google the error the console gives me but everyone says that by installing the build-essential package everything works (I already have the build-essential on it's newest version) or to use apt (which is no answer to my problem cause I have never managed to compile anything not only AMSN, I need to be able to do so if I wish to).
I'm new to linux so every help would be appreciated:
My Problem:
Useful info?
Config.log
I have search in google the error the console gives me but everyone says that by installing the build-essential package everything works (I already have the build-essential on it's newest version) or to use apt (which is no answer to my problem cause I have never managed to compile anything not only AMSN, I need to be able to do so if I wish to).
I'm new to linux so every help would be appreciated:
My Problem:
checking for prefix by checking for wish... /usr/bin/wish
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
dpkg -l | grep gcc
ii gcc 4.1.2-1ubuntu1 The GNU C compiler
ii gcc-3.3-base 3.3.6-15ubuntu1 The GNU Compiler Collection (base package)
ii gcc-4.1 4.1.2-0ubuntu4 The GNU C compiler
ii gcc-4.1-base 4.1.2-0ubuntu4 The GNU Compiler Collection (base package)
ii libgcc1 4.1.2-0ubuntu4 GCC support library
ii gcc 4.1.2-1ubuntu1 The GNU C compiler
ii gcc-3.3-base 3.3.6-15ubuntu1 The GNU Compiler Collection (base package)
ii gcc-4.1 4.1.2-0ubuntu4 The GNU C compiler
ii gcc-4.1-base 4.1.2-0ubuntu4 The GNU Compiler Collection (base package)
ii libgcc1 4.1.2-0ubuntu4 GCC support library
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.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = escris
uname -m = i686
uname -r = 2.6.20-16-generic
uname -s = Linux
uname -v = #2 SMP Sun Sep 23 19:50:39 UTC 2007
/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: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1399: checking for wish
configure:1417: found /usr/bin/wish
configure:1429: result: /usr/bin/wish
configure:1532: checking for gcc
configure:1558: result: gcc
configure:1802: checking for C compiler version
configure:1805: gcc --version </dev/null >&5
Unable to exec gcc.real: No such file or directory
configure:1808: $? = 2
configure:1810: gcc -v </dev/null >&5
Unable to exec gcc.real: No such file or directory
configure:1813: $? = 2
configure:1815: gcc -V </dev/null >&5
Unable to exec gcc.real: No such file or directory
configure:1818: $? = 2
configure:1841: checking for C compiler default output file name
configure:1844: gcc conftest.c >&5
Unable to exec gcc.real: No such file or directory
configure:1847: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1886: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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_path_ac_prefix_program=/usr/bin/wish
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
APPNAME='amsn'
APPRELEASE='1'
APPSTABLE='no'
APPVERSION='0.97b'
BUILD_DIR=''
CC='gcc'
CFLAGS=''
CONFIGURE_ARGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXX_LIB=''
DEBUG='no'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FOUND_OS='linux'
FOUND_X11=''
LDFLAGS=''
LDLIBS=''
LIBDIR=''
LIBOBJS=''
LIBPTHREAD=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/bash'
STATIC='no'
TCLSH='/usr/bin/tclsh'
TCL_INC_SPEC=''
TCL_LIB_DIR=''
TCL_STUB_LIB_SPEC=''
TK_INC_SPEC=''
TK_LIB=''
TK_LIBS=''
TK_LIB_DIR=''
TK_STUB_LIB_SPEC=''
TK_VERSION=''
TOP_DIR=''
USE_MMX=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_prefix_program='/usr/bin/wish'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 77
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = escris
uname -m = i686
uname -r = 2.6.20-16-generic
uname -s = Linux
uname -v = #2 SMP Sun Sep 23 19:50:39 UTC 2007
/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: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1399: checking for wish
configure:1417: found /usr/bin/wish
configure:1429: result: /usr/bin/wish
configure:1532: checking for gcc
configure:1558: result: gcc
configure:1802: checking for C compiler version
configure:1805: gcc --version </dev/null >&5
Unable to exec gcc.real: No such file or directory
configure:1808: $? = 2
configure:1810: gcc -v </dev/null >&5
Unable to exec gcc.real: No such file or directory
configure:1813: $? = 2
configure:1815: gcc -V </dev/null >&5
Unable to exec gcc.real: No such file or directory
configure:1818: $? = 2
configure:1841: checking for C compiler default output file name
configure:1844: gcc conftest.c >&5
Unable to exec gcc.real: No such file or directory
configure:1847: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1886: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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_path_ac_prefix_program=/usr/bin/wish
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
APPNAME='amsn'
APPRELEASE='1'
APPSTABLE='no'
APPVERSION='0.97b'
BUILD_DIR=''
CC='gcc'
CFLAGS=''
CONFIGURE_ARGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXX_LIB=''
DEBUG='no'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FOUND_OS='linux'
FOUND_X11=''
LDFLAGS=''
LDLIBS=''
LIBDIR=''
LIBOBJS=''
LIBPTHREAD=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/bash'
STATIC='no'
TCLSH='/usr/bin/tclsh'
TCL_INC_SPEC=''
TCL_LIB_DIR=''
TCL_STUB_LIB_SPEC=''
TK_INC_SPEC=''
TK_LIB=''
TK_LIBS=''
TK_LIB_DIR=''
TK_STUB_LIB_SPEC=''
TK_VERSION=''
TOP_DIR=''
USE_MMX=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_prefix_program='/usr/bin/wish'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 77
Comment