Skip to Content.
Sympa Menu

freetds - Re: [freetds] freetds-0.64: configure: error: C compiler cannot create executables

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Leland Flox" <Leland.Flox AT safeguardproperties.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Cc: Leland Flox <Leland.Flox AT safeguardproperties.com>
  • Subject: Re: [freetds] freetds-0.64: configure: error: C compiler cannot create executables
  • Date: Tue, 17 Jul 2007 13:27:06 -0400

Stephan,

The "config.log" is attached.

# CC=gcc ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
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.

-- Leland


-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Stephan Austermühle
Sent: Tuesday, July 17, 2007 1:18 PM
To: FreeTDS Development Group
Subject: Re: [freetds] freetds-0.64: configure: error: C compiler cannot
create executables

Hi,

Leland Flox schrieb:

> See `config.log' for more details.

What is in config.log? What happens if you run

CC=gcc ./configure

?

Kind regards,

Stephan
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 = v210-1
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_118833-03

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = v210-1
Release = 5.10
KernelID = Generic_118833-03
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

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

PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/ucb
PATH: /usr/ccs/bin
PATH: /usr/xpg4/bin


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

configure:1538: checking for a BSD-compatible install
configure:1593: result: ./install-sh -c
configure:1604: checking whether build environment is sane
configure:1647: result: yes
configure:1712: checking for gawk
configure:1741: result: no
configure:1712: checking for mawk
configure:1741: result: no
configure:1712: checking for nawk
configure:1728: found /usr/bin/nawk
configure:1738: result: nawk
configure:1748: checking whether make sets $(MAKE)
configure:1772: result: no
configure:1963: checking build system type
configure:1981: result: sparc-sun-solaris2.10
configure:1989: checking host system type
configure:2003: result: sparc-sun-solaris2.10
configure:2052: checking for style of include used by make
configure:2080: result: GNU
configure:2151: checking for gcc
configure:2177: result: gcc
configure:2421: checking for C compiler version
configure:2424: gcc --version </dev/null >&5
gcc (GCC) 3.4.6
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:2427: $? = 0
configure:2429: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
configure:2432: $? = 0
configure:2434: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2437: $? = 1
configure:2460: checking for C compiler default output file name
configure:2463: gcc conftest.c >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:2466: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.64"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2505: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=sparc-sun-solaris2.10
ac_cv_build_alias=sparc-sun-solaris2.10
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_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_host=sparc-sun-solaris2.10
ac_cv_host_alias=sparc-sun-solaris2.10
ac_cv_prog_AWK=nawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /tmp/freetds-0.64/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /tmp/freetds-0.64/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /tmp/freetds-0.64/missing --run autoconf'
AUTOHEADER='${SHELL} /tmp/freetds-0.64/missing --run autoheader'
AUTOMAKE='${SHELL} /tmp/freetds-0.64/missing --run automake-1.9'
AWK='nawk'
BUILD_NUMBER='7198'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DISTCHECK_BUILD_FALSE=''
DISTCHECK_BUILD_TRUE=''
DLLTOOL=''
DOXYGEN=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_THREADSAFE_FALSE=''
ENABLE_THREADSAFE_TRUE=''
EXEEXT=''
FREETDS_LIBGCC=''
FREETDS_SYMBOLIC=''
HAVE_DOXYGEN_FALSE=''
HAVE_DOXYGEN_TRUE=''
HAVE_OPENSSL=''
HAVE_PERL_SOURCES=''
HAVE_PERL_SOURCES_FALSE=''
HAVE_PERL_SOURCES_TRUE=''
INCAPPS_FALSE=''
INCAPPS_TRUE=''
INCODBC_FALSE=''
INCODBC_TRUE=''
INCPOOL_FALSE=''
INCPOOL_TRUE=''
INCSERVER_FALSE=''
INCSERVER_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAJOR='0'
MAKEINFO='${SHELL} /tmp/freetds-0.64/missing --run makeinfo'
MINOR='64'
NETWORK_LIBS=''
OBJDUMP=''
OBJEXT=''
ODBC=''
ODBCINSTLIB=''
ODBCLIB=''
ODBCNODMLIB=''
ODBC_CONFIG=''
ODBC_FALSE=''
ODBC_INC=''
ODBC_TRUE=''
PACKAGE='freetds'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PTHREAD_LIBS=''
RANLIB=''
READLINE_LIBS=''
SET_MAKE='MAKE=make'
SHELL='/bin/bash'
STRIP=''
SUBVERSION='0'
SYBASE_COMPAT_FALSE=''
SYBASE_COMPAT_TRUE=''
UNIXODBC_FALSE=''
UNIXODBC_TRUE=''
VERSION='0.64'
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_DLLTOOL=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='sparc-sun-solaris2.10'
build_alias=''
build_cpu='sparc'
build_os='solaris2.10'
build_vendor='sun'
datadir='${prefix}/share'
dblib_define=''
exec_prefix='NONE'
host='sparc-sun-solaris2.10'
host_alias=''
host_cpu='sparc'
host_os='solaris2.10'
host_vendor='sun'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/tmp/freetds-0.64/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(mkinstalldirs)'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
tds_sysdep_int16_type=''
tds_sysdep_int32_type=''
tds_sysdep_int64_type=''
tds_sysdep_intptr_type=''
tds_sysdep_real32_type=''
tds_sysdep_real64_type=''

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

#define PACKAGE "freetds"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.64"
#define _GNU_SOURCE 1

configure: exit 77




Archive powered by MHonArc 2.6.24.

Top of Page