6.1 will not ./configure any program
I keep getting this error message
glenn@glenn-
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
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.
glenn@glenn-
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
what is the contents of config.log?
Revision history for this message
|
#2 |
It indicates, that it finds a cc compiler (gcc), but because of some reason, the gcc is not able to compile a small test program.
Maybe some necessary binutils are missing?
Revision history for this message
|
#3 |
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 = glenn-desktop
uname -m = i686
uname -r = 2.6.17-11-generic
uname -s = Linux
uname -v = #2 SMP Thu Feb 1 19:52:28 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/
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/bin/X11
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1309: checking for a BSD-compatible install
configure:1364: result: /usr/bin/install -c
configure:1375: checking whether build environment is sane
configure:1418: result: yes
configure:1483: checking for gawk
configure:1512: result: no
configure:1483: checking for mawk
configure:1499: found /usr/bin/mawk
configure:1509: result: mawk
configure:1519: checking whether make sets $(MAKE)
configure:1539: result: yes
configure:1707: checking whether to enable maintainer-specific portions of Makefiles
configure:1716: result: no
configure:1746: checking for style of include used by make
configure:1774: result: GNU
configure:1845: checking for gcc
configure:1861: found /usr/bin/gcc
configure:1871: result: gcc
configure:2115: checking for C compiler version
configure:2118: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2121: $? = 0
configure:2123: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
configure:2126: $? = 0
configure:2128: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2131: $? = 1
configure:2154: checking for C compiler default output file name
configure:2157: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2160: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gweled"
| #define VERSION "0.7"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2199: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_CPP_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_path_
ac_cv_prog_AWK=mawk
ac_cv_prog_
ac_cv_prog_
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/glenn/
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/glenn/
AUTOCONF='${SHELL} /home/glenn/
AUTOHEADER=
AUTOMAKE='${SHELL} /home/glenn/
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_
INSTALL_
INSTALL_
INSTALL_
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_
MAINTAINER_
MAKEINFO='${SHELL} /home/glenn/
OBJEXT=''
PACKAGE='gweled'
PACKAGE_
PACKAGE_CFLAGS=''
PACKAGE_LIBS=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.7'
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_
am__fastdepCC_
am__include=
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir=
build_alias=''
datadir=
exec_prefix='NONE'
host_alias=''
includedir=
infodir=
install_
libdir=
libexecdir=
localstatedir=
mandir=
mkdir_p='mkdir -p --'
oldincludedir=
prefix='NONE'
program_
sbindir=
scoredir=''
scores_group=''
scores_user=''
setgid=''
sharedstatedir=
sysconfdir=
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "gweled"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.7"
configure: exit 77
Revision history for this message
|
#4 |
ok.. the config.log gives you the clue:
the linker (ld) cannot find a library it needs:
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
This library and a lot of other important ones for compiling are included in the package libc6-dev. You can either install it with the package manager of your choice of with
sudo apt-get install libc6-dev
After installation of this you should get passed this step.
Revision history for this message
|
#5 |
This worked for the complier, but now my make command says several lib files not there three I remember are librsvg, libgnomeui-2.0, lib???-2.0 I look in package list and ven searched and these files are not found. I hav eto go to work will attemp to find problem latter
----- Original Message ----
From: Glenn <email address hidden>
To: <email address hidden>
Sent: Sunday, February 11, 2007 1:11:12 PM
Subject: [Support #3632]: Re: 6.1 will not ./configure any program
Your support request #3632 on Ubuntu changed:
https:/
Status: Answered => Open
You are still having a problem:
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 = glenn-desktop
uname -m = i686
uname -r = 2.6.17-11-generic
uname -s = Linux
uname -v = #2 SMP Thu Feb 1 19:52:28 UTC 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/
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/bin/X11
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1309: checking for a BSD-compatible install
configure:1364: result: /usr/bin/install -c
configure:1375: checking whether build environment is sane
configure:1418: result: yes
configure:1483: checking for gawk
configure:1512: result: no
configure:1483: checking for mawk
configure:1499: found /usr/bin/mawk
configure:1509: result: mawk
configure:1519: checking whether make sets $(MAKE)
configure:1539: result: yes
configure:1707: checking whether to enable maintainer-specific portions of Makefiles
configure:1716: result: no
configure:1746: checking for style of include used by make
configure:1774: result: GNU
configure:1845: checking for gcc
configure:1861: found /usr/bin/gcc
configure:1871: result: gcc
configure:2115: checking for C compiler version
configure:2118: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2121: $? = 0
configure:2123: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
configure:2126: $? = 0
configure:2128: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2131: $? = 1
configure:2154: checking for C compiler default output file name
configure:2157: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2160: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gweled"
| #define VERSION "0.7"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2199: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_CPP_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_path_
ac_cv_prog_AWK=mawk
ac_cv_prog_
ac_cv_prog_
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/glenn/
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/glenn/
AUTOCONF='${SHELL} /home/glenn/
AUTOHEADER=
AUTOMAKE='${SHELL} /home/glenn/
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_
INSTALL_
INSTALL_
INSTALL_
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_
MAINTAINER_
MAKEINFO='${SHELL} /home/glenn/
OBJEXT=''
PACKAGE='gweled'
PACKAGE_
PACKAGE_CFLAGS=''
PACKAGE_LIBS=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.7'
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_
am__fastdepCC_
am__include=
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir=
build_alias=''
datadir=
exec_prefix='NONE'
host_alias=''
includedir=
infodir=
install_
libdir=
libexecdir=
localstatedir=
mandir=
mkdir_p='mkdir -p --'
oldincludedir=
prefix='NONE'
program_
sbindir=
scoredir=''
scores_group=''
scores_user=''
setgid=''
sharedstatedir=
sysconfdir=
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "gweled"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.7"
configure: exit 77
_______
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://
Revision history for this message
|
#6 |
librsvg - this is probably the package librsvg2-dev
libgnomeui-2.0 - this seems to be the package libgnomeui-dev
lib???-2.0 - whatever the ??? lib???-dev.
Maybe it is easier to check in the description explaining the dependencies for all the necessary packages that need to be installed.
You should install always the *-dev packages since they include the necessary library and header files.
Revision history for this message
|
#7 |
Hi,
I have a problem while installing Squid in my system, can anyone help me get a solution on this.
root@rproxy-
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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.
root@rproxy-
Revision history for this message
|
#8 |
@ Ramya Rajakumar the original question was asked 2007-02-11 by Glenn
So please....
Don't append a new question on a already answered or marked as solved question.
Please make new question from here: https:/
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.
Thank you
Can you help with this problem?
Provide an answer of your own, or ask Glenn for more information if necessary.