When I configured the Kannel softwre I got the following problem:
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
The config.log file is as follows:
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.62. Invocation command line was
$ ./configure --prefix=/usr/local/kannel
## --------- ##
## Platform. ##
## --------- ##
hostname = sreeni9
uname -m = i686
uname -r = 1.7.1(0.218/5/3)
uname -s = CYGWIN_NT-5.1
uname -v = 2009-12-07 11:48
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /cygdrive/c/WinAVR-20100110/bin
PATH: /cygdrive/c/WinAVR-20100110/utils/bin
PATH: /cygdrive/c/WINDOWS/system32
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/System32/Wbem
PATH: /cygdrive/c/WinAVR-20100110/avr/bin
PATH: /cygdrive/c/WinAVR-20100110/utils/bin
PATH: /cygdrive/c/WinAVR-20100110/bin
PATH: /usr/bin
PATH: /cygdrive/c/libxml2-2.6.30+.win32/bin
PATH: /cygdrive/c/Program Files/Java/jdk1.6.0_16/bin
PATH: .
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2053: checking build system type
configure:2071: result: i686-pc-cygwin
configure:2093: checking host system type
configure:2108: result: i686-pc-cygwin
configure:2180: checking for gcc
configure:2196: found /cygdrive/c/WinAVR-20100110/avr/bin/gcc
configure:2207: result: gcc
configure:2445: checking for C compiler version
configure:2453: gcc --version >&5
gcc.exe (WinAVR 20100110) 4.3.3
Copyright (C) 2008 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:2457: $? = 0
configure:2464: gcc -v >&5
Using built-in specs.
Target: avr
Configured with: ../gcc-4.3.3/configure --enable-win32-registry=WinAVR-20100110 --with-gmp=/usr/local --with-mpfr=/usr/local --prefix=/c/WinAVR --target=avr --enable-languages=c,c++,objc --with-dwarf2 --enable-doc --disable-shared --disable-libada --disable-libssp --disable-nls --with-pkgversion='WinAVR 20100110' --with-bugurl='URL:http://sourceforge.net/tracker/?atid=520074&group_id=68108&func=browse'
Thread model: single
gcc version 4.3.3 (WinAVR 20100110)
configure:2468: $? = 0
configure:2475: gcc -V >&5
gcc.exe: '-V' option must have argument
configure:2479: $? = 1
configure:2502: checking for C compiler default output file name
configure:2524: gcc conftest.c >&5
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
configure:2528: $? = 3
configure:2566: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define GW_NAME "Kannel"
| #define GW_VERSION "1.4.3"
| #define VERSION "1.4.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2573: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-cygwin
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_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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=i686-pc-cygwin
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
CC='gcc'
CFLAGS=''
CONVERT=''
CPP=''
CPPFLAGS=''
DEFS=''
DOCDRAFTS=''
DOCSTARGET=''
DVIPS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXE_EXT=''
FIG2DEV=''
GREP=''
GW_VERSION=''
HTML_DSL=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
JADE=''
JADETEX=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LTLIBOBJS=''
MYSQL_CONFIG=''
OBJEXT=''
OPENSSL=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCRE_CONFIG=''
PDFJADETEX=''
PERL=''
PGSQL_CONFIG=''
PKGADD_NAME='Kannel - WAP and SMS gateway'
PKGADD_PKG='KANNELgateway'
PKGADD_VENDOR='www.kannel.org'
RANLIB=''
SDB_CONFIG=''
SHELL='/bin/sh'
SIZEOF_INT=''
SIZEOF_LONG=''
SIZEOF_LONG_LONG=''
SIZEOF_SHORT=''
SQLITE3=''
SQLITE=''
STARTSTOPDAEMONSRC=''
SUFFIX=''
TEX_DSL=''
VERSION='1.4.3'
XML_CONFIG=''
YACC=''
YFLAGS=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias=''
build_cpu='i686'
build_os='cygwin'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${prefix}/share/doc/kannel'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-cygwin'
host_alias=''
host_cpu='i686'
host_os='cygwin'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/kannel'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define GW_NAME "Kannel"
#define GW_VERSION "1.4.3"
#define VERSION "1.4.3"
configure: exit 77
It looks like you may be picking up the WinAVR compiler (which generates executables for the AVR instruction set) instead of the native compiler (which generates executables for i686). Try removing the WinAVR compiler from your path and see if that gets things working for you again.
If you actually do mean to build programs for the AVR, well then you need to specify a whole lot more information to configure to let it know to cross-compile. Getting things to successfully cross-compile with the GNU Autotools is an incredible pain and is never guaranteed to work. The following section of the Autotools book will explain the basics of how to use "configure" when cross-compiling if that is what you intend to do:
http://sources.redhat.com/autobook/autobook/autobook_258.html#SEC258
Related
I am trying to install Omnet-5.6.2 in my windows 10 64 bit.
When I enter ./configure in mingwenv,cmd file I got in error:-
configure: loading site script /mingw64/etc/config.site
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
configure: -----------------------------------------------
configure: reading configure.user for your custom settings
configure: -----------------------------------------------
checking for clang... no
checking for icc... no
checking for gcc... no
checking for clang... no
checking for cc... no
checking for xlc... no
configure: error: in `/f/Omnet/omnetpp-5.6.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
I already have GCC compiler in MinGW and it's path-variable is set.
GCC version : gcc (MinGW.org GCC Build-2) 9.2.0
My config.log file:-
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.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = DESKTOP-9J5H09N
uname -m = x86_64
uname -r = 2.10.0(0.325/5/3)
uname -s = MINGW64_NT-10.0
uname -v = 2018-02-09 15:25
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: .
PATH: /f/Omnet/omnetpp-5.6.2//bin
PATH: /mingw64/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /c/Windows/System32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /usr/bin/site_perl
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1970: loading site script /mingw64/etc/config.site
| # This file is in public domain.
| # Original author: Karlson2k (Evgeny Grin)
| # Written for MSys2/MinGW64 to help running 'configure' scripts
|
| # Defaults for MinGW64-targeted programs
|
| # Set proper selfname on bash and fallback to default name on other shells
| test -n "${BASH_SOURCE}" 2>/dev/null && config_site_me="${BASH_SOURCE[0]##*/}" || config_site_me=config.site
|
| # Set default 'host' to speedup configure
| if test -z "$build_alias"; then
| build_alias="${MSYSTEM_CHOST-x86_64-w64-mingw32}" && \
| $as_echo "$config_site_me:${as_lineno-$LINENO}: default build_alias set to $build_alias" >&5
| fi
|
| # Set default 'prefix' to "/mingw64"
| if ( test -z "$prefix" || test "x$prefix" = "xNONE" ) && \
| ( test -z "$exec_prefix" || test "x$exec_prefix" = "xNONE" ); then
| prefix="${MSYSTEM_PREFIX-/mingw64}" && \
| $as_echo "$config_site_me:${as_lineno-$LINENO}: default prefix set to $prefix" >&5
| fi
config.site:13: default build_alias set to x86_64-w64-mingw32
config.site:20: default prefix set to /mingw64
configure:2106: checking build system type
configure:2120: result: x86_64-w64-mingw32
configure:2140: checking host system type
configure:2153: result: x86_64-w64-mingw32
configure:2202: -----------------------------------------------
configure:2204: reading configure.user for your custom settings
configure:2206: -----------------------------------------------
configure:2345: checking for clang
configure:2375: result: no
configure:2345: checking for icc
configure:2375: result: no
configure:2345: checking for gcc
configure:2375: result: no
configure:2345: checking for clang
configure:2375: result: no
configure:2345: checking for cc
configure:2375: result: no
configure:2345: checking for xlc
configure:2375: result: no
configure:2397: error: in `/f/Omnet/omnetpp-5.6.2':
configure:2399: error: no acceptable C compiler found in $PATH
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-w64-mingw32
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_CXXCPP_set=
ac_cv_env_CXXCPP_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_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_value=
ac_cv_env_SWIG_set=
ac_cv_env_SWIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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=x86_64-w64-mingw32
## ----------------- ##
## Output variables. ##
## ----------------- ##
AKAROA_CFLAGS=''
AKAROA_LIBS=''
AR=''
ARFLAG_OUT=''
AS=''
AS_NEEDED_OFF=''
AS_NEEDED_ON=''
A_LIB_SUFFIX='.a'
CC=''
CFLAGS=''
CFLAGS_DEBUG=' -g -Wall'
CFLAGS_RELEASE=' -O3 -DNDEBUG=1'
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS=' -std=c++11'
DEFINES=''
DEFS=''
DLLTOOL=''
DLL_LIB_SUFFIX='.dll'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EMBED_TCL_CODE='yes'
EXEEXT=''
EXE_SUFFIX=''
HAVE_DLOPEN=''
JAVA_CFLAGS=''
JAVA_LIBS=''
JNILIBS_IF_POSSIBLE=''
JNI_LIB_SUFFIX='$(SO_LIB_SUFFIX)'
JRE=''
LDFLAGS=''
LDFLAG_IMPLIB='-Wl,--out-implib,'
LDFLAG_INCLUDE='-Wl,-u,'
LDFLAG_LIB='-l'
LDFLAG_LIBPATH='-L'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LIB_PREFIX='lib'
LN='ln -f'
LTLIBOBJS=''
MAKE=''
MAKEDEPEND='opp_makedep -Y --objdirtree'
MKPATH='mkdir -p'
MOC=''
MPICPP=''
MPICXX=''
MPI_CFLAGS=''
MPI_LIBS=''
MSGC='opp_msgc'
NEDTOOL='opp_nedtool'
OBJEXT=''
OMNETPP_BUILDID='200518-aa79d0918f'
OMNETPP_EDITION='Academic Public License -- NOT FOR COMMERCIAL USE'
OMNETPP_PRODUCT='OMNeT++'
OMNETPP_RELEASE='omnetpp-5.6.2'
OMNETPP_VERSION='5.6.2'
OSGEARTH_CFLAGS=''
OSGEARTH_LIBS=''
OSG_CFLAGS=''
OSG_LIBS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
PIC_FLAGS=''
PLATFORM=''
PREFER_SQLITE_RESULT_FILES='no'
PRIVATE_JRE=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
QMAKE=''
QTENV_LDFLAGS=''
QT_CFLAGS=''
QT_LIBS=''
RANLIB=''
RCC=''
SHARED_LIBS='yes'
SHARED_LIB_SUFFIX='$(SO_LIB_SUFFIX)'
SHELL='/bin/sh'
SHLIB_LD=''
SHLIB_POSTPROCESS='opp_shlib_postprocess'
SMC='opp_smc'
SO_LIB_SUFFIX='.so'
STRIP=''
SWIG=''
SYS_LIBS=''
TK_CFLAGS=''
TK_LIBS=''
TOOLCHAIN_NAME=''
UIC=''
WHOLE_ARCHIVE_OFF=''
WHOLE_ARCHIVE_ON=''
WISH=''
WITH_NETBUILDER='yes'
WITH_OSG='yes'
WITH_OSGEARTH='yes'
WITH_PARSIM='yes'
WITH_QTENV='yes'
WITH_SYSTEMC='no'
WITH_TKENV='no'
XMKMF=''
XMLPARSER=''
XML_CFLAGS=''
XML_LIBS=''
YACC=''
YFLAGS=''
ZLIB_CFLAGS=''
ZLIB_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-w64-mingw32'
build_alias='x86_64-w64-mingw32'
build_cpu='x86_64'
build_os='mingw32'
build_vendor='w64'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-w64-mingw32'
host_alias=''
host_cpu='x86_64'
host_os='mingw32'
host_vendor='w64'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/mingw64'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
tmp_CXX=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 1
Before installing make sure to disable antivirus. Some files of .7z missed due to ransomware protection.
I finally found a solution to this.
You can set path of your GCC or any other C compiler by writing following command in mingwenv.cmd:-
export PATH=${PATH}:/c/MinGW/bin
After that run ./configure and it will work fine.
If after using above method you are getting Qtenv cannot find qmake... error then you have to extract Omnet bundle again and this time disable your antivirus and ransomware protection.
After this run your mingwenv.cmd and follow the installation steps.
I was trying to compile binutils and I got this error saying :
C compiler cannot create executables
I need help. I am totally frustrated. If you want to know why I am doing this then my answer is don't ask.
Actually I am trying to build a GCC cross complier with Cygwin.
Here is the 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.64. Invocation command line was
$ ../binutils-2.27/configure --target=i686-elf --prefix=/home/Arunav Das/opt/cross --with-sysroot --disable-nls --disable-werror
## --------- ##
## Platform. ##
## --------- ##
hostname = DESKTOP-JCP0DAS
uname -m = i686
uname -r = 2.6.1(0.305/5/3)
uname -s = CYGWIN_NT-10.0-WOW
uname -v = 2016-12-16 11:50
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/Arunav Das/opt/cross/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /cygdrive/c/Windows/system32
PATH: /cygdrive/c/Windows
PATH: /cygdrive/c/Windows/System32/Wbem
PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
PATH: /cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86
PATH: /cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64
PATH: /cygdrive/d/DEFPC/3.0.0/bin/i386-Win32
PATH: /cygdrive/d/Program Files/CMake/bin
PATH: /cygdrive/d/DE/FPC/3.0.0/bin/i386-Win32
PATH: /cygdrive/d/Program Files/IDM Computer Solutions/UEStudio
PATH: /cygdrive/c/TDM-GCC-32-GTK/bin
PATH: /cygdrive/d/DE/TDM-GCC-32-GTK/TDM-GCC-32/bin
PATH: /cygdrive/d/Program Files/Ruby192/bin
PATH: /cygdrive/c/Windows/System32
PATH: /cygdrive/d/Program Files/FreeArc/bin
PATH: /cygdrive/u/Program Files/Mercurial
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2297: checking build system type
configure:2311: result: i686-pc-cygwin
configure:2358: checking host system type
configure:2371: result: i686-pc-cygwin
configure:2391: checking target system type
configure:2404: result: i686-pc-elf
configure:2458: checking for a BSD-compatible install
configure:2526: result: /usr/bin/install -c
configure:2537: checking whether ln works
configure:2559: result: yes
configure:2563: checking whether ln -s works
configure:2567: result: yes
configure:2574: checking for a sed that does not truncate output
configure:2638: result: /usr/bin/sed
configure:2647: checking for gawk
configure:2663: found /usr/bin/gawk
configure:2674: result: gawk
configure:3995: checking to see if cat works as expected
configure:4000: result: yes
configure:4121: checking for gcc
configure:4137: found /cygdrive/d/DE/FPC/3.0.0/bin/i386-Win32/gcc
configure:4148: result: gcc
configure:4377: checking for C compiler version
configure:4386: gcc --version >&5
2.95
configure:4397: $? = 0
configure:4386: gcc -v >&5
Using builtin specs.
gcc version 2.95 19990728 (release)
configure:4397: $? = 0
configure:4386: gcc -V >&5
gcc.exe: argument to `-V' is missing
configure:4397: $? = 1
configure:4386: gcc -qversion >&5
gcc.exe: unrecognized option `-qversion'
gcc.exe: No input files
configure:4397: $? = 1
configure:4417: checking for C compiler default output file name
configure:4439: gcc conftest.c >&5
gcc.exe: installation problem, cannot exec `cc1': No such file or directory
configure:4443: $? = 1
configure:4480: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4486: error: in `/home/Arunav Das/src/build-binutils':
configure:4490: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-cygwin
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i686-elf
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=i686-pc-cygwin
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=i686-pc-elf
acx_cv_prog_LN=ln
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET=''
AS=''
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET=''
AWK='gawk'
BISON=''
BUILD_CONFIG=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET=''
CFLAGS=''
CFLAGS_FOR_BUILD=''
CFLAGS_FOR_TARGET=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT=''
EXTRA_CONFIGARGS_LIBJAVA='--disable-static'
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET=''
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET=''
GNATBIND=''
GNATMAKE=''
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET=''
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET=''
OBJCOPY=''
OBJCOPY_FOR_TARGET=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET=''
READELF=''
READELF_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SED='/usr/bin/sed'
SHELL='/bin/sh'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../binutils-2.27/configure --target=i686-elf --prefix='\''/home/Arunav Das/opt/cross'\'' --with-sysroot --disable-nls --disable-werror'
WINDMC=''
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET=''
WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias=''
build_configargs=''
build_configdirs='build-libiberty build-libcpp build-texinfo build-flex build-bison build-m4 build-fixincludes'
build_cpu='i686'
build_libsubdir='build-i686-pc-cygwin'
build_noncanonical='i686-pc-cygwin'
build_os='cygwin'
build_subdir='build-i686-pc-cygwin'
build_tooldir=''
build_vendor='pc'
compare_exclusions=''
configdirs='intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools libtermcap'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
extra_host_libiberty_configure_flags=''
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags=''
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
gmpinc=''
gmplibs=''
host='i686-pc-cygwin'
host_alias=''
host_configargs=''
host_cpu='i686'
host_noncanonical='i686-pc-cygwin'
host_os='cygwin'
host_shared=''
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc=''
isllibs=''
islver=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags=''
poststage1_libs=''
prefix='/home/Arunav Das/opt/cross'
program_transform_name='s&^&i686-elf-&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='i686-pc-elf'
target_alias='i686-elf'
target_configargs=''
target_configdirs='target-libgcc target-libbacktrace target-libgloss target-newlib target-libgomp target-libcilkrts target-liboffloadmic target-libatomic target-libitm target-libstdc++-v3 target-libsanitizer target-libvtv target-libmpx target-libssp target-libquadmath target-libgfortran target-boehm-gc target-libffi target-zlib target-libjava target-libobjc target-libada target-libgo target-rda'
target_cpu='i686'
target_noncanonical='i686-elf'
target_os='elf'
target_subdir='i686-elf'
target_vendor='pc'
tooldir=''
## ------------------- ##
## File substitutions. ##
## ------------------- ##
alphaieee_frag=''
host_makefile_frag='config/mh-cygwin'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 77
This error message is the important one to look at:
configure:4439: gcc conftest.c >&5
gcc.exe: installation problem, cannot exec `cc1': No such file or directory
Do you have a working compiler installed? Can you compile a simple "hello, world" program? Try that first.
I'm trying to make sage in my mac 10.9.5 and after I type make I have the error C compiler cannot create executables
Do you know why ? Xcode and command line tool are installed ...
I must admit that I am a bit lost when looking at the file above. Can anyone help me ?
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Sage configure 6.6.rc3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = dhcp-147-65-172-203.impa.br
uname -m = x86_64
uname -r = 13.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 4.00 gigabytes
Default processor set: 171 tasks, 1002 threads, 4 processors
Load average: 3.67, Mach factor: 1.35
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Applications/sage/src/bin
PATH: /Applications/sage/local/bin
PATH: /usr/local/bin
PATH: //anaconda/bin
PATH: /Library/Frameworks/Python.framework/Versions/3.4/bin
PATH: /Library/Frameworks/Python.framework/Versions/3.4/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /Users/samuelguerin/usr/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /opt/X11/bin
PATH: /usr/local/CrossPack-AVR/bin
PATH: /usr/texbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2354: checking for a BSD-compatible install
configure:2422: result: /usr/bin/install -c
configure:2433: checking whether build environment is sane
configure:2488: result: yes
configure:2639: checking for a thread-safe mkdir -p
configure:2678: result: config/install-sh -c -d
configure:2685: checking for gawk
configure:2715: result: no
configure:2685: checking for mawk
configure:2715: result: no
configure:2685: checking for nawk
configure:2715: result: no
configure:2685: checking for awk
configure:2701: found /usr/bin/awk
configure:2712: result: awk
configure:2723: checking whether make sets $(MAKE)
configure:2745: result: yes
configure:2774: checking whether make supports nested variables
configure:2791: result: yes
configure:2919: checking whether to enable maintainer-specific portions of Makefiles
configure:2928: result: yes
configure:2945: checking for root user
configure:2954: result: no
configure:2994: checking build system type
configure:3008: result: x86_64-apple-darwin13.4.0
configure:3028: checking host system type
configure:3041: result: x86_64-apple-darwin13.4.0
configure:3172: checking for ar
configure:3188: found /usr/bin/ar
configure:3200: result: yes
configure:3221: checking for m4
configure:3237: found /usr/bin/m4
configure:3249: result: yes
configure:3270: checking for ranlib
configure:3286: found /usr/bin/ranlib
configure:3298: result: yes
configure:3319: checking for strip
configure:3335: found /usr/bin/strip
configure:3347: result: yes
configure:3367: checking for GNU or BSD tar
configure:3415: result: /usr/bin/tar
configure:3482: checking for latex
configure:3498: found /usr/texbin/latex
configure:3510: result: yes
configure:3534: checking for perl
configure:3552: found /usr/bin/perl
configure:3564: result: /usr/bin/perl
configure:3572: checking for Perl version 5.8.0 or later
configure:3583: result: yes
configure:3599: checking for dpkg
configure:3627: result: no
configure:3637: checking for dpkg-architecture
configure:3665: result: no
configure:3744: checking for gcc
configure:3771: result: gcc
configure:4000: checking for C compiler version
configure:4009: gcc --version >&5
gcc (GCC) 4.9.2
Copyright (C) 2014 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:4020: $? = 0
configure:4009: gcc -v >&5
Using built-in specs.
COLLECT_GCC=/Applications/sage/local/bin/gcc
COLLECT_LTO_WRAPPER=/Applications/sage/local/bin/../libexec/gcc/x86_64-apple-darwin11.4.2/4.9.2/lto-wrapper
Target: x86_64-apple-darwin11.4.2
Configured with: ../src/configure --prefix=/Users/karl.crisman/Downloads/sage-6.6/local --with-local-prefix=/Users/karl.crisman/Downloads/sage-6.6/local --with-gmp=/Users/karl.crisman/Downloads/sage-6.6/local --with-mpfr=/Users/karl.crisman/Downloads/sage-6.6/local --with-mpc=/Users/karl.crisman/Downloads/sage-6.6/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --without-isl --without-cloog
Thread model: posix
gcc version 4.9.2 (GCC)
configure:4020: $? = 0
configure:4009: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4020: $? = 1
configure:4009: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4020: $? = 1
configure:4040: checking whether the C compiler works
configure:4062: gcc conftest.c >&5
sh: line 1: 1471 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find as 2> /dev/null
as: error: unable to find utility "as", not a developer tool or in PATH
configure:4066: $? = 1
configure:4104: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "6.6.rc3"
| #define PACKAGE_STRING "Sage 6.6.rc3"
| #define PACKAGE_BUGREPORT "sage-devel#googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "6.6.rc3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4109: error: in `/Applications/sage':
configure:4111: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-apple-darwin13.4.0
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FCFLAGS_set=
ac_cv_env_FCFLAGS_value=
ac_cv_env_FC_set=
ac_cv_env_FC_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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=x86_64-apple-darwin13.4.0
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_TAR=/usr/bin/tar
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_found_ar=yes
ac_cv_prog_found_dpkg=no
ac_cv_prog_found_dpkg_arch=no
ac_cv_prog_found_latex=yes
ac_cv_prog_found_m4=yes
ac_cv_prog_found_ranlib=yes
ac_cv_prog_found_strip=yes
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
ax_cv_prog_perl_version=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /Applications/sage/config/missing aclocal-1.14'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /Applications/sage/config/missing autoconf'
AUTOHEADER='${SHELL} /Applications/sage/config/missing autoheader'
AUTOMAKE='${SHELL} /Applications/sage/config/missing automake-1.14'
AWK='awk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP='cpp'
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FC='gfortran'
FCFLAGS=''
GCC_VERSION=''
GREP=''
GXX_VERSION=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /Applications/sage/config/missing makeinfo'
MKDIR_P='config/install-sh -c -d'
OBJEXT=''
PACKAGE='sage'
PACKAGE_BUGREPORT='sage-devel#googlegroups.com'
PACKAGE_NAME='Sage'
PACKAGE_STRING='Sage 6.6.rc3'
PACKAGE_TARNAME='sage'
PACKAGE_URL=''
PACKAGE_VERSION='6.6.rc3'
PATH_SEPARATOR=':'
PERL='/usr/bin/perl'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='6.6.rc3'
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_FC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin13.4.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin13.4.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
found_ar='yes'
found_dpkg='no'
found_dpkg_arch='no'
found_latex='yes'
found_m4='yes'
found_ranlib='yes'
found_strip='yes'
host='x86_64-apple-darwin13.4.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin13.4.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Applications/sage/config/install-sh'
libdir='/Applications/sage/local/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Sage"
#define PACKAGE_TARNAME "sage"
#define PACKAGE_VERSION "6.6.rc3"
#define PACKAGE_STRING "Sage 6.6.rc3"
#define PACKAGE_BUGREPORT "sage-devel#googlegroups.com"
#define PACKAGE_URL ""
#define PACKAGE "sage"
#define VERSION "6.6.rc3"
configure: exit 77
I'm trying to run xdebug on my x64 Arch Linux, but without success. I've installed it and now when I try to run lampp it says:
Failed loading /opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so:/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so: wrong ELF class: ELFCLASS64
I did some search and found that I need to download xdebug again, compile it for x64 and move the xdebug.so file to my folder in lampp.
http://www.designified.com/blog/article/60/compiling-installing-xdebug-for-php-525-entropych-build-on-os-x-105
How to use "make" to use 64 bit libs because of ELFCLASS64 error
I've tried to compile it according to the guide from the first link:
CFLAGS='-arch x86_64' ./configure --enable-xdebug
and also with these parameters:
./configure --enable-xdebug "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" --with-php-config=/opt/lampp/bin/php-config
But I've got this problem:
configure: error: C compiler cannot create executables
See `config.log' for more details
Here's the config.log file:
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.69. Invocation command line was
$ ./configure --enable-xdebug
## --------- ##
## Platform. ##
## --------- ##
hostname = michal-ntb
uname -m = x86_64
uname -r = 3.6.5-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Oct 31 20:57:39 CET 2012
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin/core_perl
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2293: checking for grep that handles long lines and -e
configure:2351: result: /usr/bin/grep
configure:2356: checking for egrep
configure:2418: result: /usr/bin/grep -E
configure:2423: checking for a sed that does not truncate output
configure:2477: result: /bin/sed
configure:2609: checking for cc
configure:2625: found /usr/bin/cc
configure:2636: result: cc
configure:2667: checking for C compiler version
configure:2676: cc --version >&5
cc (GCC) 4.7.2
Copyright (C) 2012 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:2687: $? = 0
configure:2676: cc -v >&5
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.2 (GCC)
configure:2687: $? = 0
configure:2676: cc -V >&5
cc: error: unrecognized command line option '-V'
cc: fatal error: no input files
compilation terminated.
configure:2687: $? = 1
configure:2676: cc -qversion >&5
cc: error: unrecognized command line option '-qversion'
cc: fatal error: no input files
compilation terminated.
configure:2687: $? = 1
configure:2707: checking whether the C compiler works
configure:2729: cc -arch x86_64 conftest.c >&5
cc: error: unrecognized command line option '-arch'
cc: error: x86_64: No such file or directory
configure:2733: $? = 1
configure:2771: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2776: error: in `/home/michal/TEMP/xdebug-2.2.1':
configure:2778: 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_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-arch x86_64'
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_LIBS_set=
ac_cv_env_LIBS_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_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_prog_ac_ct_CC=cc
lt_cv_path_SED=/bin/sed
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK=''
CC='cc'
CFLAGS='-arch x86_64'
CONFIGURE_COMMAND=' '\''./configure'\'' '\''--enable-xdebug'\'''
CONFIGURE_OPTIONS=' '\''--enable-xdebug'\'''
CPP=''
CPPFLAGS=''
DEFS=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GREP='/usr/bin/grep'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
NMEDIT=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RE2C=''
SED='/bin/sed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME=''
SHLIB_SUFFIX_NAME=''
STRIP=''
ac_ct_CC='cc'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 77
I've been searching for solution for couple of hours, found some similar topics (like this), but it didn't help.
Thanks for suggestions and advices.
A quick lookup on the internet and it turned out that as I'm running on 64 bit Linux I'd compiled the 64 bit version of xdebug.so.
What I needed as Xampp runs 32 bit was the precompiled 32 bit version.
I found the solution here.
Problem solved. :-) Apparently there was an error during compilation:
/usr/bin/ld: cannot find -lgcc
I solved this by installing gcc-multilib package from the official Arch linux multilib repository.
For compilation I used these parameters:
./configure --enable-xdebug "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" --with-php-config=/opt/lampp/bin/php-config
Iam getting the error while installing the gem xapian-core .
It was saying that "configure: error: C compiler cannot create executables
See `config.log' for more details
"
Here is the log file generated.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by xapian-core configure 1.2.7, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1 --exec-prefix=/home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1
## --------- ##
## Platform. ##
## --------- ##
hostname = ip-10-28-13-19
uname -m = i686
uname -r = 3.0.0-16-virtual
uname -s = Linux
uname -v = #29-Ubuntu SMP Tue Feb 14 15:04:02 UTC 2012
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/share/ruby-rvm/gems/ruby-1.9.2-p320/bin
PATH: /usr/share/ruby-rvm/gems/ruby-1.9.2-p320#global/bin
PATH: /usr/share/ruby-rvm/rubies/ruby-1.9.2-p320/bin
PATH: /usr/share/ruby-rvm/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2767: checking for a BSD-compatible install
configure:2835: result: /usr/bin/install -c
configure:2846: checking whether build environment is sane
configure:2896: result: yes
configure:3037: checking for a thread-safe mkdir -p
configure:3076: result: /bin/mkdir -p
configure:3089: checking for gawk
configure:3119: result: no
configure:3089: checking for mawk
configure:3105: found /usr/bin/mawk
configure:3116: result: mawk
configure:3127: checking whether make sets $(MAKE)
configure:3149: result: yes
configure:3224: checking how to create a ustar tar archive
configure:3237: tar --version
tar (GNU tar) 1.25
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
configure:3240: $? = 0
configure:3280: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3283: $? = 0
configure:3287: tar -xf - <conftest.tar
configure:3290: $? = 0
configure:3303: result: gnutar
configure:3347: checking build system type
configure:3361: result: i686-pc-linux-gnu
configure:3381: checking host system type
configure:3394: result: i686-pc-linux-gnu
configure:3435: checking how to print strings
configure:3462: result: printf
configure:3495: checking for style of include used by make
configure:3523: result: GNU
configure:3593: checking for gcc
configure:3609: found /usr/bin/gcc
configure:3620: result: gcc
configure:3849: checking for C compiler version
configure:3858: gcc --version >&5
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 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:3869: $? = 0
configure:3858: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
configure:3869: $? = 0
configure:3858: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3869: $? = 4
configure:3858: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3869: $? = 4
configure:3889: checking whether the C compiler works
configure:3911: gcc -R/home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/lib conftest.c >&5
gcc: error: unrecognized option '-R'
configure:3915: $? = 1
configure:3953: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xapian-core"
| #define PACKAGE_TARNAME "xapian-core"
| #define PACKAGE_VERSION "1.2.7"
| #define PACKAGE_STRING "xapian-core 1.2.7"
| #define PACKAGE_BUGREPORT "http://xapian.org/bugs"
| #define PACKAGE_URL ""
| #define PACKAGE "xapian-core"
| #define VERSION "1.2.7"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3958: error: in `/home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/ext/xapian-core-1.2.7':
configure:3960: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_BUILD_set=
ac_cv_env_CC_FOR_BUILD_value=
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_CXXCPP_set=
ac_cv_env_CXXCPP_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=set
ac_cv_env_LDFLAGS_value=-R/home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_prog_tar_ustar=gnutar
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/ext/xapian-core-1.2.7/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/ext/xapian-core-1.2.7/missing --run tar'
AM_CXXFLAGS=''
ANSI_CXXFLAGS=''
AR=''
AUTOCONF='${SHELL} /home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/ext/xapian-core-1.2.7/missing --run autoconf'
AUTOHEADER='${SHELL} /home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/ext/xapian-core-1.2.7/missing --run autoheader'
AUTOM4TE=''
AUTOMAKE='${SHELL} /home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/ext/xapian-core-1.2.7/missing --run automake-1.11'
AWK='mawk'
BUILD_BACKEND_BRASS_FALSE=''
BUILD_BACKEND_BRASS_OR_CHERT_OR_FLINT_FALSE=''
BUILD_BACKEND_BRASS_OR_CHERT_OR_FLINT_TRUE=''
BUILD_BACKEND_BRASS_TRUE=''
BUILD_BACKEND_CHERT_FALSE=''
BUILD_BACKEND_CHERT_TRUE=''
BUILD_BACKEND_FLINT_FALSE=''
BUILD_BACKEND_FLINT_TRUE=''
BUILD_BACKEND_INMEMORY_FALSE=''
BUILD_BACKEND_INMEMORY_TRUE=''
BUILD_BACKEND_REMOTE_FALSE=''
BUILD_BACKEND_REMOTE_TRUE=''
CC='gcc'
CCDEPMODE=''
CC_FOR_BUILD=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DOCUMENTATION_RULES_FALSE=''
DOCUMENTATION_RULES_TRUE=''
DOT=''
DOXYGEN=''
DOXYGEN_DOT_PATH=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HELP2MAN=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-R/home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/lib'
LIBOBJS=''
LIBRARY_VERSION_INFO='26:1:4'
LIBRARY_VERSION_SUFFIX=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAINTAINER_NO_DOCS_FALSE=''
MAINTAINER_NO_DOCS_TRUE=''
MAKEINDEX=''
MAKEINFO='${SHELL} /home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/ext/xapian-core-1.2.7/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='xapian-core'
PACKAGE_BUGREPORT='http://xapian.org/bugs'
PACKAGE_NAME='xapian-core'
PACKAGE_STRING='xapian-core 1.2.7'
PACKAGE_TARNAME='xapian-core'
PACKAGE_URL=''
PACKAGE_VERSION='1.2.7'
PATH_SEPARATOR=':'
PERL=''
PNGCRUSH=''
QUIET=''
RANLIB=''
RST2HTML=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SHLIBEXT=''
STLPORT_CXXFLAGS=''
STLPORT_INCLUDE=''
STLPORT_LIBS=''
STRIP=''
USE_WIN32_UUID_API_FALSE=''
USE_WIN32_UUID_API_TRUE=''
USE_ZLIB_VG_FALSE=''
USE_ZLIB_VG_TRUE=''
VALGRIND=''
VERSION='1.2.7'
VPATH_BUILD_FALSE=''
VPATH_BUILD_TRUE=''
XAPIAN_LDFLAGS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
incdir='${prefix}/include'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1/ext/xapian-core-1.2.7/install-sh'
ldflags=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
link_all_deplibs_CXX=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/ubuntu/.bundler/tmp/1841/gems/xapian-core-1.2.7.1'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "xapian-core"
#define PACKAGE_TARNAME "xapian-core"
#define PACKAGE_VERSION "1.2.7"
#define PACKAGE_STRING "xapian-core 1.2.7"
#define PACKAGE_BUGREPORT "http://xapian.org/bugs"
#define PACKAGE_URL ""
#define PACKAGE "xapian-core"
#define VERSION "1.2.7"
configure: exit 77
Thanks for the help in advance
This ticket on github had some helpful links: a patch you can apply and an alternative more-up-to-date version of the xapian-full gem: https://github.com/danmunn/redmine_dmsf/issues/62
Apparently your gcc isn't letting you specify library search paths with -R. If you can find the offending line (looks like it's compiling conftest.c in xapian-core's source) and change -R to -Wl,-R, it may work.
This thread is relevant.