C compiler cannot create executables on fresh install

This has happened to me twice now on this laptop. Straight after installing my system and the packages from my saved cache, I try to build a few of my AUR packages, only to be told that the compiler can't create executables. Somehow I fixed it the last time and I can't remember what I did. Purging gcc hasn't helped.
I don't have a fast (or even reliable) internet connection, so I can't do a system upgrade as I've got a limit of < 250 MB.
For the record, I'm trying to compile pacman-color, and this is what I get:
patching file src/pacman/callback.c
patching file src/pacman/package.c
patching file src/pacman/pacman.c
patching file src/pacman/query.c
patching file src/pacman/remove.c
patching file src/pacman/sync.c
patching file src/pacman/upgrade.c
patching file src/pacman/util.c
patching file src/pacman/util.h
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
Aborting...
And this is 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 pacman configure 3.5.4, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-doc
## Platform. ##
hostname = magrathea
uname -m = x86_64
uname -r = 3.0-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011
/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: /home/robbie/bin
PATH: /usr/share/fslint/fslint
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin/vendor_perl
PATH: /usr/lib/perl5/vendor_perl/bin
PATH: /usr/bin/core_perl
## Core tests. ##
configure:2468: checking build system type
configure:2482: result: x86_64-unknown-linux-gnu
configure:2502: checking host system type
configure:2515: result: x86_64-unknown-linux-gnu
configure:2551: checking for a BSD-compatible install
configure:2619: result: /bin/install -c
configure:2630: checking whether build environment is sane
configure:2680: result: yes
configure:2821: checking for a thread-safe mkdir -p
configure:2860: result: /bin/mkdir -p
configure:2873: checking for gawk
configure:2889: found /usr/bin/gawk
configure:2900: result: gawk
configure:2911: checking whether make sets $(MAKE)
configure:2933: result: yes
configure:3128: checking for gawk
configure:3155: result: gawk
configure:3178: checking for style of include used by make
configure:3206: result: GNU
configure:3276: checking for gcc
configure:3292: found /usr/bin/gcc
configure:3303: result: gcc
configure:3532: checking for C compiler version
configure:3541: gcc --version >&5
gcc (GCC) 4.6.1 20110819 (prerelease)
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:3552: $? = 0
configure:3541: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.6-20110819/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 --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --disable-libstdcxx-pch --enable-checking=release
Thread model: posix
gcc version 4.6.1 20110819 (prerelease) (GCC)
configure:3552: $? = 0
configure:3541: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3552: $? = 1
configure:3541: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3552: $? = 1
configure:3572: checking whether the C compiler works
configure:3594: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c >&5
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/cc1: error while loading shared libraries: libcloog-isl.so.2: cannot open shared object file: No such file or directory
configure:3598: $? = 1
configure:3636: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pacman"
| #define PACKAGE_TARNAME "pacman"
| #define PACKAGE_VERSION "3.5.4"
| #define PACKAGE_STRING "pacman 3.5.4"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "pacman"
| #define VERSION "3.5.4"
| #define LIB_VERSION "6.0.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3641: error: in `/home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4':
configure:3643: error: C compiler cannot create executables
See `config.log' for more details
## Cache variables. ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
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=set
ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
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-unknown-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## Output variables. ##
ACLOCAL='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run tar'
AR=''
ASCIIDOC=''
AUTOCONF='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run autoconf'
AUTOHEADER='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run autoheader'
AUTOMAKE='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run automake-1.11'
AWK='gawk'
BASH_SHELL=''
BUILDSCRIPT='PKGBUILD'
CARCH=''
CARCHFLAGS=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
CHOST='x86_64-unknown-linux-gnu'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
CYGWIN_FALSE=''
CYGWIN_TRUE=''
DARWIN_FALSE=''
DARWIN_TRUE=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DOXYGEN=''
DSYMUTIL=''
DUMPBIN=''
DUPATH=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GNU89_INLINE_CC_FALSE=''
ENABLE_GNU89_INLINE_CC_TRUE=''
ENABLE_VISIBILITY_CC_FALSE=''
ENABLE_VISIBILITY_CC_TRUE=''
EXEEXT=''
FGREP=''
GETTEXT_MACRO_VERSION=''
GIT=''
GMSGFMT=''
GMSGFMT_015=''
GREP=''
HAVE_LIBFETCH_FALSE=''
HAVE_LIBFETCH_TRUE=''
HAVE_LIBSSL_FALSE=''
HAVE_LIBSSL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LD=''
LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_VERSION='6.0.4'
LIB_VERSION_INFO='6:4:0'
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='pacman'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='pacman'
PACKAGE_STRING='pacman 3.5.4'
PACKAGE_TARNAME='pacman'
PACKAGE_URL=''
PACKAGE_VERSION='3.5.4'
PATH_SEPARATOR=':'
PKGEXT='.pkg.tar.gz'
POSUB=''
PYTHON=''
RANLIB=''
ROOTDIR='/'
SED=''
SEDINPLACE=''
SET_MAKE=''
SHELL='/bin/sh'
SIZECMD=''
SRCEXT='.src.tar.gz'
STRIP=''
STRIP_BINARIES=''
STRIP_SHARED=''
STRIP_STATIC=''
USE_DOXYGEN_FALSE=''
USE_DOXYGEN_TRUE=''
USE_GIT_VERSION_FALSE=''
USE_GIT_VERSION_TRUE=''
USE_NLS=''
VERSION='3.5.4'
WANT_DOC_FALSE=''
WANT_DOC_TRUE=''
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## confdefs.h. ##
/* confdefs.h */
#define PACKAGE_NAME "pacman"
#define PACKAGE_TARNAME "pacman"
#define PACKAGE_VERSION "3.5.4"
#define PACKAGE_STRING "pacman 3.5.4"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define PACKAGE "pacman"
#define VERSION "3.5.4"
#define LIB_VERSION "6.0.4"
configure: exit 77
I'm at a loss as to how I can get this working again, or why it happens in the first place.
Last edited by zoqaeski (2011-10-03 16:29:49)

pacman -Syu base-devel, as the wiki clearly states?
btw: partial updates doesn't work with binary based rolling release distroes. Either update the system or use a fixed release distro.
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/cc1: error while loading shared libraries: libcloog-isl.so.2: cannot open shared object file: No such file or directory
This is one of the problems you will get when you have a partialy updated system. (or use pacman -S/R -dd)
Last edited by Mr.Elendig (2011-10-05 11:38:28)

Similar Messages

  • Issues installing ruby 1.9.3 - error: C compiler cannot create executables

    I am trying to install ruby 1.9.3 on my Macbook pro but I've run into a wall.
    Here are the essentials;
    OS: OS X 10.7.3
    Xcode: 4.3
    When I run the rvm command I get the following...
    "rvm install 1.9.3"
    Fetching yaml-0.1.4.tar.gz to /Users/vindigo/.ram/archives
    Extracting yaml-0.1.4.tar.gz to /Users/vindigo/.rvm/src
    Configuring yaml in /Users/vindigo/.rvm/src/yaml-0.1.4.
    Error running ' ./configure --prefix="/Users/vindigo/.rvm/usr"  ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/yaml/configure.log
    Compiling yaml in /Users/vindigo/.rvm/src/yaml-0.1.4.
    Error running 'make ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/yaml/make.log
    Database file /Users/vindigo/.rvm/config/packages does not exist.
    Installing Ruby from source to: /Users/vindigo/.rvm/rubies/ruby-1.9.3-p125, this may take a while depending on your cpu(s)...
    ruby-1.9.3-p125 - #fetching
    ruby-1.9.3-p125 - #extracted to /Users/vindigo/.rvm/src/ruby-1.9.3-p125 (already extracted)
    ruby-1.9.3-p125 - #configuring
    Error running ' ./configure --prefix=/Users/vindigo/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/vindigo/.rvm/usr ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/configure.log
    There has been an error while running configure. Halting the installation.
    CONFIGURE.LOG
    [2012-02-26 14:56:49]  ./configure --prefix="/Users/vindigo/.rvm/usr" 
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... config/install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/Users/vindigo/.rvm/src/yaml-0.1.4':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    MAKE.LOG
    make: *** No targets specified and no makefile found.  Stop.
    Another suggestion I received was to use the following command...
    "rvm install 1.9.3 --with-gcc=clang"
    but I get the same results.
    At this point I've exhausted my options and I am not sure what to try next, other than starting from scratch and reloading the entire OS.
    Any help would be greatly appreaciated.
    Thanks,
    Rich

    Phew!  That was harrowing.
    Found this, and it solved the problem.  Refreshingly, it was written in English and done well at that! 
    http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac
    Follow all the instructions.  The main missing ingredient for me was downloading the developer tools for the command line from Apple.  I had to register there, but it was free. These tools seemed to install the compiler where it was needed.  You might need a github something or other, I don't know.  I think I downloaded it as some point.  Anyway, I did everything this author told me, and now I have my first rails app!  Good luck - Joel

  • Installing Clamav: configure: error: C compiler cannot create executables

    I want to install clamav-0.93.3 but i keep getting an error at ./configure
    This server doesn't have access to internet so blastwave isn't an option i think.
    Here 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 clamav configure 0.93.3, which was
    generated by GNU Autoconf 2.61. Invocation command line was
    $ ./configure CC=/usr/bin/gcc
    ## Platform. ##
    hostname = host-fs1
    uname -m = i86pc
    uname -r = 5.10
    uname -s = SunOS
    uname -v = Generic_118855-36
    /usr/bin/uname -p = i386
    /bin/uname -X = System = SunOS
    Node = host-fs1
    Release = 5.10
    KernelID = Generic_118855-36
    Machine = i86pc
    BusType = <unknown>
    Serial = <unknown>
    Users = <unknown>
    OEM# = 0
    Origin# = 1
    NumCPU = 4
    /bin/arch = i86pc
    /usr/bin/arch -k = i86pc
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /usr/sfw/bin
    PATH: /usr/sfw/sbin
    PATH: /usr/ccs/bin
    PATH: /usr/openwin/bin
    PATH: /usr/dt/bin
    PATH: /opt/sfw/bin
    PATH: /opt/sfw/sbin
    ## Core tests. ##
    configure:2028: checking build system type
    configure:2046: result: i386-pc-solaris2.10
    configure:2068: checking host system type
    configure:2083: result: i386-pc-solaris2.10
    configure:2105: checking target system type
    configure:2120: result: i386-pc-solaris2.10
    configure:2205: result: creating target.h - canonical system defines
    configure:2351: checking for a BSD-compatible install
    configure:2407: result: config/install-sh -c
    configure:2418: checking whether build environment is sane
    configure:2461: result: yes
    configure:2489: checking for a thread-safe mkdir -p
    configure:2528: result: config/install-sh -c -d
    configure:2541: checking for gawk
    configure:2571: result: no
    configure:2541: checking for mawk
    configure:2571: result: no
    configure:2541: checking for nawk
    configure:2557: found /usr/bin/nawk
    configure:2568: result: nawk
    configure:2579: checking whether make sets $(MAKE)
    configure:2604: result: no
    configure:2803: checking for gawk
    configure:2830: result: nawk
    configure:2854: checking for a BSD-compatible install
    configure:2910: result: config/install-sh -c
    configure:2921: checking whether ln -s works
    configure:2925: result: yes
    configure:2932: checking whether make sets $(MAKE)
    configure:2957: result: no
    configure:3048: checking for style of include used by make
    configure:3076: result: none
    configure:3146: checking for gcc
    configure:3173: result: /usr/bin/gcc
    configure:3411: checking for C compiler version
    configure:3418: /usr/bin/gcc --version >&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:3421: $? = 0
    configure:3428: /usr/bin/gcc -v >&5
    Reading specs from /usr/local/lib/gcc/i386-pc-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:3431: $? = 0
    configure:3438: /usr/bin/gcc -V >&5
    gcc: `-V' option must have argument
    configure:3441: $? = 1
    configure:3464: checking for C compiler default output file name
    configure:3491: /usr/bin/gcc conftest.c >&5
    gcc: installation problem, cannot exec `as': No such file or directory
    configure:3494: $? = 1
    configure:3532: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "clamav"
    | #define PACKAGE_TARNAME "clamav"
    | #define PACKAGE_VERSION "0.93.3"
    | #define PACKAGE_STRING "clamav 0.93.3"
    | #define PACKAGE_BUGREPORT "http://bugs.clamav.net/"
    | #define PACKAGE PACKAGE_NAME
    | #define VERSION "0.93.3"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3539: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i386-pc-solaris2.10
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value=/usr/bin/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_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=i386-pc-solaris2.10
    ac_cv_prog_AWK=nawk
    ac_cv_prog_ac_ct_CC=/usr/bin/gcc
    ac_cv_prog_make_make_set=no
    ac_cv_target=i386-pc-solaris2.10
    ## Output variables. ##
    ACLOCAL='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run aclocal-1.10'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run tar'
    AR=''
    AUTOCONF='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run autoconf'
    AUTOHEADER='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run autoheader'
    AUTOMAKE='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run automake-1.10'
    AWK='nawk'
    BUILD_CLAMD_FALSE=''
    BUILD_CLAMD_TRUE=''
    CC='/usr/bin/gcc'
    CCDEPMODE=''
    CFGDIR=''
    CFLAGS=''
    CLAMAVGROUP=''
    CLAMAVUSER=''
    CLAMAV_MILTER_LIBS=''
    CLAMD_LIBS=''
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DBDIR=''
    DEFS=''
    DEPDIR='.deps'
    DSYMUTIL=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_UNRAR_FALSE=''
    ENABLE_UNRAR_TRUE=''
    EXEEXT=''
    FRESHCLAM_LIBS=''
    GETENT=''
    GREP=''
    HAVE_LIBGMP=''
    HAVE_MILTER_FALSE=''
    HAVE_MILTER_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LDFLAGS=''
    LIBBZ2=''
    LIBBZ2_PREFIX=''
    LIBCLAMAV_LIBS=''
    LIBCLAMAV_VERSION='4:4:0'
    LIBGMP=''
    LIBGMP_PREFIX=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S='ln -s'
    LTLIBBZ2=''
    LTLIBGMP=''
    LTLIBOBJS=''
    MAINT=''
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE=''
    MAKEINFO='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run makeinfo'
    NMEDIT=''
    OBJEXT=''
    PACKAGE='clamav'
    PACKAGE_BUGREPORT='http://bugs.clamav.net/'
    PACKAGE_NAME='clamav'
    PACKAGE_STRING='clamav 0.93.3'
    PACKAGE_TARNAME='clamav'
    PACKAGE_VERSION='0.93.3'
    PATH_SEPARATOR=':'
    RANLIB=''
    SED=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/bash'
    STRIP=''
    THREAD_LIBS=''
    TH_SAFE=''
    VERSION='0.93.3'
    VERSIONSCRIPTFLAG=''
    VERSIONSCRIPT_FALSE=''
    VERSIONSCRIPT_TRUE=''
    ac_ct_CC='/usr/bin/gcc'
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='#'
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='i386-pc-solaris2.10'
    build_alias=''
    build_cpu='i386'
    build_os='solaris2.10'
    build_vendor='pc'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='i386-pc-solaris2.10'
    host_alias=''
    host_cpu='i386'
    host_os='solaris2.10'
    host_vendor='pc'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='$(SHELL) /usr/src/clamav-0.93.3src/config/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(top_builddir)/config/install-sh -c -d'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='NONE'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sendmailprog=''
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i386-pc-solaris2.10'
    target_alias=''
    target_cpu='i386'
    target_os='solaris2.10'
    target_vendor='pc'
    ## confdefs.h. ##
    #define PACKAGE_NAME "clamav"
    #define PACKAGE_TARNAME "clamav"
    #define PACKAGE_VERSION "0.93.3"
    #define PACKAGE_STRING "clamav 0.93.3"
    #define PACKAGE_BUGREPORT "http://bugs.clamav.net/"
    #define PACKAGE PACKAGE_NAME
    #define VERSION "0.93.3"
    configure: exit 77
    Can anyone please help me i am desperate......
    thanxs

    I need to download the dvd image again its about 2 GB.
    I've downloaded the image. scp SUNWPROT to the server.
    this is the install it didn't go well:
    root@host-fs1:/usr/src# pkgadd -d . SUNWsprot
    Processing package instance <SUNWsprot> from </usr/share/src>
    Solaris Bundled tools(i386) 5.10,REV=2004.12.18
    Copyright 2004 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    This appears to be an attempt to install the same architecture and
    version of a package which is already installed. This installation
    will attempt to overwrite this package.
    The installation of this package was previously terminated and
    installation was never successfully completed.
    Do you want to continue with the installation of <SUNWsprot> [y,n,?] y
    Using </> as the package base directory.
    ## Processing package information.
    ## Processing system information.
    16 package pathnames are already properly installed.
    ## Verifying package dependencies.
    ## Verifying disk space requirements.
    ## Checking for conflicts with packages already installed.
    ## Checking for setuid/setgid programs.
    This package contains scripts which will be executed with super-user
    permission during the process of installing this package.
    Do you want to continue with the installation of <SUNWsprot> [y,n,?] y
    Installing Solaris Bundled tools as <SUNWsprot>
    ## Installing part 1 of 1.
    cpio: Can't read input: end of file encountered prior to expected end of archive.
    1 errors
    Unarchiving of /usr/share/src/SUNWsprot/archive/none failed with error 1
    pkgadd: ERROR: class action script did not complete successfully
    Installation of <SUNWsprot> failed.
    Any suggestions?
    Edited by: arragon_jaap on 25-aug-2008 11:37

  • [SOLVED] C Compiler Cannot Create Executables

    I am aware that there is already a thread on this here however it failed to solve my issue. I have installed the multilib-devel packages as the referenced post suggested, but I still receive the following error message when attempting to compile wine-mono package either with makepkg or with yaourt.
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-w64-mingw32
    checking target system type... x86_64-w64-mingw32
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for x86_64-w64-mingw32-strip... no
    checking for strip... strip
    configure: WARNING: using cross tools not prefixed with host triplet
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a ustar tar archive... gnutar
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether ln -s works... yes
    checking host platform characteristics... ok
    checking for x86_64-w64-mingw32-gcc... no
    checking for gcc... gcc
    checking for x86_64-w64-mingw32-gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/tmp/yaourt-tmp-sensei/aur-wine-mono/src/wine-mono-0.0.4/build-cross-x86_64':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    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 mono configure 2.11.1, which was
    generated by GNU Autoconf 2.69. Invocation command line was
    $ ../mono/configure --prefix=/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64-install --build=x86_64-unknown-linux-gnu --target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --with-tls=none --disable-mcs-build --enable-win32-dllmain=yes --with-libgc-threads=win32 PKG_CONFIG=false mono_cv_clang=no
    ## Platform. ##
    hostname = archmage
    uname -m = x86_64
    uname -r = 3.3.8-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Tue Jun 5 15:20:32 CEST 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
    PATH: /home/sensei/Documents/Scripts
    ## Core tests. ##
    configure:2970: checking build system type
    configure:2984: result: x86_64-unknown-linux-gnu
    configure:3004: checking host system type
    configure:3017: result: x86_64-w64-mingw32
    configure:3037: checking target system type
    configure:3050: result: x86_64-w64-mingw32
    configure:3099: checking for a BSD-compatible install
    configure:3167: result: /usr/bin/install -c
    configure:3178: checking whether build environment is sane
    configure:3233: result: yes
    configure:3292: checking for x86_64-w64-mingw32-strip
    configure:3322: result: no
    configure:3332: checking for strip
    configure:3348: found /usr/bin/strip
    configure:3359: result: strip
    configure:3371: WARNING: using cross tools not prefixed with host triplet
    configure:3384: checking for a thread-safe mkdir -p
    configure:3423: result: /bin/mkdir -p
    configure:3430: checking for gawk
    configure:3446: found /usr/bin/gawk
    configure:3457: result: gawk
    configure:3468: checking whether make sets $(MAKE)
    configure:3490: result: yes
    configure:3565: checking how to create a ustar tar archive
    configure:3578: tar --version
    tar (GNU tar) 1.26
    Copyright (C) 2011 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:3581: $? = 0
    configure:3621: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
    configure:3624: $? = 0
    configure:3628: tar -xf - <conftest.tar
    configure:3631: $? = 0
    configure:3644: result: gnutar
    configure:3654: checking whether to enable maintainer-specific portions of Makefiles
    configure:3663: result: no
    configure:3680: checking whether ln -s works
    configure:3684: result: yes
    configure:3737: checking host platform characteristics
    configure:4029: result: ok
    configure:4090: checking for x86_64-w64-mingw32-gcc
    configure:4120: result: no
    configure:4130: checking for gcc
    configure:4146: found /usr/bin/gcc
    configure:4157: result: gcc
    configure:4187: checking for x86_64-w64-mingw32-gcc
    configure:4214: result: gcc
    configure:4483: checking for C compiler version
    configure:4492: gcc --version >&5
    gcc (GCC) 4.7.0 20120505 (prerelease)
    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:4503: $? = 0
    configure:4492: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.7-20120505/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 --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.0 20120505 (prerelease) (GCC)
    configure:4503: $? = 0
    configure:4492: gcc -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:4503: $? = 1
    configure:4492: gcc -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:4503: $? = 1
    configure:4523: checking whether the C compiler works
    configure:4545: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -DGC_NOT_DLL -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32 conftest.c >&5
    /usr/bin/ld: cannot find -lmswsock
    /usr/bin/ld: cannot find -lws2_32
    /usr/bin/ld: cannot find -lole32
    /usr/bin/ld: cannot find -loleaut32
    /usr/bin/ld: cannot find -lpsapi
    /usr/bin/ld: cannot find -lversion
    /usr/bin/ld: cannot find -ladvapi32
    /usr/bin/ld: cannot find -lwinmm
    /usr/bin/ld: cannot find -lkernel32
    collect2: error: ld returned 1 exit status
    configure:4549: $? = 1
    configure:4587: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "mono"
    | #define PACKAGE_TARNAME "mono"
    | #define PACKAGE_VERSION "2.11.1"
    | #define PACKAGE_STRING "mono 2.11.1"
    | #define PACKAGE_BUGREPORT "http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono"
    | #define PACKAGE_URL ""
    | #define PACKAGE "mono"
    | #define VERSION "2.11.1"
    | #define HOST_WIN32 1
    | #define DISABLE_PORTABILITY 1
    | #define PLATFORM_NO_SYMLINKS 1
    | #define TARGET_WIN32 1
    | #define MINGW_CROSS_COMPILE 1
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:4592: error: in `/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64':
    configure:4594: error: C compiler cannot create executables
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CCASFLAGS_set=
    ac_cv_env_CCASFLAGS_value=
    ac_cv_env_CCAS_set=
    ac_cv_env_CCAS_value=
    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=set
    ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    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=set
    ac_cv_env_CXXFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_XMKMF_set=
    ac_cv_env_XMKMF_value=
    ac_cv_env_build_alias_set=set
    ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
    ac_cv_env_host_alias_set=set
    ac_cv_env_host_alias_value=x86_64-w64-mingw32
    ac_cv_env_target_alias_set=set
    ac_cv_env_target_alias_value=x86_64-w64-mingw32
    ac_cv_host=x86_64-w64-mingw32
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CC=gcc
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_ac_ct_STRIP=strip
    ac_cv_prog_make_make_set=yes
    ac_cv_target=x86_64-w64-mingw32
    am_cv_prog_tar_ustar=gnutar
    mono_cv_clang=no
    ## Output variables. ##
    ACLOCAL='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run aclocal-1.12'
    ALPHA_FALSE=''
    ALPHA_TRUE=''
    AMD64_FALSE=''
    AMD64_TRUE=''
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    API_VER='2.0'
    AR=''
    ARM_FALSE=''
    ARM_TRUE=''
    AS=''
    AUTOCONF='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run automake-1.12'
    AWK='gawk'
    BOEHM_DEFINES=''
    BUILD_EXEEXT=''
    BUILD_GLIB_CFLAGS=''
    BUILD_GLIB_LIBS=''
    BUILD_MCS_FALSE=''
    BUILD_MCS_TRUE=''
    CC='gcc'
    CCAS=''
    CCASDEPMODE=''
    CCASFLAGS=''
    CCDEPMODE=''
    CC_FOR_BUILD=''
    CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CFLAGS_FOR_BUILD=''
    CPP=''
    CPPFLAGS=' -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -DGC_NOT_DLL'
    CROSS_COMPILING_FALSE=''
    CROSS_COMPILING_TRUE=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    DISABLE_EXECUTABLES_FALSE=''
    DISABLE_EXECUTABLES_TRUE=''
    DISABLE_JIT_FALSE=''
    DISABLE_JIT_TRUE=''
    DISABLE_PROFILER_FALSE=''
    DISABLE_PROFILER_TRUE=''
    DISABLE_SHARED_HANDLES=''
    DLLTOOL=''
    DOLT_BASH=''
    DSYMUTIL=''
    DTRACE=''
    DTRACEFLAGS=''
    DTRACE_G_REQUIRED_FALSE=''
    DTRACE_G_REQUIRED_TRUE=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_DTRACE_FALSE=''
    ENABLE_DTRACE_TRUE=''
    ENABLE_LLVM_FALSE=''
    ENABLE_LLVM_TRUE=''
    ENABLE_NUNIT_TESTS_FALSE=''
    ENABLE_NUNIT_TESTS_TRUE=''
    EXEEXT=''
    FGREP=''
    GETTEXT_MACRO_VERSION=''
    GLIB_CFLAGS=''
    GLIB_LIBS=''
    GMODULE_CFLAGS=''
    GMODULE_LIBS=''
    GMSGFMT=''
    GMSGFMT_015=''
    GREP=''
    HAVE_MSGFMT=''
    HAVE_OPROFILE_FALSE=''
    HAVE_OPROFILE_TRUE=''
    HAVE_ZLIB_FALSE=''
    HAVE_ZLIB_TRUE=''
    HOST_CC='gcc'
    HOST_WIN32_FALSE='#'
    HOST_WIN32_TRUE=''
    HPPA_FALSE=''
    HPPA_TRUE=''
    IA64_FALSE=''
    IA64_TRUE=''
    INCLUDED_LIBGC_FALSE=''
    INCLUDED_LIBGC_TRUE=''
    INSTALL_4_0_FALSE=''
    INSTALL_4_0_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_MOBILE_FALSE=''
    INSTALL_MOBILE_TRUE=''
    INSTALL_MONODROID_FALSE=''
    INSTALL_MONODROID_TRUE=''
    INSTALL_MONOTOUCH_FALSE=''
    INSTALL_MONOTOUCH_TRUE=''
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INTERP_SUPPORTED_FALSE=''
    INTERP_SUPPORTED_TRUE=''
    INTL=''
    JIT_SUPPORTED_FALSE=''
    JIT_SUPPORTED_TRUE=''
    LD=''
    LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32'
    LIBC=''
    LIBGC_CPPFLAGS=''
    LIBGC_LIBS=''
    LIBGC_STATIC_LIBS=''
    LIBICONV=''
    LIBMONO_LA=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIPO=''
    LLVM_CFLAGS=''
    LLVM_CONFIG=''
    LLVM_CXXFLAGS=''
    LLVM_LDFLAGS=''
    LLVM_LIBS=''
    LN_S='cp'
    LOADED_LLVM_FALSE=''
    LOADED_LLVM_TRUE=''
    LTCOMPILE=''
    LTCXXCOMPILE=''
    LTLIBICONV=''
    LTLIBOBJS=''
    M68K_FALSE=''
    M68K_TRUE=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run makeinfo'
    MANIFEST_TOOL=''
    MIPS_FALSE=''
    MIPS_GCC_FALSE=''
    MIPS_GCC_TRUE=''
    MIPS_SGI_FALSE=''
    MIPS_SGI_TRUE=''
    MIPS_TRUE=''
    MKDIR_P='/bin/mkdir -p'
    MONO_DEBUGGER_SUPPORTED_FALSE=''
    MONO_DEBUGGER_SUPPORTED_TRUE=''
    MONO_DL_NEED_USCORE=''
    MONO_NACL_ALIGN_MASK_OFF=''
    MOONLIGHT_BOEHM_FALSE=''
    MOONLIGHT_BOEHM_TRUE=''
    MOONLIGHT_DEFINES=''
    MOONLIGHT_FALSE=''
    MOONLIGHT_SGEN_FALSE=''
    MOONLIGHT_SGEN_TRUE=''
    MOONLIGHT_TRUE=''
    MSGFMT=''
    MSGFMT_015=''
    MSGMERGE=''
    NACL_CODEGEN_FALSE=''
    NACL_CODEGEN_TRUE=''
    NM=''
    NMEDIT=''
    NO_VERSION_SCRIPT_FALSE=''
    NO_VERSION_SCRIPT_TRUE=''
    OBJDUMP=''
    OBJEXT=''
    ONLY_MOONLIGHT_FALSE=''
    ONLY_MOONLIGHT_TRUE=''
    OPROFILE_CFLAGS=''
    OPROFILE_LIBS=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='mono'
    PACKAGE_BUGREPORT='http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono'
    PACKAGE_NAME='mono'
    PACKAGE_STRING='mono 2.11.1'
    PACKAGE_TARNAME='mono'
    PACKAGE_URL=''
    PACKAGE_VERSION='2.11.1'
    PATH_SEPARATOR=':'
    PKG_CONFIG='false'
    PLATFORM_ANDROID_FALSE=''
    PLATFORM_ANDROID_TRUE='#'
    PLATFORM_DARWIN_FALSE=''
    PLATFORM_DARWIN_TRUE='#'
    PLATFORM_LINUX_FALSE=''
    PLATFORM_LINUX_TRUE='#'
    PLATFORM_SIGPOSIX_FALSE=''
    PLATFORM_SIGPOSIX_TRUE='#'
    POWERPC64_FALSE=''
    POWERPC64_TRUE=''
    POWERPC_FALSE=''
    POWERPC_TRUE=''
    RANLIB=''
    S390_FALSE=''
    S390_TRUE=''
    S390x_FALSE=''
    S390x_TRUE=''
    SED=''
    SET_MAKE=''
    SGEN_DEFINES=''
    SHARED_MONO_FALSE=''
    SHARED_MONO_TRUE=''
    SHELL='/bin/sh'
    SPARC64_FALSE=''
    SPARC64_TRUE=''
    SPARC_FALSE=''
    SPARC_TRUE=''
    SQLITE3=''
    SQLITE=''
    STATIC_MONO_FALSE=''
    STATIC_MONO_TRUE=''
    STRIP='strip'
    SUPPORT_BOEHM_FALSE=''
    SUPPORT_BOEHM_TRUE=''
    SUPPORT_SGEN_FALSE=''
    SUPPORT_SGEN_TRUE=''
    TARGET_WIN32_FALSE='#'
    TARGET_WIN32_TRUE=''
    USE_BATCH_FILES_FALSE=''
    USE_BATCH_FILES_TRUE=''
    USE_JIT_FALSE=''
    USE_JIT_TRUE=''
    USE_NLS=''
    VERSION='2.11.1'
    X11=''
    X86_FALSE=''
    X86_TRUE=''
    XATTR_LIB=''
    XGETTEXT=''
    XGETTEXT_015=''
    XGETTEXT_EXTRA_OPTIONS=''
    XMKMF=''
    ac_ct_AR=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCCAS_FALSE=''
    am__fastdepCCAS_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__isrc=' -I$(srcdir)'
    am__leading_dot='.'
    am__nodep=''
    am__quote=''
    am__tar='tar --format=ustar -chf - "$$tardir"'
    am__untar='tar -xf -'
    arch_target=''
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias='x86_64-unknown-linux-gnu'
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    docs_dir=''
    dvidir='${docdir}'
    exec_prefix='NONE'
    export_ldflags=''
    host='x86_64-w64-mingw32'
    host_alias='x86_64-w64-mingw32'
    host_cpu='x86_64'
    host_os='mingw32'
    host_vendor='w64'
    htmldir='${docdir}'
    ikvm_native_dir=''
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    libgc_dir=''
    libgdiplus_loc=''
    libmono_cflags='-mno-cygwin -mms-bitfields -mwindows'
    libmono_ldflags='-mno-cygwin -mms-bitfields -mwindows'
    libsuffix=''
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mcs_topdir=''
    mcs_topdir_from_srcdir=''
    mkdir_p=''
    mono_build_root=''
    mono_cfg_dir=''
    mono_runtime=''
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64-install'
    program_transform_name='s&^&x86_64-w64-mingw32-&'
    psdir='${docdir}'
    reloc_libdir='lib'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    subdirs=''
    sysconfdir='${prefix}/etc'
    target='x86_64-w64-mingw32'
    target_alias='x86_64-w64-mingw32'
    target_cpu='x86_64'
    target_os='mingw32'
    target_vendor='w64'
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "mono"
    #define PACKAGE_TARNAME "mono"
    #define PACKAGE_VERSION "2.11.1"
    #define PACKAGE_STRING "mono 2.11.1"
    #define PACKAGE_BUGREPORT "http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono"
    #define PACKAGE_URL ""
    #define PACKAGE "mono"
    #define VERSION "2.11.1"
    #define HOST_WIN32 1
    #define DISABLE_PORTABILITY 1
    #define PLATFORM_NO_SYMLINKS 1
    #define TARGET_WIN32 1
    #define MINGW_CROSS_COMPILE 1
    configure: exit 77
    My makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    #DLAGENTS=('ftp::/usr/bin/wget -4 -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    # 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    # 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    #Curl as default DLAGENT
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    I am running a x64 arch with multilib and multilib-testing enabled. This is the first time I have encountered this error. Thank you in advance for all advice and suggestions.
    Edited: added makepkg.conf
    Last edited by mynameisneo (2012-06-13 19:04:09)

    In your config.log:
    /usr/bin/ld: cannot find -lmswsock
    /usr/bin/ld: cannot find -lws2_32
    /usr/bin/ld: cannot find -lole32
    /usr/bin/ld: cannot find -loleaut32
    /usr/bin/ld: cannot find -lpsapi
    /usr/bin/ld: cannot find -lversion
    /usr/bin/ld: cannot find -ladvapi32
    /usr/bin/ld: cannot find -lwinmm
    /usr/bin/ld: cannot find -lkernel32
    Try find these files which package provides!
    Edit: maybe package 'wine' provides this but as I see these libs are in /usr/lib/wine.
    Last edited by uzsolt (2012-06-13 18:07:08)

  • [SOLVED]C compiler cannot create executables DUE TO MISSING DEV. PACKS

    Hi there, I was trying to build "lib32-libpcap" from AUR using yaourt when the gcc(?) reported an error as following:
    ==> Starting build()...
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc -m32
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    ==> ERROR: A failure occurred in build().
    Aborting...
    The content of 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.61. Invocation command line was
    $ ./configure --prefix=/usr --libdir=/usr/lib32 --enable-ipv6
    ## Platform. ##
    hostname = mzws
    uname -m = x86_64
    uname -r = 3.2.8-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012
    /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: /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:1794: checking build system type
    configure:1812: result: x86_64-unknown-linux-gnu
    configure:1834: checking host system type
    configure:1849: result: x86_64-unknown-linux-gnu
    configure:1871: checking target system type
    configure:1886: result: x86_64-unknown-linux-gnu
    configure:2036: checking for gcc
    configure:2063: result: gcc -m32
    configure:2301: checking for C compiler version
    configure:2308: gcc -m32 --version >&5
    gcc (GCC) 4.6.2 20120120 (prerelease)
    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:2311: $? = 0
    configure:2318: gcc -m32 -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.6-20120120/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 --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --enable-checking=release
    Thread model: posix
    gcc version 4.6.2 20120120 (prerelease) (GCC)
    configure:2321: $? = 0
    configure:2328: gcc -m32 -V >&5
    gcc: error: unrecognized option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:2331: $? = 1
    configure:2354: checking for C compiler default output file name
    configure:2381: gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c >&5
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgcc_s.so when searching for -lgcc_s
    /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
    /usr/bin/ld: cannot find -lgcc_s
    collect2: ld returned 1 exit status
    configure:2384: $? = 1
    configure:2422: result:
    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:2429: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value='gcc -m32'
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    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=set
    ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
    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-unknown-linux-gnu
    ac_cv_prog_ac_ct_CC='gcc -m32'
    ac_cv_target=x86_64-unknown-linux-gnu
    ## Output variables. ##
    ADDLARCHIVEOBJS=''
    ADDLOBJS=''
    BT_SRC=''
    CAN_SRC=''
    CC='gcc -m32'
    CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CPP=''
    CPPFLAGS=''
    DEFS=''
    DYEXT=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    GREP=''
    HAVE_LINUX_TPACKET_AUXDATA=''
    INSTALL_DATA=''
    INSTALL_PROGRAM=''
    INSTALL_SCRIPT=''
    LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'
    LIBOBJS=''
    LIBS=''
    LTLIBOBJS=''
    MAN_FILE_FORMATS=''
    MAN_MISC_INFO=''
    OBJEXT=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PCAP_SUPPORT_BT=''
    PCAP_SUPPORT_CAN=''
    PCAP_SUPPORT_USB=''
    RANLIB=''
    SHELL='/bin/sh'
    SHLICC2=''
    SSRC=''
    USB_SRC=''
    V_CCOPT='-O'
    V_DEFS=''
    V_FINDALLDEVS=''
    V_INCLS=''
    V_LEX=''
    V_PCAP=''
    V_RPATH_OPT=''
    V_SHLIB_CMD=''
    V_SHLIB_OPT=''
    V_SONAME_OPT=''
    V_YACC=''
    ac_ct_CC='gcc -m32'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='x86_64-unknown-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    libdir='/usr/lib32'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='x86_64-unknown-linux-gnu'
    target_alias=''
    target_cpu='x86_64'
    target_os='linux-gnu'
    target_vendor='unknown'
    ## confdefs.h. ##
    #define PACKAGE_NAME ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define PACKAGE_STRING ""
    #define PACKAGE_BUGREPORT ""
    configure: exit 77
    and the makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Am running a up-to-date x64 Arch with [multilib] enabled; perhaps it's a silly mistake I made somewhere but I'm no dev and so cannot figure out what went wrong in the config.log....please help with your kindness and thanks in advance!
    Last edited by karbon (2012-03-10 04:28:58)

    Thanks for your replies:)
    Allan wrote:Are you really up-to-date?   gcc-4.6.3 was put in [core] four days ago but you still seem to have 4.6.2.
    Well...at least as up-to-date as on March 2nd(when I did last system-wide upgrade); trying to update system tonight to see whether this works.
    stronnag wrote:If you have multilib and testing enabled, you also need  multilib-testing, otherwise (as I know from bitter experience), you get these hard to track down errors.
    Nope I didn't enable [testing]; I've discovered some packages in [multilib], namely gcc-multilib or something similar(with the -multilib subfix) and some of these packages belong to the group "multilib-devel". Is installing these packages a must for compiling 32-bit packages?

  • [solved] Cannot compile conky-cli (compiler cannot create executables)

    I'm having what seems to be a pretty common problem, but I cannot solve it. I've searched google and the forums, and I'm sure the answer is very easy, but I'm just stuck.
    ==> Starting build()...
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: in `/tmp/yaourt-tmp-heleos/aur-conky-cli/conky-cli/src/conky-1.7.1.1':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build conky-cli package.
    If someone could point me in the right direction that would be great
    Solved my own problem! Looks like it was a change I made to my makepkg.conf.... Does anyone have a CFLAGS that's safe for an i7?
    Last edited by heleos (2009-08-25 01:07:24)

    Do you (or someone else) have a pkgbuild that you would like to share? I'm in need of the ecj compiler, but didn't find a pkgbuild in aur (unlessed I missed it somehow)
    Kind regards,
    Simon

  • [Solved] error: C compiler cannot create executable

    I dont understand, I compiled many package in the past an now look like GCC is broken somewhere. I tried to reinstall base-devel and pacman to get a new makepkg.conf and the error is still there.
    Here is the output error:
    patching file daemon/gdm-server.c
    Hunk #1 succeeded at 131 (offset 4 lines).
    patching file data/greeter-autostart/gnome-settings-daemon.desktop.in.in
    patching file data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in
    patching file gui/simple-chooser/gdm-chooser-session.c
    patching file daemon/gdm-server.c
    Hunk #1 succeeded at 33 with fuzz 2.
    Hunk #2 succeeded at 156 (offset 4 lines).
    Hunk #3 succeeded at 402 (offset 4 lines).
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    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 whether the C compiler works... no
    configure: error: in `/tmp/yaourt-tmp-srivo/abs-gdm/src/gdm-2.32.0':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    Abandon...
    I tryed to build this one with yaourt -Sb but the same happen when I try to copy the content of the ABS tree in a folder and use makepkg instead.
    Last edited by srivo (2010-10-28 09:54:29)

    Here it is.  Thanks Wonder.
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by gdm configure 2.32.0, which was
    generated by GNU Autoconf 2.66. Invocation command line was
    $ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/gdm --localstatedir=/var --disable-static --with-at-spi-registryd-directory=/usr/lib/at-spi --disable-scrollkeeper
    ## Platform. ##
    hostname = hacker
    uname -m = i686
    uname -r = 2.6.35-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Wed Sep 29 07:17:20 UTC 2010
    /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: /bin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /opt/java/bin
    PATH: /opt/java/jre/bin
    PATH: /opt/NX/bin
    PATH: /usr/lib/perl5/vendor_perl/bin
    PATH: /usr/bin/perlbin/vendor
    PATH: /usr/lib/perl5/core_perl/bin
    ## Core tests. ##
    configure:2778: checking for a BSD-compatible install
    configure:2846: result: /bin/install -c
    configure:2857: checking whether build environment is sane
    configure:2907: result: yes
    configure:3048: checking for a thread-safe mkdir -p
    configure:3087: result: /bin/mkdir -p
    configure:3100: checking for gawk
    configure:3116: found /bin/gawk
    configure:3127: result: gawk
    configure:3138: checking whether make sets $(MAKE)
    configure:3160: result: yes
    configure:3253: checking whether to enable maintainer-specific portions of Makefiles
    configure:3262: result: no
    configure:3289: checking for style of include used by make
    configure:3317: result: GNU
    configure:3387: checking for gcc
    configure:3403: found /usr/bin/gcc
    configure:3414: result: gcc
    configure:3643: checking for C compiler version
    configure:3652: gcc --version >&5
    gcc (GCC) 4.5.1
    Copyright (C) 2010 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:3663: $? = 0
    configure:3652: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper
    Target: i686-pc-linux-gnu
    Configured with: ../configure --prefix=/usr --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --enable-lto --enable-plugin --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
    Thread model: posix
    gcc version 4.5.1 (GCC)
    configure:3663: $? = 0
    configure:3652: gcc -V >&5
    gcc: '-V' option must have argument
    configure:3663: $? = 1
    configure:3652: gcc -qversion >&5
    gcc: unrecognized option '-qversion'
    gcc: no input files
    configure:3663: $? = 1
    configure:3683: checking whether the C compiler works
    configure:3705: gcc -march=native -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start':
    (.text+0xc): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start':
    (.text+0x11): undefined reference to `__libc_csu_init'
    collect2: ld returned 1 exit status
    configure:3709: $? = 1
    configure:3747: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "gdm"
    | #define PACKAGE_TARNAME "gdm"
    | #define PACKAGE_VERSION "2.32.0"
    | #define PACKAGE_STRING "gdm 2.32.0"
    | #define PACKAGE_BUGREPORT "[url]http://bugzilla.gnome.org/enter_bug.cgi?product=gdm[/url]"
    | #define PACKAGE_URL ""
    | #define PACKAGE "gdm"
    | #define VERSION "2.32.0"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3752: error: in `/tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0':
    configure:3754: error: C compiler cannot create executables
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_env_APPLET_CFLAGS_set=
    ac_cv_env_APPLET_CFLAGS_value=
    ac_cv_env_APPLET_LIBS_set=
    ac_cv_env_APPLET_LIBS_value=
    ac_cv_env_CANBERRA_GTK_CFLAGS_set=
    ac_cv_env_CANBERRA_GTK_CFLAGS_value=
    ac_cv_env_CANBERRA_GTK_LIBS_set=
    ac_cv_env_CANBERRA_GTK_LIBS_value=
    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=set
    ac_cv_env_CFLAGS_value='-march=native -O2 -pipe'
    ac_cv_env_CHECK_CFLAGS_set=
    ac_cv_env_CHECK_CFLAGS_value=
    ac_cv_env_CHECK_LIBS_set=
    ac_cv_env_CHECK_LIBS_value=
    ac_cv_env_COMMON_CFLAGS_set=
    ac_cv_env_COMMON_CFLAGS_value=
    ac_cv_env_COMMON_LIBS_set=
    ac_cv_env_COMMON_LIBS_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=set
    ac_cv_env_CXXFLAGS_value='-march=native -O2 -pipe'
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_DAEMON_CFLAGS_set=
    ac_cv_env_DAEMON_CFLAGS_value=
    ac_cv_env_DAEMON_LIBS_set=
    ac_cv_env_DAEMON_LIBS_value=
    ac_cv_env_GCONF_CFLAGS_set=
    ac_cv_env_GCONF_CFLAGS_value=
    ac_cv_env_GCONF_LIBS_set=
    ac_cv_env_GCONF_LIBS_value=
    ac_cv_env_GTHREAD_CFLAGS_set=
    ac_cv_env_GTHREAD_CFLAGS_value=
    ac_cv_env_GTHREAD_LIBS_set=
    ac_cv_env_GTHREAD_LIBS_value=
    ac_cv_env_GTK_CFLAGS_set=
    ac_cv_env_GTK_CFLAGS_value=
    ac_cv_env_GTK_LIBS_set=
    ac_cv_env_GTK_LIBS_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_LIBXKLAVIER_CFLAGS_set=
    ac_cv_env_LIBXKLAVIER_CFLAGS_value=
    ac_cv_env_LIBXKLAVIER_LIBS_set=
    ac_cv_env_LIBXKLAVIER_LIBS_value=
    ac_cv_env_PKG_CONFIG_LIBDIR_set=
    ac_cv_env_PKG_CONFIG_LIBDIR_value=
    ac_cv_env_PKG_CONFIG_PATH_set=set
    ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib/pkgconfig
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_SIMPLE_CHOOSER_CFLAGS_set=
    ac_cv_env_SIMPLE_CHOOSER_CFLAGS_value=
    ac_cv_env_SIMPLE_CHOOSER_LIBS_set=
    ac_cv_env_SIMPLE_CHOOSER_LIBS_value=
    ac_cv_env_SIMPLE_GREETER_CFLAGS_set=
    ac_cv_env_SIMPLE_GREETER_CFLAGS_value=
    ac_cv_env_SIMPLE_GREETER_LIBS_set=
    ac_cv_env_SIMPLE_GREETER_LIBS_value=
    ac_cv_env_UPOWER_CFLAGS_set=
    ac_cv_env_UPOWER_CFLAGS_value=
    ac_cv_env_UPOWER_LIBS_set=
    ac_cv_env_UPOWER_LIBS_value=
    ac_cv_env_XLIB_CFLAGS_set=
    ac_cv_env_XLIB_CFLAGS_value=
    ac_cv_env_XLIB_LIBS_set=
    ac_cv_env_XLIB_LIBS_value=
    ac_cv_env_XMKMF_set=
    ac_cv_env_XMKMF_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_install='/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    ## Output variables. ##
    ACLOCAL='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run aclocal-1.11'
    ALL_LINGUAS=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run tar'
    AM_BACKSLASH='\'
    AM_DEFAULT_VERBOSITY='0'
    APPLET_CFLAGS=''
    APPLET_LIBS=''
    AR=''
    AT_BINDIR=''
    AT_SPI_REGISTRYD_DIR=''
    AUTOCONF='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run autoconf'
    AUTOHEADER='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run autoheader'
    AUTOMAKE='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run automake-1.11'
    AWK='gawk'
    BINDIR=''
    CANBERRA_GTK_CFLAGS=''
    CANBERRA_GTK_LIBS=''
    CATALOGS=''
    CATOBJEXT=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS='-march=native -O2 -pipe'
    CHECK_CFLAGS=''
    CHECK_LIBS=''
    COMMON_CFLAGS=''
    COMMON_LIBS=''
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS='-march=native -O2 -pipe'
    CYGPATH_W='echo'
    DAEMON_CFLAGS=''
    DAEMON_LIBS=''
    DATADIR=''
    DATADIRNAME=''
    DBUS_SYS_DIR=''
    DEBUG_CFLAGS=''
    DEFS=''
    DEPDIR='.deps'
    DISTCHECK_CONFIGURE_FLAGS=''
    DOC_USER_FORMATS=''
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_SK_FALSE=''
    ENABLE_SK_TRUE=''
    EXEEXT=''
    EXTRA_CHOOSER_LIBS=''
    EXTRA_DAEMON_LIBS=''
    EXTRA_DYNAMIC_LIBS=''
    EXTRA_FLEXI_LIBS=''
    EXTRA_GREETER_LIBS=''
    EXTRA_SETUP_LIBS=''
    EXTRA_SLAVE_LIBS=''
    EXTRA_TEST_LIBS=''
    EXTRA_XNEST_LIBS=''
    FGREP=''
    GCONFTOOL=''
    GCONF_CFLAGS=''
    GCONF_LIBS=''
    GCONF_SCHEMAS_INSTALL_FALSE=''
    GCONF_SCHEMAS_INSTALL_TRUE=''
    GCONF_SCHEMA_CONFIG_SOURCE=''
    GCONF_SCHEMA_FILE_DIR=''
    GDMCHOOSER=''
    GDM_CUSTOM_CONF=''
    GDM_DEFAULTS_CONF=''
    GDM_GROUPNAME=''
    GDM_OLD_CONF=''
    GDM_PID_FILE=''
    GDM_SCREENSHOT_DIR=''
    GDM_SESSION_DEFAULT_PATH=''
    GDM_USERNAME=''
    GDM_WORKING_DIR=''
    GDM_XAUTH_DIR=''
    GETTEXT_PACKAGE=''
    GLIB_GENMARSHAL=''
    GMOFILES=''
    GMSGFMT=''
    GREP=''
    GTHREAD_CFLAGS=''
    GTHREAD_LIBS=''
    GTK_CFLAGS=''
    GTK_LIBS=''
    HAVE_ADT_FALSE=''
    HAVE_ADT_TRUE=''
    HAVE_CHECK_FALSE=''
    HAVE_CHECK_TRUE=''
    HAVE_GNOME_DOC_UTILS_FALSE=''
    HAVE_GNOME_DOC_UTILS_TRUE=''
    HAVE_LIBAUDIT_FALSE=''
    HAVE_LIBAUDIT_TRUE=''
    HAVE_LIBXKLAVIER=''
    HAVE_LIBXKLAVIER_FALSE=''
    HAVE_LIBXKLAVIER_TRUE=''
    HAVE_PAM=''
    HELP_DIR=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INSTOBJEXT=''
    INTLLIBS=''
    INTLTOOL_CAVES_RULE=''
    INTLTOOL_DESKTOP_RULE=''
    INTLTOOL_DIRECTORY_RULE=''
    INTLTOOL_EXTRACT=''
    INTLTOOL_KBD_RULE=''
    INTLTOOL_KEYS_RULE=''
    INTLTOOL_MERGE=''
    INTLTOOL_OAF_RULE=''
    INTLTOOL_PERL=''
    INTLTOOL_POLICY_RULE=''
    INTLTOOL_PONG_RULE=''
    INTLTOOL_PROP_RULE=''
    INTLTOOL_SCHEMAS_RULE=''
    INTLTOOL_SERVER_RULE=''
    INTLTOOL_SERVICE_RULE=''
    INTLTOOL_SHEET_RULE=''
    INTLTOOL_SOUNDLIST_RULE=''
    INTLTOOL_THEME_RULE=''
    INTLTOOL_UI_RULE=''
    INTLTOOL_UPDATE=''
    INTLTOOL_XAM_RULE=''
    INTLTOOL_XML_NOMERGE_RULE=''
    INTLTOOL_XML_RULE=''
    LANG_CONFIG_FILE=''
    LD=''
    LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
    LIBDIR=''
    LIBEXECDIR=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIBWRAP_LIBS=''
    LIBXKLAVIER_CFLAGS=''
    LIBXKLAVIER_LIBS=''
    LIPO=''
    LN_S=''
    LOCALSTATEDIR=''
    LTLIBOBJS=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run makeinfo'
    MKDIR_P='/bin/mkdir -p'
    MKDTEMP_MISSING_FALSE=''
    MKDTEMP_MISSING_TRUE=''
    MKINSTALLDIRS=''
    MSGFMT=''
    MSGFMT_OPTS=''
    MSGMERGE=''
    NM=''
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OMF_DIR=''
    OS_SOLARIS_FALSE=''
    OS_SOLARIS_TRUE=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='gdm'
    PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gdm'
    PACKAGE_NAME='gdm'
    PACKAGE_STRING='gdm 2.32.0'
    PACKAGE_TARNAME='gdm'
    PACKAGE_URL=''
    PACKAGE_VERSION='2.32.0'
    PAM_LIBS=''
    PAM_PREFIX=''
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    PKG_CONFIG_LIBDIR=''
    PKG_CONFIG_PATH='/usr/lib/pkgconfig'
    PLUGIN_LIBTOOL_FLAGS=''
    POFILES=''
    POSUB=''
    PO_IN_DATADIR_FALSE=''
    PO_IN_DATADIR_TRUE=''
    RANLIB=''
    RBAC_LIBS=''
    SBINDIR=''
    SED=''
    SET_MAKE=''
    SHELL='/bin/sh'
    SIMPLE_CHOOSER_CFLAGS=''
    SIMPLE_CHOOSER_LIBS=''
    SIMPLE_GREETER_CFLAGS=''
    SIMPLE_GREETER_LIBS=''
    SOUND_PROGRAM=''
    STRIP=''
    SYSCONFDIR=''
    UPOWER=''
    UPOWER_CFLAGS=''
    UPOWER_LIBS=''
    USE_NLS=''
    VERSION='2.32.0'
    WARN_CFLAGS=''
    WITH_CONSOLE_KIT=''
    WITH_CONSOLE_KIT_FALSE=''
    WITH_CONSOLE_KIT_TRUE=''
    XDMCP_LIBS=''
    XDMCP_SUPPORT_FALSE=''
    XDMCP_SUPPORT_TRUE=''
    XEVIE_OPTION=''
    XGETTEXT=''
    XINERAMA_LIBS=''
    XLIB_CFLAGS=''
    XLIB_LIBS=''
    XMKMF=''
    XSESSION_SHELL=''
    X_CFLAGS=''
    X_CONFIG_OPTIONS=''
    X_EXTRA_LIBS=''
    X_LIBS=''
    X_PATH=''
    X_PRE_LIBS=''
    X_SERVER=''
    X_SERVER_PATH=''
    X_XNEST_CMD=''
    X_XNEST_CONFIG_OPTIONS=''
    X_XNEST_UNSCALED_FONTPATH=''
    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='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    authdir=''
    bindir='${exec_prefix}/bin'
    build=''
    build_alias=''
    build_cpu=''
    build_os=''
    build_vendor=''
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    dmconfdir=''
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    gdmconfdir=''
    gdmlocaledir=''
    host=''
    host_alias=''
    host_cpu=''
    host_os=''
    host_vendor=''
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='/usr/lib/gdm'
    localedir='${datarootdir}/locale'
    localstatedir='/var'
    logdir=''
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    pixmapdir=''
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='/etc'
    sysconfsubdir=''
    target_alias=''
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "gdm"
    #define PACKAGE_TARNAME "gdm"
    #define PACKAGE_VERSION "2.32.0"
    #define PACKAGE_STRING "gdm 2.32.0"
    #define PACKAGE_BUGREPORT "[url]http://bugzilla.gnome.org/enter_bug.cgi?product=gdm[/url]"
    #define PACKAGE_URL ""
    #define PACKAGE "gdm"
    #define VERSION "2.32.0"
    configure: exit 77
    Last edited by srivo (2010-10-27 13:28:27)

  • Gcc error :  C compiler cannot create executables

    +I am getting the same error from all my Configure scripts+.
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    +config.log shows:+
    configure:1728: checking for gcc
    configure:1744: found /usr/bin/gcc
    configure:1754: result: gcc
    configure:1998: checking for C compiler version
    configure:2001: gcc --version </dev/null >&5
    2.95.2
    configure:2004: $? = 0
    configure:2006: gcc -v </dev/null >&5
    Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
    Apple Computer, Inc. version gcc-938, based on gcc version 2.95.2 19991024 (release)
    configure:2009: $? = 0
    configure:2011: gcc -V </dev/null >&5
    gcc: argument to `-V' is missing
    configure:2014: $? = 1
    configure:2038: checking for C compiler default output
    configure:2041: gcc conftest.c >&5
    dyld: lazy symbol binding failed: Symbol not found: _NXOpenFile
    Referenced from: /usr/libexec/gcc/darwin/ppc/cpp-precomp
    Expected in: /usr/lib/libSystem.B.dylib
    dyld: Symbol not found: _NXOpenFile
    Referenced from: /usr/libexec/gcc/darwin/ppc/cpp-precomp
    Expected in: /usr/lib/libSystem.B.dylib
    gcc: Internal compiler error: program cpp-precomp got fatal signal 5
    configure:2044: $? = 1
    configure: failed program was:
    | #line 2017 "configure"
    +The simplest compile has essentially the same error:+
    gcc hello.c
    dyld: lazy symbol binding failed: Symbol not found: _NXOpenFile
    Referenced from: /usr/libexec/gcc/darwin/ppc/cpp-precomp
    Expected in: /usr/lib/libSystem.B.dylib
    dyld: Symbol not found: _NXOpenFile
    Referenced from: /usr/libexec/gcc/darwin/ppc/cpp-precomp
    Expected in: /usr/lib/libSystem.B.dylib
    gcc: Internal compiler error: program cpp-precomp got fatal signal 5
    I'm stumped. This is Mac OS 10.6.5 Snow Leopard; 2 Ghz Intel Core 2 Duo; 4 G RAM.
    gcc2.95.2.pkg installed.
    X11SDK.pkg installed
    This all began when I moved to to MacBook from my old iBook.

    The Snow Leopard install CD has a sub-directory "Optional Installs" which holds a package "Xcode.mpkg". Installing Xcode.mpkg fixed my problem. My compiler is running fine now.

  • Error: C compiler cannot create executables

    Install ctags-5.7 ~
    ./configure  Error
    Error Message:checking for C compiler default output file name... configure: error: C compiler cannot create executables
    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.59.  Invocation command line was
      $ ./configure
    ## Platform. ##
    hostname = kanoumatoMac-mini.local
    uname -m = x86_64
    uname -r = 12.0.0
    uname -s = Darwin
    uname -v = Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~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
    hostinfo               = Mach kernel version:
               Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~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: 6.00 gigabytes
    Default processor set: 135 tasks, 684 threads, 4 processors
    Load average: 1.09, Mach factor: 2.90
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    PATH: /Developer/usr/bin/
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/local/bin
    ## Core tests. ##
    configure:1401: checking whether to install link to etags
    configure:1408: result: no
    configure:1411: checking whether to install readtags object file
    configure:1418: result: no
    configure:1491: checking for gcc
    configure:1507: found /Developer/usr/bin//gcc
    configure:1517: result: gcc
    configure:1761: checking for C compiler version
    configure:1764: gcc --version </dev/null >&5
    i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
    Copyright (C) 2007 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:1767: $? = 0
    configure:1769: gcc -v </dev/null >&5
    Using built-in specs.
    Target: i686-apple-darwin11
    Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/dst-llvmCore/Devel oper/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
    Thread model: posix
    gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
    configure:1772: $? = 0
    configure:1774: gcc -V </dev/null >&5
    llvm-gcc-4.2: argument to `-V' is missing
    configure:1777: $? = 1
    configure:1800: checking for C compiler default output file name
    configure:1803: gcc    conftest.c  >&5
    ld: library not found for -lcrt1.10.6.o
    collect2: ld returned 1 exit status
    configure:1806: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define DEFAULT_FILE_FORMAT 2
    | /* end confdefs.h.  */
    |
    | int
    | main ()
    | {
    |
    |   ;
    |   return 0;
    | }
    configure:1845: 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=
    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
    ## Output variables. ##
    CC='gcc'
    CFLAGS=''
    CPP=''
    CPPFLAGS=''
    DEFS=''
    ECHO_C='ECHO_N=''
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LN_S=''
    LTLIBOBJS=''
    OBJEXT=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    SHELL='/bin/sh'
    STRIP=''
    ac_ct_CC='gcc'
    bindir='${exec_prefix}/bin'
    build_alias=''
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host_alias=''
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_targets='install-ctags'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sort_found=''
    sysconfdir='${prefix}/etc'
    target_alias=''
    ## confdefs.h. ##
    #define DEFAULT_FILE_FORMAT 2
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    configure: exit 77

    ctags comes Mountain Lion. If you wish to download and install a newer version, it compiles perfectly. I don't know what problem the original poster had. If you are having specific problems, I suggest you post exactly what problems you are having in your own thread in the Developer Forums.

  • [Solved]Lightning for Thunderbird:C compiler cannot create executables

    Thanks very much in advance.
    I am trying to install Lightning in Thunderbird but no luck so far.
    The xpi file from their website is not for 64 bits.
    The link for the 64 bits version doesn't work
    I've tried with AUR and yaourt but both return the following error (look at the end):
    ==> Making package: lightning 0.9-2 x86_64 (Fri Oct 2 13:58:20 BST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Installing missing dependencies...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): zip-3.0-1
    Total Download Size: 0.26 MB
    Total Installed Size: 0.57 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    zip-3.0-1-x86_64 266.2K 389.5K/s 00:00:01 [#####################] 100%
    checking package integrity...
    (1/1) checking for file conflicts [#####################] 100%
    (1/1) installing zip [#####################] 100%
    ==> Retrieving Sources...
    -> Downloading lightning-sunbird-0.9-source.tar.bz2...
    --2009-10-02 13:58:32-- http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.9/source/lightning-sunbird-0.9-source.tar.bz2
    Resolving releases.mozilla.org... 156.56.247.196, 204.152.184.113, 149.20.20.5, ...
    Connecting to releases.mozilla.org|156.56.247.196|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 43121977 (41M) [application/x-tar]
    Saving to: `lightning-sunbird-0.9-source.tar.bz2.part'
    100%[======================================>] 43,121,977 412K/s in 1m 43s
    2009-10-02 14:00:15 (407 KB/s) - `lightning-sunbird-0.9-source.tar.bz2.part' saved [43121977/43121977]
    -> Found lightning-sunbird-0.9-locale.diff in build dir
    -> Found lightning-gcc44.diff in build dir
    -> Found mozconfig in build dir
    ==> Validating source files with md5sums...
    lightning-sunbird-0.9-source.tar.bz2 ... Passed
    lightning-sunbird-0.9-locale.diff ... Passed
    lightning-gcc44.diff ... Passed
    mozconfig ... Passed
    ==> Extracting Sources...
    -> Extracting lightning-sunbird-0.9-source.tar.bz2 with bsdtar
    ==> Entering fakeroot environment...
    ==> Starting build()...
    patching file calendar/sunbird/app/mozilla.in
    patching file toolkit/xre/nsAppRunner.cpp
    Adding client.mk options from /home/rafael/Builds/lightning/src/mozconfig:
    MOZ_CO_PROJECT=calendar
    BUILD_OFFICIAL=1
    MOZILLA_OFFICIAL=1
    make[1]: Entering directory `/home/rafael/Builds/lightning/src/mozilla'
    cd /home/rafael/Builds/lightning/src/mozilla/lightning-obj
    /home/rafael/Builds/lightning/src/mozilla/configure
    Adding configure options from /home/rafael/Builds/lightning/src/mozconfig:
    --enable-application=calendar
    --prefix=/usr
    --enable-extensions=lightning
    --enable-default-toolkit=gtk2
    --enable-system-cairo
    --enable-optimize
    --disable-debug
    --disable-tests
    --disable-installer
    --with-default-mozilla-five-home=/usr/lib/thunderbird-2.0
    --with-system-nss
    --with-system-nspr
    --with-system-jpeg
    --with-system-zlib
    --with-system-png
    creating cache ./config.cache
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking build system type... x86_64-unknown-linux-gnu
    checking for gawk... gawk
    checking for nsinstall... no
    checking for gcc... gcc
    checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed-lXrender -lX11 ) works... no
    configure: error: installation or configuration problem: C compiler cannot create executables.
    *** Fix above errors and then restart with "make -f client.mk build"
    make[1]: *** [configure] Error 1
    make[1]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla'
    make: *** [/home/rafael/Builds/lightning/src/mozilla/lightning-obj/Makefile] Error 2
    ==> ERROR: Build Failed.
    Aborting..
    I've searched in forums and on the Internet but I am a newby and I have no idea how to fix the c compiler...
    Thanks again
    Last edited by rafaelgp (2009-10-02 17:34:53)

    Very impressive!  Thanks for such a fast response.
    But I'm afraid it still doesn't work. After compiling for 10 minutes it couldn't finish:
    ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::Destroy()':
    nsCanvasRenderingContext2D.cpp:(.text+0x51e2): undefined reference to `XFreePixmap'
    ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::SetDimensions(int, int)':
    nsCanvasRenderingContext2D.cpp:(.text+0x56f6): undefined reference to `XRenderFindStandardFormat'
    nsCanvasRenderingContext2D.cpp:(.text+0x571e): undefined reference to `XListPixmapFormats'
    nsCanvasRenderingContext2D.cpp:(.text+0x575e): undefined reference to `XFree'
    nsCanvasRenderingContext2D.cpp:(.text+0x5796): undefined reference to `XCreatePixmap'
    collect2: ld returned 1 exit status
    make[4]: *** [libgklayout.so] Error 1
    make[4]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla/lightning-obj/layout/build'
    make[3]: *** [libs] Error 2
    make[3]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla/lightning-obj/layout'
    make[2]: *** [tier_9] Error 2
    make[2]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla/lightning-obj'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla/lightning-obj'
    make: *** [build] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Hope this helps.

  • C compiler cannot create executables

    Hi Experts
    I am installing a nagios network monitoring tool when i tried to install this binaries i am getting given below errors
    " checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details."
    Out put of config.log file
    bash-3.00# more 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.59. Invocation command line was
    $ ./configure prefix=/usr/local/nagios with-cgiurl=/nagios/cgi-bin with-htmurl=/nagios with-nagios-user=nagios --with-nagi
    os-group=nagios
    ## Platform. ##
    hostname = blr-abi
    uname -m = i86pc
    uname -r = 5.10
    uname -s = SunOS
    uname -v = Generic_118844-26
    /usr/bin/uname -p = i386
    /bin/uname -X = System = SunOS
    Node = blr-abi
    Release = 5.10
    KernelID = Generic_118844-26
    Machine = i86pc
    BusType = <unknown>
    Serial = <unknown>
    Users = <unknown>
    OEM# = 0
    Origin# = 1
    NumCPU = 1
    /bin/arch = i86pc
    /usr/bin/arch -k = i86pc
    /usr/convex/getsysinfo = unknown
    hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /usr/local/bin
    PATH: /usr/sfw/bin
    ## Core tests. ##
    configure:1356: checking for a BSD-compatible install
    configure:1411: result: ./install-sh -c
    configure:1430: checking build system type
    configure:1448: result: i386-pc-solaris2.10
    configure:1456: checking host system type
    configure:1470: result: i386-pc-solaris2.10
    configure:1525: checking for gcc
    configure:1541: found /usr/local/bin/gcc
    configure:1551: result: gcc
    configure:1795: checking for C compiler version
    configure:1798: gcc --version </dev/null >&5
    ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
    ./configure: line 1799: 3210 Killed $CC --version
    configure:1801: $? = 137
    configure:1803: gcc -v </dev/null >&5
    ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
    ./configure: line 1804: 3214 Killed $CC -v
    configure:1806: $? = 137
    configure:1808: gcc -V </dev/null >&5
    ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
    ./configure: line 1809: 3218 Killed $CC -V
    configure:1811: $? = 137
    configure:1834: checking for C compiler default output file name
    configure:1837: gcc conftest.c >&5
    ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
    ./configure: line 1838: 3228 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5
    configure:1840: $? = 137
    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:1879: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i386-pc-solaris2.10
    ac_cv_build_alias=i386-pc-solaris2.10
    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_host=i386-pc-solaris2.10
    ac_cv_host_alias=i386-pc-solaris2.10
    ac_cv_prog_ac_ct_CC=gcc
    ## Output variables. ##
    BASEEXTRALIBS=''
    BROKERLIBS=''
    BROKER_H=''
    BROKER_LDFLAGS=''
    BROKER_O=''
    CC='gcc'
    CFLAGS=''
    CGIEXTRAS=''
    COMMAND_OPTS=''
    CPP=''
    CPPFLAGS=''
    DEFS=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    GDLIBS=''
    INITDIR=''
    INSTALL='./install-sh -c'
    INSTALLPERLSTUFF=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_OPTS=''
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LTLIBOBJS=''
    MAIL_PROG=''
    MOD_CFLAGS=''
    MOD_LDFLAGS=''
    OBJEXT=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PACKDIR=''
    PATH_SEPARATOR=':'
    PATH_TO_TRACEROUTE=''
    PERL=''
    PERLDIR=''
    PERLLIBS=''
    PERLXSI_O=''
    SET_MAKE=''
    SHELL='/bin/bash'
    SNPRINTF_O=''
    SOCKETLIBS=''
    STRIP=''
    THREADLIBS=''
    VERSION=''
    XCDC=''
    XCDH=''
    XDDC=''
    XDDH=''
    XODC=''
    XODH=''
    XPDC=''
    XPDH=''
    XRDC=''
    XRDH=''
    XSDC=''
    XSDH=''
    ac_ct_CC='gcc'
    bindir='${exec_prefix}/bin'
    build='i386-pc-solaris2.10'
    build_alias=''
    build_cpu='i386'
    build_os='solaris2.10'
    build_vendor='pc'
    cgiurl=''
    command_grp=''
    command_user=''
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i386-pc-solaris2.10'
    host_alias=''
    host_cpu='i386'
    host_os='solaris2.10'
    host_vendor='pc'
    htmurl=''
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    init_dir=''
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    lockfile=''
    mandir='${prefix}/man'
    nagios_grp=''
    nagios_name=''
    nagios_user=''
    nagiostats_name=''
    oldincludedir='/usr/include'
    prefix='/usr/local/nagios'
    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 ""
    Could any one please help me on this issue.................

    Thanks for the quick response
    i solved the c complier issue installing "libiconv" now this binary couldn't able to generate "make" file could you please help me on this given below is the ./configure output
    bash-3.00# ./configure prefix=/usr/local/nagios with-cgiurl=/nagios/cgi-bin with-htmurl=/nagios with-nagios-user=nagios --with-nagios-group=nagios
    checking for a BSD-compatible install... ./install-sh -c
    checking build system type... i386-pc-solaris2.10
    checking host system type... i386-pc-solaris2.10
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking whether make sets $(MAKE)... no
    Thanks in advance

  • [SOLVED] configure: error: C compiler cannot create executables

    I have tried to build three AUR packages, but the builds always fail with the following output:
    ==> Entering fakeroot environment...
    ==> Starting build()...
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking build system type... (cached) i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... no
    checking for style of include used by make... none
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: in `/home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    ==> ERROR: Build Failed.
    Aborting...
    I could not find the indicated config.log file.
    I installed all the dependencies indicated in the wiki, but I have a feeling I must be missing basic in my configuration.  Both gcc and base-devel are installed.  I've also run makepkg as root.  What amI doing wrong?
    Last edited by intelligo (2010-02-04 00:33:14)

    Here's the 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 Tux Of Math Command configure 1.7.2, which was
    generated by GNU Autoconf 2.63. Invocation command line was
    $ ./configure --prefix=/usr
    ## Platform. ##
    hostname = uknow4kids
    uname -m = i686
    uname -r = 2.6.32-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Mon Jan 25 20:06:48 UTC 2010
    /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: /bin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /usr/bin/perlbin/site
    PATH: /usr/bin/perlbin/vendor
    PATH: /usr/bin/perlbin/core
    ## Core tests. ##
    configure:1951: checking build system type
    configure:1969: result: i686-pc-linux-gnu
    configure:1991: checking host system type
    configure:2006: result: i686-pc-linux-gnu
    configure:2034: checking build system type
    configure:2052: result: i686-pc-linux-gnu
    configure:2074: checking target system type
    configure:2089: result: i686-pc-linux-gnu
    configure:2134: checking for a BSD-compatible install
    configure:2202: result: /bin/install -c
    configure:2213: checking whether build environment is sane
    configure:2256: result: yes
    configure:2281: checking for a thread-safe mkdir -p
    configure:2320: result: /bin/mkdir -p
    configure:2333: checking for gawk
    configure:2349: found /bin/gawk
    configure:2360: result: gawk
    configure:2371: checking whether make sets $(MAKE)
    configure:2397: result: no
    configure:2604: checking for style of include used by make
    configure:2632: result: none
    configure:2702: checking for gcc
    configure:2718: found /usr/bin/gcc
    configure:2729: result: gcc
    configure:2961: checking for C compiler version
    configure:2969: gcc --version >&5
    gcc (GCC) 4.4.3
    Copyright (C) 2010 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:2973: $? = 0
    configure:2980: gcc -v >&5
    Using built-in specs.
    Target: i686-pc-linux-gnu
    Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
    Thread model: posix
    gcc version 4.4.3 (GCC)
    configure:2984: $? = 0
    configure:2991: gcc -V >&5
    gcc: '-V' option must have argument
    configure:2995: $? = 1
    configure:3018: checking for C compiler default output file name
    configure:3040: gcc -march=i686 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
    gcc: error trying to exec '/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/cc1': execv: Exec format error
    configure:3044: $? = 1
    configure:3082: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "Tux Of Math Command"
    | #define PACKAGE_TARNAME "tuxmath"
    | #define PACKAGE_VERSION "1.7.2"
    | #define PACKAGE_STRING "Tux Of Math Command 1.7.2"
    | #define PACKAGE_BUGREPORT "[email protected]"
    | #define PACKAGE "tuxmath"
    | #define VERSION "1.7.2"
    | #define PROGRAM_NAME "tuxmath"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3088: error: in `/home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2':
    configure:3091: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i686-pc-linux-gnu
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=i686 -mtune=generic -O2 -pipe'
    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=set
    ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
    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-linux-gnu
    ac_cv_path_install='/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=no
    ac_cv_target=i686-pc-linux-gnu
    ## Output variables. ##
    ACLOCAL='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run aclocal-1.10'
    ALLOCA=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run tar'
    AUTOCONF='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run automake-1.10'
    AWK='gawk'
    BUILD_MINGW32_FALSE=''
    BUILD_MINGW32_TRUE=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS='-march=i686 -mtune=generic -O2 -pipe'
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR='.deps'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    GETTEXT_MACRO_VERSION=''
    GMSGFMT=''
    GMSGFMT_015=''
    GREP=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INTLLIBS=''
    INTL_MACOSX_LIBS=''
    LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
    LIBICONV=''
    LIBINTL=''
    LIBOBJS=''
    LIBS=''
    LTLIBICONV=''
    LTLIBINTL=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run makeinfo'
    MKDIR_P='/bin/mkdir -p'
    MSGFMT=''
    MSGFMT_015=''
    MSGMERGE=''
    NAME_VERSION='tuxmath-1.7.2'
    NSIS=''
    NSI_BUILD_FALSE=''
    NSI_BUILD_TRUE=''
    NSI_DLL_DIR=''
    NSI_INSTALL_DIR=''
    OBJEXT=''
    PACKAGE='tuxmath'
    PACKAGE_BUGREPORT='[email protected]'
    PACKAGE_NAME='Tux Of Math Command'
    PACKAGE_STRING='Tux Of Math Command 1.7.2'
    PACKAGE_TARNAME='tuxmath'
    PACKAGE_VERSION='1.7.2'
    PATH_SEPARATOR=':'
    POSUB=''
    POW_LIB=''
    RANLIB=''
    SDL_CFLAGS=''
    SDL_CONFIG=''
    SDL_LIBS=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/sh'
    STRIP=''
    USE_NLS=''
    VERSION='1.7.2'
    WINDRES=''
    XGETTEXT=''
    XGETTEXT_015=''
    XGETTEXT_EXTRA_OPTIONS=''
    YACC=''
    YFLAGS=''
    ac_ct_CC='gcc'
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='#'
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} 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='NONE'
    host='i686-pc-linux-gnu'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnu'
    host_vendor='pc'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='$(SHELL) /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i686-pc-linux-gnu'
    target_alias=''
    target_cpu='i686'
    target_os='linux-gnu'
    target_vendor='pc'
    ## confdefs.h. ##
    #define PACKAGE_NAME "Tux Of Math Command"
    #define PACKAGE_TARNAME "tuxmath"
    #define PACKAGE_VERSION "1.7.2"
    #define PACKAGE_STRING "Tux Of Math Command 1.7.2"
    #define PACKAGE_BUGREPORT "[email protected]"
    #define PACKAGE "tuxmath"
    #define VERSION "1.7.2"
    #define PROGRAM_NAME "tuxmath"
    configure: exit 77
    And here's makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="i686"
    CHOST="i686-pc-linux-gnu"
    #-- Exclusive: will only run on i686
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries in STRIP_DIRS
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Directories to be searched for the strip option (if strip is specified)
    STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.gz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Thanks for your help!

  • [SOLVED]Another "C compiler cannot create executables."

    After scouring the wiki and here I have seen many people with similar problems, but none that I can tell that helped me.
    I am am running a x64 and need to install some x86 libs (I think) from the AUR. The one in specific is lib32-sdl_mixer, however upon running makepkg I get the error:
    configure: error: installation or configuration problem: C compiler cannot create executables.
    ==> ERROR: A failure occurred in build().
    Aborting...
    I think this is the correct config.log that everyone wants
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    configure:633: checking for a BSD compatible install
    configure:686: checking whether build environment is sane
    configure:743: checking whether make sets ${MAKE}
    configure:789: checking for working aclocal
    configure:802: checking for working autoconf
    configure:815: checking for working automake
    configure:828: checking for working autoheader
    configure:841: checking for working makeinfo
    configure:862: checking host system type
    configure:883: checking target system type
    configure:903: checking whether make sets ${MAKE}
    configure:932: checking for gcc
    configure:1045: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
    configure:1061: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 1056 "configure"
    #include "confdefs.h"
    main(){return(0);}
    So what do I need to do?
    EDIT::
    I have multilib on if that applies (similar topic here)
    https://bbs.archlinux.org/viewtopic.php?id=108615
    Last edited by Shimizoki (2011-04-12 19:53:50)

    tom5760 wrote:If you are building a 32 bit program or library on a 64 bit system, try installing the "gcc-multilib" package.
    That was helpful, and this time I got much father but I still got an error.
    /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
    /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../libGLU.so when searching for -lGLU
    /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
    /usr/bin/ld: cannot find -lGLU
    collect2: ld returned 1 exit status
    make[1]: *** [glmovie] Error 1
    make[1]: Leaving directory `/home/shimizoki/lib32-smpeg/src/smpeg-0.4.4'
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    New config.log file
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    configure:633: checking for a BSD compatible install
    configure:686: checking whether build environment is sane
    configure:743: checking whether make sets ${MAKE}
    configure:789: checking for working aclocal
    configure:802: checking for working autoconf
    configure:815: checking for working automake
    configure:828: checking for working autoheader
    configure:841: checking for working makeinfo
    configure:862: checking host system type
    configure:883: checking target system type
    configure:903: checking whether make sets ${MAKE}
    configure:932: checking for gcc
    configure:1045: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
    configure:1061: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
    configure:1087: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) is a cross-compiler
    configure:1092: checking whether we are using GNU C
    configure:1101: gcc -m32 -E conftest.c
    configure:1120: checking whether gcc -m32 accepts -g
    configure:1156: checking for c++
    configure:1188: checking whether the C++ compiler (g++ -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
    configure:1204: g++ -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.C -L/usr/lib32 1>&5
    configure:1230: checking whether the C++ compiler (g++ -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) is a cross-compiler
    configure:1235: checking whether we are using GNU C++
    configure:1244: g++ -m32 -E conftest.C
    configure:1263: checking whether g++ -m32 accepts -g
    configure:1365: checking build system type
    configure:1385: checking for ranlib
    configure:1424: checking for ld used by GCC
    configure:1486: checking if the linker (/usr/bin/ld) is GNU ld
    GNU ld (GNU Binutils) 2.21.0.20110209
    configure:1502: checking for BSD-compatible nm
    configure:1538: checking whether ln -s works
    ltconfig:603: checking for object suffix
    ltconfig:604: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
    ltconfig:629: checking for executable suffix
    ltconfig:630: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
    ltconfig:776: checking if gcc PIC flag -fPIC works
    ltconfig:777: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPIC conftest.c 1>&5
    ltconfig:829: checking if gcc supports -c -o file.o
    ltconfig:830: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -o out/conftest2.o conftest.c 1>&5
    ltconfig:862: checking if gcc supports -c -o file.lo
    ltconfig:863: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -c -o conftest.lo conftest.c 1>&5
    ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
    ltconfig:915: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
    ltconfig:958: checking if gcc static flag -static works
    ltconfig:959: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -static conftest.c -L/usr/lib32 1>&5
    GNU ld (GNU Binutils) 2.21.0.20110209
    ltconfig:1653: checking if global_symbol_pipe works
    ltconfig:1654: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
    ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
    ltconfig:1709: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fno-builtin -Wl,--hash-style=gnu -Wl,--as-needed conftest.c conftstm.o 1>&5
    configure:1943: checking for a BSD compatible install
    configure:1997: checking for socklen_t
    configure:2010: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
    configure:2139: checking for sdl-config
    configure:2174: checking for SDL - version >= 1.2.0
    configure:2259: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread 1>&5
    configure:2341: checking for sqrt in -lm
    configure:2360: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lm -L/usr/lib32 -L/usr/lib -lSDL -lpthread 1>&5
    configure:2353:6: warning: conflicting types for built-in function 'sqrt'
    configure:2643: checking for gtk-config
    configure:2678: checking for GTK - version >= 1.2.1
    configure:2898: checking how to run the C preprocessor
    configure:2919: gcc -m32 -E conftest.c >/dev/null 2>conftest.out
    configure:2982: checking for X
    configure:3049: gcc -m32 -E conftest.c >/dev/null 2>conftest.out
    configure:3125: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lXt -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3296: checking for dnet_ntoa in -ldnet
    configure:3315: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldnet -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    /usr/bin/ld: cannot find -ldnet
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 3304 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char dnet_ntoa();
    int main() {
    dnet_ntoa()
    ; return 0; }
    configure:3337: checking for dnet_ntoa in -ldnet_stub
    configure:3356: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldnet_stub -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    /usr/bin/ld: cannot find -ldnet_stub
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 3345 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char dnet_ntoa();
    int main() {
    dnet_ntoa()
    ; return 0; }
    configure:3385: checking for gethostbyname
    configure:3413: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3483: checking for connect
    configure:3511: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3575: checking for remove
    configure:3603: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3667: checking for shmat
    configure:3695: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3768: checking for IceConnectionNumber in -lICE
    configure:3787: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lICE -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3820: checking for OpenGL support
    configure:3834: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO conftest.c 1>&5
    configure:3883: checking if g++ -m32 supports -fno-rtti -fno-exceptions
    configure:3899: g++ -m32 -c -fno-rtti -fno-exceptions conftest.c 1>&5
    I am actually trying to package its dependency in this case. lib32-smpeg

  • [Solved] error: C compiler cannot create executables; see 'config.log'

    Trying to build avant-window-navigator from the aur using yaourt results in this error message.  I recently upgraded my system and suspect this may be the cause, but I'm not sure how to proceed from here.  My config.log follows.
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by avant-window-navigator configure 0.4.1, which was
    generated by GNU Autoconf 2.68. Invocation command line was
    $ ./configure --prefix=/usr --sysconfdir=/usr/share --disable-static --disable-pymod-checks
    ## Platform. ##
    hostname = vectorman
    uname -m = x86_64
    uname -r = 3.2.7-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Tue Feb 21 09:51:29 CET 2012
    /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: /usr/local/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/local/sbin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/bin/vendor_perl
    PATH: /usr/bin/core_perl
    ## Core tests. ##
    configure:2498: checking for a BSD-compatible install
    configure:2566: result: /bin/install -c
    configure:2577: checking whether build environment is sane
    configure:2627: result: yes
    configure:2768: checking for a thread-safe mkdir -p
    configure:2807: result: /bin/mkdir -p
    configure:2820: checking for gawk
    configure:2836: found /usr/bin/gawk
    configure:2847: result: gawk
    configure:2858: checking whether make sets $(MAKE)
    configure:2880: result: yes
    configure:2961: checking whether to enable maintainer-specific portions of Makefiles
    configure:2970: result: no
    configure:2999: checking for style of include used by make
    configure:3027: result: GNU
    configure:3098: checking for gcc
    configure:3114: found /usr/bin/gcc
    configure:3125: result: gcc
    configure:3354: checking for C compiler version
    configure:3363: gcc --version >&5
    gcc (GCC) 4.6.2 20111223 (prerelease)
    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:3374: $? = 0
    configure:3363: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.6-20111223/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 --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --enable-multilib --disable-libssp --disable-libstdcxx-pch --enable-checking=release --with-fpmath=sse
    Thread model: posix
    gcc version 4.6.2 20111223 (prerelease) (GCC)
    configure:3374: $? = 0
    configure:3363: gcc -V >&5
    gcc: error: unrecognized option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3374: $? = 1
    configure:3363: gcc -qversion >&5
    gcc: error: unrecognized option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3374: $? = 1
    configure:3394: checking whether the C compiler works
    configure:3416: gcc -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/cc1: error while loading shared libraries: libcloog-isl.so.2: cannot open shared object file: No such file or directory
    configure:3420: $? = 1
    configure:3458: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "avant-window-navigator"
    | #define PACKAGE_TARNAME "avant-window-navigator"
    | #define PACKAGE_VERSION "0.4.1"
    | #define PACKAGE_STRING "avant-window-navigator 0.4.1"
    | #define PACKAGE_BUGREPORT "https://bugs.launchpad.net/awn"
    | #define PACKAGE_URL ""
    | #define EXTRA_VERSION ""
    | #define PACKAGE "avant-window-navigator"
    | #define VERSION "0.4.1"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3463: error: in `/tmp/yaourt-tmp-terry/aur-avant-window-navigator-bzr/src/awn-build':
    configure:3465: error: C compiler cannot create executables
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_env_AWN_CFLAGS_set=
    ac_cv_env_AWN_CFLAGS_value=
    ac_cv_env_AWN_LIBS_set=
    ac_cv_env_AWN_LIBS_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe'
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_DOCK_CFLAGS_set=
    ac_cv_env_DOCK_CFLAGS_value=
    ac_cv_env_DOCK_LIBS_set=
    ac_cv_env_DOCK_LIBS_value=
    ac_cv_env_GTKDOC_DEPS_CFLAGS_set=
    ac_cv_env_GTKDOC_DEPS_CFLAGS_value=
    ac_cv_env_GTKDOC_DEPS_LIBS_set=
    ac_cv_env_GTKDOC_DEPS_LIBS_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_PKG_CONFIG_LIBDIR_set=
    ac_cv_env_PKG_CONFIG_LIBDIR_value=
    ac_cv_env_PKG_CONFIG_PATH_set=
    ac_cv_env_PKG_CONFIG_PATH_value=
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_PYGTK_CFLAGS_set=
    ac_cv_env_PYGTK_CFLAGS_value=
    ac_cv_env_PYGTK_LIBS_set=
    ac_cv_env_PYGTK_LIBS_value=
    ac_cv_env_PYTHON_set=set
    ac_cv_env_PYTHON_value=/usr/bin/python2
    ac_cv_env_TASKMANAGER_CFLAGS_set=
    ac_cv_env_TASKMANAGER_CFLAGS_value=
    ac_cv_env_TASKMANAGER_LIBS_set=
    ac_cv_env_TASKMANAGER_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_install='/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    ## Output variables. ##
    ACLOCAL='${SHELL} /tmp/yaourt-tmp-terry/aur-avant-window-navigator-bzr/src/awn-build/missing --run aclocal-1.11'
    ACLOCAL_AMFLAGS='${ACLOCAL_FLAGS}'
    ALL_LINGUAS=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    AM_DEFAULT_VERBOSITY=''
    AM_MAKEFLAGS=''
    APPLETSDIR=''
    AR=''
    AUTOCONF='${SHELL} /tmp/yaourt-tmp-terry/aur-avant-window-navigator-bzr/src/awn-build/missing --run autoconf'
    AUTOHEADER='${SHELL} /tmp/yaourt-tmp-terry/aur-avant-window-navigator-bzr/src/awn-build/missing --run autoheader'
    AUTOMAKE='${SHELL} /tmp/yaourt-tmp-terry/aur-avant-window-navigator-bzr/src/awn-build/missing --run automake-1.11'
    AWK='gawk'
    AWN_CFLAGS=''
    AWN_LIBS=''
    CATALOGS=''
    CATOBJEXT=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe'
    CPP=''
    CPPFLAGS=''
    CXX=''
    CYGPATH_W='echo'
    DATADIR=''
    DATADIRNAME=''
    DBUS_GLIB_BIN=''
    DEFS=''
    DEPDIR='.deps'
    DISABLE_DEPRECATED_FLAGS=''
    DLLTOOL=''
    DOCK_CFLAGS=''
    DOCK_LIBS=''
    DOLT_BASH=''
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_GTK_DOC_FALSE=''
    ENABLE_GTK_DOC_TRUE=''
    EXEEXT=''
    EXTRA_VERSION=''
    F77=''
    FC=''
    FGREP=''
    GCONFTOOL=''
    GCONF_SCHEMAS_INSTALL_FALSE=''
    GCONF_SCHEMAS_INSTALL_TRUE=''
    GCONF_SCHEMA_CONFIG_SOURCE=''
    GCONF_SCHEMA_FILE_DIR=''
    GETTEXT_PACKAGE=''
    GLIB_GENMARSHAL=''
    GMOFILES=''
    GMSGFMT=''
    GREP=''
    GTKDOC_CHECK=''
    GTKDOC_DEPS_CFLAGS=''
    GTKDOC_DEPS_LIBS=''
    GTKDOC_MKPDF=''
    GTKDOC_REBASE=''
    GTK_DOC_BUILD_HTML_FALSE=''
    GTK_DOC_BUILD_HTML_TRUE=''
    GTK_DOC_BUILD_PDF_FALSE=''
    GTK_DOC_BUILD_PDF_TRUE=''
    GTK_DOC_USE_LIBTOOL_FALSE=''
    GTK_DOC_USE_LIBTOOL_TRUE=''
    GTK_DOC_USE_REBASE_FALSE=''
    GTK_DOC_USE_REBASE_TRUE=''
    HTML_DIR=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INSTOBJEXT=''
    INTLLIBS=''
    INTLTOOL_CAVES_RULE=''
    INTLTOOL_DESKTOP_RULE=''
    INTLTOOL_DIRECTORY_RULE=''
    INTLTOOL_EXTRACT=''
    INTLTOOL_KBD_RULE=''
    INTLTOOL_KEYS_RULE=''
    INTLTOOL_MERGE=''
    INTLTOOL_OAF_RULE=''
    INTLTOOL_PERL=''
    INTLTOOL_POLICY_RULE=''
    INTLTOOL_PONG_RULE=''
    INTLTOOL_PROP_RULE=''
    INTLTOOL_SCHEMAS_RULE=''
    INTLTOOL_SCHEMA_INI_RULE=''
    INTLTOOL_SERVER_RULE=''
    INTLTOOL_SERVICE_RULE=''
    INTLTOOL_SHEET_RULE=''
    INTLTOOL_SOUNDLIST_RULE=''
    INTLTOOL_THEME_RULE=''
    INTLTOOL_UI_RULE=''
    INTLTOOL_UPDATE=''
    INTLTOOL_V_MERGE=''
    INTLTOOL_V_MERGE_OPTIONS=''
    INTLTOOL_XAM_RULE=''
    INTLTOOL_XML_NOMERGE_RULE=''
    INTLTOOL_XML_RULE=''
    INTLTOOL__v_MERGE_0=''
    INTLTOOL__v_MERGE_=''
    LD=''
    LDA_BINDIR=''
    LDA_DEFSDIR=''
    LDA_VAPIDIR=''
    LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
    LIBAPPLETDIR=''
    LIBDIR=''
    LIBOBJS=''
    LIBRARY_MODULES=''
    LIBS=''
    LIBTOOL=''
    LIPO=''
    LN_S=''
    LOCALEDIR=''
    LTCOMPILE=''
    LTCXXCOMPILE=''
    LTLIBOBJS=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEFLAGS=''
    MAKEINFO='${SHELL} /tmp/yaourt-tmp-terry/aur-avant-window-navigator-bzr/src/awn-build/missing --run makeinfo'
    MANIFEST_TOOL=''
    MKDIR_P='/bin/mkdir -p'
    MKINSTALLDIRS=''
    MSGFMT=''
    MSGFMT_OPTS=''
    MSGMERGE=''
    NM=''
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='avant-window-navigator'
    PACKAGE_BUGREPORT='https://bugs.launchpad.net/awn'
    PACKAGE_NAME='avant-window-navigator'
    PACKAGE_STRING='avant-window-navigator 0.4.1'
    PACKAGE_TARNAME='avant-window-navigator'
    PACKAGE_URL=''
    PACKAGE_VERSION='0.4.1'
    PATH_SEPARATOR=':'
    PKGDATADIR=''
    PKG_CONFIG=''
    PKG_CONFIG_LIBDIR=''
    PKG_CONFIG_PATH=''
    POFILES=''
    POSUB=''
    PO_IN_DATADIR_FALSE=''
    PO_IN_DATADIR_TRUE=''
    PYGTK_CFLAGS=''
    PYGTK_DEFSDIR=''
    PYGTK_LIBS=''
    PYG_CODEGEN=''
    PYTHON='/usr/bin/python2'
    PYTHON_CPPFLAGS=''
    PYTHON_EXEC_PREFIX=''
    PYTHON_EXTRA_LDFLAGS=''
    PYTHON_EXTRA_LIBS=''
    PYTHON_LDFLAGS=''
    PYTHON_PLATFORM=''
    PYTHON_PREFIX=''
    PYTHON_VERSION=''
    Q=''
    RANLIB=''
    SED=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STANDARD_CPPFLAGS=''
    STRIP=''
    TASKMANAGER_CFLAGS=''
    TASKMANAGER_LIBS=''
    USE_NLS=''
    V=''
    VALAC='/opt/vala-0.12/bin/valac'
    VALA_GEN_INTROSPECT=''
    VAPIGEN=''
    VERSION='0.4.1'
    WARNING_FLAGS=''
    XGETTEXT=''
    ac_ct_AR=''
    ac_ct_CC='gcc'
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__nodep='_no'
    am__quote=''
    am__tar='$${TAR-tar} chof - "$$tardir"'
    am__untar='$${TAR-tar} xf -'
    bindir='${exec_prefix}/bin'
    build=''
    build_alias=''
    build_cpu=''
    build_os=''
    build_vendor=''
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host=''
    host_alias=''
    host_cpu=''
    host_os=''
    host_vendor=''
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /tmp/yaourt-tmp-terry/aur-avant-window-navigator-bzr/src/awn-build/install-sh'
    intltool__v_merge_options_0=''
    intltool__v_merge_options_=''
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localedir_intermediate=''
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    pkgpyexecdir=''
    pkgpythondir=''
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    pyexecdir=''
    pythondir=''
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    shavedir=''
    sysconfdir='/usr/share'
    target_alias=''
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "avant-window-navigator"
    #define PACKAGE_TARNAME "avant-window-navigator"
    #define PACKAGE_VERSION "0.4.1"
    #define PACKAGE_STRING "avant-window-navigator 0.4.1"
    #define PACKAGE_BUGREPORT "https://bugs.launchpad.net/awn"
    #define PACKAGE_URL ""
    #define EXTRA_VERSION ""
    #define PACKAGE "avant-window-navigator"
    #define VERSION "0.4.1"
    configure: exit 77
    Last edited by vectorman (2012-02-26 14:47:18)

    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/cc1: error while loading shared libraries: libcloog-isl.so.2: cannot open shared object file: No such file or directory
    cloog provides libcloog-isl.so cloog /usr/lib/libcloog-isl.so.3 and cloog /usr/lib/libcloog-isl.so.3.0.0 but not libcloog-isl.so.2.
    Edit: https://bbs.archlinux.org/viewtopic.php … 35#p983435
    If your system is fully updated, maybe you're using some custom packages, like glibc https://bbs.archlinux.org/viewtopic.php … 51#p845851
    Last edited by karol (2012-02-26 14:01:30)

  • Compile Error: ld: cannot find -lgcc C compiler cannot create execut

    I've just get my system change to arch64 from arch32.
    When I try to build wine. It shows:
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** No rule to make target `depend'. Stop.
    ==> ERROR: Build Failed. Aborting...
    and see this part of config.log
    gcc: '-V' must come at the start of the command line
    configure:2366: $? = 1
    configure:2389: checking for C compiler default output file name
    configure:2416: gcc -m32 -march=x86-64 -O2 -pipe conftest.c >&5
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/./libgcc.a when searching for -lgcc
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/./libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc
    collect2: ld returned 1 exit status
    configure:2419: $? = 1
    configure:2457: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "Wine"
    | #define PACKAGE_TARNAME "wine"
    | #define PACKAGE_VERSION "0.9.22"
    | #define PACKAGE_STRING "Wine 0.9.22"
    | #define PACKAGE_BUGREPORT "[email protected]"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    I run "ld -lgcc"
    [root@sgu wine0922]# ld -lgcc
    ld: cannot find -lgcc
    When i was building another package, i get this err info:
    conftest.cc:14:28: error: ac_nonexistent.h: No such file or directory

    wine needs a 32bit environment to run/get compiled or a multilib x86_64 system. watch the gcc -m32 call - so no way without touching the pure 64bit philosophy behind arch64!

Maybe you are looking for

  • Unable to format or restore - 160GB Classic

    Hello. I currently have an issue with an 160GB iPod classic as it won't restore or even reformat now, and the iPod is completely blank In the usual mode, the iPod freezes iTunes straight away and also freezes My Computer when I try to click on the iP

  • Password for a rpd?

    Hi All, Could any one tell me how to set a Password for a rpd? Thanks in advance.

  • Sparrow can't fetch inbox mails

    Hi, anyone can help me? I always used Sparrow to manage my emails and since yesterday he can't fetch my inbox emails from iCloud. I've already tryed several times with others mail clients and the same problem No problem at all with the other folders

  • Universal Worklist Configuration

    Hey guys Please can someone tell me where I can find a universal wordlist config guide for EP7.0? Many thanks in advance Jo-lize

  • Saved custom preset on import

    My imports have been showing up in Lightroom 3.4 with a custom preset applied that I don't want.  I can't seem to be able it to stop applying it, however I can reveert the import to the default settings one at a time in Quick Develop.  I currently ha