Build failed () configure: error: C compiler create executable[SOLVED]

I am a newbie in the forums, i recently installed arch x86_64 and am having a hard time building packages, i did install base-devel , gcc gcc-fortran gcc-obc..........all that stuff i also installed all the base devel stuff...like fakeroot,flex....(all the base devel stuff) but not luck, when i try 'makepkg -s' it still brings this error ---> " configure: error: C compiler cannot create executables" or sometimes --> configure: error: C++ compiler cannot create executables , i googled a bit on possible solutions, i came acroos similar post but the newbie was not using x86_64, i tried reinstalling GCC but to no avail whats the problem?
hereis my makepkg.conf details
# /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="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"
CXXFLAGS="-march=x86-64 -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)
#-- 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})
#-- 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
#-- 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]>"
# 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:
EDIT by bash: use the 'code' tag!
Last edited by bray085 (2011-01-16 16:29:13)

yo man sorry about that...as i said am a newbie..but i will be up and running with no time...i have double checked the config, i cant figure anything...i need your arch skills...anywayz here is my config.log details
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-xcb --disable-static
## Platform. ##
hostname = Muruthi
uname -m = x86_64
uname -r = 2.6.33-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Thu May 13 11:32:37 CEST 2010
/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:3338: checking for gcc
configure:3354: found /usr/bin/gcc
configure:3365: result: gcc
configure:3594: checking for C compiler version
configure:3603: gcc --version >&5
gcc (GCC) 4.5.2
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:3614: $? = 0
configure:3603: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.5.2/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 --enable-gold --with-plugin-ld=ld.gold --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --with-cloog-include=/usr/include/cloog-ppl --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
Thread model: posix
gcc version 4.5.2 (GCC)
configure:3614: $? = 0
configure:3603: gcc -V >&5
gcc: '-V' option must have argument
configure:3614: $? = 1
configure:3603: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3614: $? = 1
configure:3634: checking whether the C compiler works
configure:3656: 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.5.2/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
configure:3660: $? = 1
configure:3698: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.10.2"
| #define PACKAGE_STRING "cairo 1.10.2"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3703: error: in `/home/irong33k/Desktop/src/cairo-1.10.2':
configure:3705: error: C compiler cannot create executables
See `config.log' for more details
## Cache variables. ##
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'
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'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FONTCONFIG_CFLAGS_set=
ac_cv_env_FONTCONFIG_CFLAGS_value=
ac_cv_env_FONTCONFIG_LIBS_set=
ac_cv_env_FONTCONFIG_LIBS_value=
ac_cv_env_FREETYPE_CFLAGS_set=
ac_cv_env_FREETYPE_CFLAGS_value=
ac_cv_env_FREETYPE_LIBS_set=
ac_cv_env_FREETYPE_LIBS_value=
ac_cv_env_GOBJECT_CFLAGS_set=
ac_cv_env_GOBJECT_CFLAGS_value=
ac_cv_env_GOBJECT_LIBS_set=
ac_cv_env_GOBJECT_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
ac_cv_env_LIBRSVG_CFLAGS_set=
ac_cv_env_LIBRSVG_CFLAGS_value=
ac_cv_env_LIBRSVG_LIBS_set=
ac_cv_env_LIBRSVG_LIBS_value=
ac_cv_env_LIBSPECTRE_CFLAGS_set=
ac_cv_env_LIBSPECTRE_CFLAGS_value=
ac_cv_env_LIBSPECTRE_LIBS_set=
ac_cv_env_LIBSPECTRE_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_POPPLER_CFLAGS_set=
ac_cv_env_POPPLER_CFLAGS_value=
ac_cv_env_POPPLER_LIBS_set=
ac_cv_env_POPPLER_LIBS_value=
ac_cv_env_VALGRIND_CFLAGS_set=
ac_cv_env_VALGRIND_CFLAGS_value=
ac_cv_env_VALGRIND_LIBS_set=
ac_cv_env_VALGRIND_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_directfb_CFLAGS_set=
ac_cv_env_directfb_CFLAGS_value=
ac_cv_env_directfb_LIBS_set=
ac_cv_env_directfb_LIBS_value=
ac_cv_env_drm_CFLAGS_set=
ac_cv_env_drm_CFLAGS_value=
ac_cv_env_drm_LIBS_set=
ac_cv_env_drm_LIBS_value=
ac_cv_env_drm_xr_CFLAGS_set=
ac_cv_env_drm_xr_CFLAGS_value=
ac_cv_env_drm_xr_LIBS_set=
ac_cv_env_drm_xr_LIBS_value=
ac_cv_env_egl_CFLAGS_set=
ac_cv_env_egl_CFLAGS_value=
ac_cv_env_egl_LIBS_set=
ac_cv_env_egl_LIBS_value=
ac_cv_env_gl_CFLAGS_set=
ac_cv_env_gl_CFLAGS_value=
ac_cv_env_gl_LIBS_set=
ac_cv_env_gl_LIBS_value=
ac_cv_env_glib_CFLAGS_set=
ac_cv_env_glib_CFLAGS_value=
ac_cv_env_glib_LIBS_set=
ac_cv_env_glib_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_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_pixman_CFLAGS_set=
ac_cv_env_pixman_CFLAGS_value=
ac_cv_env_pixman_LIBS_set=
ac_cv_env_pixman_LIBS_value=
ac_cv_env_png_CFLAGS_set=
ac_cv_env_png_CFLAGS_value=
ac_cv_env_png_LIBS_set=
ac_cv_env_png_LIBS_value=
ac_cv_env_png_REQUIRES_set=
ac_cv_env_png_REQUIRES_value=
ac_cv_env_qt_CFLAGS_set=
ac_cv_env_qt_CFLAGS_value=
ac_cv_env_qt_LIBS_set=
ac_cv_env_qt_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_xcb_CFLAGS_set=
ac_cv_env_xcb_CFLAGS_value=
ac_cv_env_xcb_LIBS_set=
ac_cv_env_xcb_LIBS_value=
ac_cv_env_xcb_drm_CFLAGS_set=
ac_cv_env_xcb_drm_CFLAGS_value=
ac_cv_env_xcb_drm_LIBS_set=
ac_cv_env_xcb_drm_LIBS_value=
ac_cv_env_xcb_shm_CFLAGS_set=
ac_cv_env_xcb_shm_CFLAGS_value=
ac_cv_env_xcb_shm_LIBS_set=
ac_cv_env_xcb_shm_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_xlib_xcb_CFLAGS_set=
ac_cv_env_xlib_xcb_CFLAGS_value=
ac_cv_env_xlib_xcb_LIBS_set=
ac_cv_env_xlib_xcb_LIBS_value=
ac_cv_env_xlib_xrender_CFLAGS_set=
ac_cv_env_xlib_xrender_CFLAGS_value=
ac_cv_env_xlib_xrender_LIBS_set=
ac_cv_env_xlib_xrender_LIBS_value=
ac_cv_prog_ac_ct_CC=gcc
## Output variables. ##
ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH=''
AM_DEFAULT_VERBOSITY=''
AR=''
AS=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
BFD_LIBS=''
BUILD_ANY2PPM_FALSE=''
BUILD_ANY2PPM_TRUE=''
BUILD_CXX_FALSE=''
BUILD_CXX_TRUE=''
BUILD_DRM_XR_FALSE=''
BUILD_DRM_XR_TRUE=''
BUILD_PRIVATE_GLEW_FALSE=''
BUILD_PRIVATE_GLEW_TRUE=''
BUILD_SPHINX_FALSE=''
BUILD_SPHINX_TRUE=''
BUILD_XCB_SHM_FALSE=''
BUILD_XCB_SHM_TRUE=''
BUILD_XLIB_XCB_FALSE=''
BUILD_XLIB_XCB_TRUE=''
CAIROBOILERPLATE_LIBS=''
CAIROPERF_LIBS=''
CAIRO_CAN_TEST_PDF_SURFACE_FALSE=''
CAIRO_CAN_TEST_PDF_SURFACE_TRUE=''
CAIRO_CAN_TEST_PS_SURFACE_FALSE=''
CAIRO_CAN_TEST_PS_SURFACE_TRUE=''
CAIRO_CAN_TEST_SVG_SURFACE_FALSE=''
CAIRO_CAN_TEST_SVG_SURFACE_TRUE=''
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE=''
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE=''
CAIRO_CFLAGS=''
CAIRO_HAS_BEOS_SURFACE_FALSE=''
CAIRO_HAS_BEOS_SURFACE_TRUE=''
CAIRO_HAS_DIRECTFB_SURFACE_FALSE=''
CAIRO_HAS_DIRECTFB_SURFACE_TRUE=''
CAIRO_HAS_DL_FALSE=''
CAIRO_HAS_DL_TRUE=''
CAIRO_HAS_DRM_SURFACE_FALSE=''
CAIRO_HAS_DRM_SURFACE_TRUE=''
CAIRO_HAS_DRM_XR_FUNCTIONS_FALSE=''
CAIRO_HAS_DRM_XR_FUNCTIONS_TRUE=''
CAIRO_HAS_EGL_FUNCTIONS_FALSE=''
CAIRO_HAS_EGL_FUNCTIONS_TRUE=''
CAIRO_HAS_FC_FONT_FALSE=''
CAIRO_HAS_FC_FONT_TRUE=''
CAIRO_HAS_FT_FONT_FALSE=''
CAIRO_HAS_FT_FONT_TRUE=''
CAIRO_HAS_GALLIUM_SURFACE_FALSE=''
CAIRO_HAS_GALLIUM_SURFACE_TRUE=''
CAIRO_HAS_GLX_FUNCTIONS_FALSE=''
CAIRO_HAS_GLX_FUNCTIONS_TRUE=''
CAIRO_HAS_GL_SURFACE_FALSE=''
CAIRO_HAS_GL_SURFACE_TRUE=''
CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE=''
CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE=''
CAIRO_HAS_INTERPRETER_FALSE=''
CAIRO_HAS_INTERPRETER_TRUE=''
CAIRO_HAS_LCOV_FALSE=''
CAIRO_HAS_LCOV_TRUE=''
CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE=''
CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE=''
CAIRO_HAS_OS2_SURFACE_FALSE=''
CAIRO_HAS_OS2_SURFACE_TRUE=''
CAIRO_HAS_PDF_SURFACE_FALSE=''
CAIRO_HAS_PDF_SURFACE_TRUE=''
CAIRO_HAS_PNG_FUNCTIONS_FALSE=''
CAIRO_HAS_PNG_FUNCTIONS_TRUE=''
CAIRO_HAS_PS_SURFACE_FALSE=''
CAIRO_HAS_PS_SURFACE_TRUE=''
CAIRO_HAS_PTHREAD_FALSE=''
CAIRO_HAS_PTHREAD_TRUE=''
CAIRO_HAS_QT_SURFACE_FALSE=''
CAIRO_HAS_QT_SURFACE_TRUE=''
CAIRO_HAS_QUARTZ_FONT_FALSE=''
CAIRO_HAS_QUARTZ_FONT_TRUE=''
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE=''
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE=''
CAIRO_HAS_QUARTZ_SURFACE_FALSE=''
CAIRO_HAS_QUARTZ_SURFACE_TRUE=''
CAIRO_HAS_SCRIPT_SURFACE_FALSE=''
CAIRO_HAS_SCRIPT_SURFACE_TRUE=''
CAIRO_HAS_SKIA_SURFACE_FALSE=''
CAIRO_HAS_SKIA_SURFACE_TRUE=''
CAIRO_HAS_SPECTRE_FALSE=''
CAIRO_HAS_SPECTRE_TRUE=''
CAIRO_HAS_SVG_SURFACE_FALSE=''
CAIRO_HAS_SVG_SURFACE_TRUE=''
CAIRO_HAS_SYMBOL_LOOKUP_FALSE=''
CAIRO_HAS_SYMBOL_LOOKUP_TRUE=''
CAIRO_HAS_TEE_SURFACE_FALSE=''
CAIRO_HAS_TEE_SURFACE_TRUE=''
CAIRO_HAS_TEST_SURFACES_FALSE=''
CAIRO_HAS_TEST_SURFACES_TRUE=''
CAIRO_HAS_TRACE_FALSE=''
CAIRO_HAS_TRACE_TRUE=''
CAIRO_HAS_VG_SURFACE_FALSE=''
CAIRO_HAS_VG_SURFACE_TRUE=''
CAIRO_HAS_WGL_FUNCTIONS_FALSE=''
CAIRO_HAS_WGL_FUNCTIONS_TRUE=''
CAIRO_HAS_WIN32_FONT_FALSE=''
CAIRO_HAS_WIN32_FONT_TRUE=''
CAIRO_HAS_WIN32_SURFACE_FALSE=''
CAIRO_HAS_WIN32_SURFACE_TRUE=''
CAIRO_HAS_XCB_DRM_FUNCTIONS_FALSE=''
CAIRO_HAS_XCB_DRM_FUNCTIONS_TRUE=''
CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE=''
CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE=''
CAIRO_HAS_XCB_SURFACE_FALSE=''
CAIRO_HAS_XCB_SURFACE_TRUE=''
CAIRO_HAS_XLIB_SURFACE_FALSE=''
CAIRO_HAS_XLIB_SURFACE_TRUE=''
CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE=''
CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE=''
CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE=''
CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE=''
CAIRO_HAS_XML_SURFACE_FALSE=''
CAIRO_HAS_XML_SURFACE_TRUE=''
CAIRO_LDFLAGS=''
CAIRO_LIBS=''
CAIRO_LIBTOOL_VERSION_INFO=''
CAIRO_NONPKGCONFIG_CFLAGS=''
CAIRO_NONPKGCONFIG_LIBS=''
CAIRO_RELEASE_STATUS=''
CAIRO_REQUIRES=''
CAIRO_TEST_MODE=''
CAIRO_TEST_UNDEFINED_LDFLAGS=''
CAIRO_VERSION_MAJOR=''
CAIRO_VERSION_MICRO=''
CAIRO_VERSION_MINOR=''
CAIRO_VERSION_SONUM=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe'
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe'
CYGPATH_W=''
DEFS=''
DEPDIR=''
DISABLE_SOME_FLOATING_POINT_FALSE=''
DISABLE_SOME_FLOATING_POINT_TRUE=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
EXEEXT=''
FGREP=''
FIND=''
FONTCONFIG_CFLAGS=''
FONTCONFIG_LIBS=''
FREETYPE_CFLAGS=''
FREETYPE_CONFIG=''
FREETYPE_LIBS=''
GOBJECT_CFLAGS=''
GOBJECT_LIBS=''
GREP=''
GS=''
GTKDOC_CHECK=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
HAVE_GTK_FALSE=''
HAVE_GTK_TRUE=''
HAVE_PTHREAD_FALSE=''
HAVE_PTHREAD_TRUE=''
HAVE_REAL_PTHREAD_FALSE=''
HAVE_REAL_PTHREAD_TRUE=''
HAVE_SHM_FALSE=''
HAVE_SHM_TRUE=''
HTML_DIR=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
LD=''
LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
LIBM=''
LIBOBJS=''
LIBRSVG_CFLAGS=''
LIBRSVG_LIBS=''
LIBS=''
LIBSPECTRE_CFLAGS=''
LIBSPECTRE_LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LTP=''
LTP_GENHTML=''
MAKEINFO=''
MKDIR_P=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OS_WIN32_FALSE=''
OS_WIN32_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=cairo'
PACKAGE_NAME='cairo'
PACKAGE_STRING='cairo 1.10.2'
PACKAGE_TARNAME='cairo'
PACKAGE_URL=''
PACKAGE_VERSION='1.10.2'
PATH_SEPARATOR=':'
PKGCONFIG_REQUIRES=''
PKG_CONFIG=''
POPPLER_CFLAGS=''
POPPLER_LIBS=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SHLIB_EXT=''
SHM_LIBS=''
SHTOOL=''
STRIP=''
VALGRIND_CFLAGS=''
VALGRIND_LIBS=''
VERSION=''
XARGS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
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=''
am__isrc=''
am__leading_dot=''
am__quote=''
am__tar=''
am__untar=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
directfb_CFLAGS=''
directfb_LIBS=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
drm_CFLAGS=''
drm_LIBS=''
drm_xr_CFLAGS=''
drm_xr_LIBS=''
dvidir='${docdir}'
egl_CFLAGS=''
egl_LIBS=''
exec_prefix='NONE'
gallium_DIR=''
gl_CFLAGS=''
gl_LIBS=''
glib_CFLAGS=''
glib_LIBS=''
gtk_CFLAGS=''
gtk_LIBS=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mesa_DIR=''
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
pixman_CFLAGS=''
pixman_LIBS=''
png_CFLAGS=''
png_LIBS=''
png_REQUIRES=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
pthread_CFLAGS=''
pthread_LIBS=''
qt_CFLAGS=''
qt_LIBS=''
real_pthread_CFLAGS=''
real_pthread_LIBS=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
shm_LIBS=''
skia_DIR=''
sysconfdir='/etc'
target_alias=''
xcb_CFLAGS=''
xcb_LIBS=''
xcb_drm_CFLAGS=''
xcb_drm_LIBS=''
xcb_shm_CFLAGS=''
xcb_shm_LIBS=''
xlib_CFLAGS=''
xlib_LIBS=''
xlib_xcb_CFLAGS=''
xlib_xcb_LIBS=''
xlib_xrender_CFLAGS=''
xlib_xrender_LIBS=''
## confdefs.h. ##
/* confdefs.h */
#define PACKAGE_NAME "cairo"
#define PACKAGE_TARNAME "cairo"
#define PACKAGE_VERSION "1.10.2"
#define PACKAGE_STRING "cairo 1.10.2"
#define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
#define PACKAGE_URL ""
configure: exit 77

Similar Messages

  • [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!

  • 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

  • Error: C compiler cannot create executables [SOLVED!!!]

    hi,
    i am trying to make an evolution package that includes support for a palm pilot. i got the PKGBUILD file from somebody else and copied it to a directory. In that directory I then executed
    makepkg
    and tried to compile it. It goes pretty smooth until it complains about the following thing:
    error: C compiler cannot create executables
    i dont really know how to solve that problem and any help would be appriciated.
    thanks

    Try the basics...
    Create a file with the following text:
    #include <stdio.h>
    int main() {
    printf("Hello world");
    return 0;
    Save the file has hello.c and compile it with
    gcc -Wall hello.c -o hello
    and see if you get any errors... you might be having issues with packages like glibc or gcc that would maybe need to be reinstalled
    Normally, if it claims that gcc can't create exec's, you should see an error before that warning that would tell you what the problem is

  • C++ compiler cannot create executables [solved]

    It turns out that colorwrapper interferes even when disabled for makepkg. Taking it out of my path fixes the issue.
    Original post:
    I have a build failing that is complaining the C++ compiler cannot create executables.
    This example of the occurance is with a pkgbuild I wrote myself. If needed, I can paste that in here. The package does build fine, however, on another machine.
    Here is config.log
    I noticed the line "g++: error trying to exec 'cc1plus': execvp: No such file or directory", but...
    ┌╼[ ~ ]
    └╼> locate cc1plus
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.0/cc1plus
    I should note, I do have [testing] enabled on this machine so that may be the cause of the breakage. If so, is there a workaround (theoretical or otherwise)?
    Last edited by Square (2010-08-02 07:10:04)

    Try the basics...
    Create a file with the following text:
    #include <stdio.h>
    int main() {
    printf("Hello world");
    return 0;
    Save the file has hello.c and compile it with
    gcc -Wall hello.c -o hello
    and see if you get any errors... you might be having issues with packages like glibc or gcc that would maybe need to be reinstalled
    Normally, if it claims that gcc can't create exec's, you should see an error before that warning that would tell you what the problem is

  • Build fail without errors

    I've been getting often enough strange compilation errors from the labview application status window, the weirdest being
    [10:30:36 AM] Status: Error
    linking...
    Program Size: Code=94136 RO-data=2936 RW-data=2664 ZI-data=14536 
    ".\Obj\LabVIEW.axf" - 0 Error(s), 0 Warning(s).
    Status: Build failed.
    The build failure without errors seems to be a red herring; it actually builds and links fine, but for some reason Labview takes offense to it and reports a build failure. If you rerun the build again it resumes where it had "failed" and the target is loaded and started... very strange behaviour, and it is not limited to the LM3S project, I get it with the MCB2378. Anybody knows why this would happen?
    Anyway just putting this out there for others who would encounter this problem.

    Hey Simon,
    When you reload the code and it compiles correctly does it operatre as expected? Here are some things that I believe we have gone over but should be useful for other members of the forums:
    Debugging in Keil uVision
    After c generating an embedded application, you should have the project loaded in the Keil uVision IDE. The following steps will help you debug the application.
    Click "Reset CPU"
    Click "Run"
    Click "Halt."
    You should be stopped in a loop in a function named OCDI_RDMWaitOnStart in OCDICheckPoint.c. The function waits for LabVIEW to be ready by checking the variable named OCDI_RDMStart. Since we are not using LabVIEW to run the application, we need to change this variable manually using the watch window.
    Add the variable OCDI_RDMStart to the watch window.
    Set any other breakpoints that you want in the project.
    Select View->Period Window Updates
    Click "Run"
    From the watch window, change the variable OCDI_RDMStart to 0x01. The application will exit the loop and run your VI.
    To run the application again:
    Click "Reset CPU"
    Click "Run"
    From the watch window, change the variable OCDI_RDMStart to 0x01.
    You can also add "one button dialog" nodes to your VI, and this will do a printf that you can see in the Keil IDE. Choose View->Serial Window->Real-Time Agent Terminal to see the window that receives the output.
    My guess is that the first time you run it the project is looking for a pointer or something and then the second time it know knows where it is and finishes without error.  
    Sam S
    Applications Engineer
    National Instruments

  • Flash builder 4.5.1 ios build fails with error map failed

    I have built several test app with flash builder 4.5 and now 4.5.1.  I am working on an app for ipad, but when I run a test build it runs for several minutes as if it is going to create the ipa, but then error out and displays the following error message:
    message title: Problem occured
    'Launching [name of configuration] has encountered a problem.
    Error occurred while packaging the application:
    Map failed
    that's it, no other reference.  I have searched for any reference to this problem and haven't been able to find one.  When I first packaged a much simpler version of the app, it created an ipa just fine.
    Can someone help me.
    Thanks

    When I was try to build a debug iOS version, I got this error, too.(release version is ok)
    For the project I was use Flex SDK 4.5.1 and AIR 3 SDK.
    blew is the log, I copyed from {flash builder workspace}/.metadata/.log
    !STACK 0
    java.lang.Exception
              at com.adobe.flexbuilder.project.internal.FlexProjectCore.createErrorStatus(FlexProjectCore. java:1010)
              at com.adobe.flexbuilder.util.logging.GlobalLogImpl.log(GlobalLogImpl.java:66)
              at com.adobe.flexbuilder.util.logging.GlobalLog.log(GlobalLog.java:52)
              at com.adobe.flexide.multiplatform.ios.packaging.IPAPackager.create(IPAPackager.java:220)
              at com.adobe.flexide.multiplatform.ios.launching.IOSOnDeviceLaunchHandler.doPackage(IOSOnDev iceLaunchHandler.java:283)
              at com.adobe.flexide.multiplatform.ios.launching.IOSOnDeviceLaunchHandler.launch(IOSOnDevice LaunchHandler.java:181)
              at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatfor mLaunchDelegate.java:180)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:238)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:132)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
              at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
              at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    !ENTRY com.adobe.flexbuilder.project 4 43 2011-11-22 22:10:54.816
    !MESSAGE Error occurred while packaging the application:
    Map failed
    even I try to change sdk with FLEX 4.5 and AIR 2.6, the error was still here.
    And I try to build debug project in Flash Pro. It was OK.
    So I think it was an flashbuilder bug.
    My project only 137Megabytes

  • Check for Preview Builds failing with error 0x080240438

    Checking for Preview Builds on my two machines, one running 9860 and one running 9879, is failing with "Failed to check for new preview build, please try again later.  0x80240438.
    Tried stopping Windows Update Service and clearing down the c:\Windows\SoftwareDistribution cache but to no avail. Windows Update (check for updates rather than check for preview builds) working fine.
    As ever would be nice to hear from MS on this.

    Hi,
    This seems to be the issue with the server side and should be fixed already.
    Check the fred andrews's reply in this thread:
    Error Code 0x80240438
    Quoted:
    fred andrews    replied on  November 16, 2014
    I was just on the phone with  Microsoft support they told me that the servers are down and they are working on it. I was told they should be up by tomorrow morning approx.. 4 hrs. 
    Best regards
    Michael Shao
    TechNet Community Support

  • Application builder fails. Error Code -12, 32

    Hello,
    I'm trying to build an EXE from a simple application, and I cannot get the builder to succeed. Here is the error that was generated:
    CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_BuildDevPart.vi >> NI_MDF.lvlib:MDFBuildDevPart_SetUpgradeInfo.vi
    {D62EBEE9-4FC5-4046-A64E-5EF093746AEB}
    Loading product deployment information
    Adding files to installer
    *** Error: Windows SDK function returned an error. (Error code -12)
    The process cannot access the file because it is being used by another process.
    *** Error Details:
    Error in MDF API function: _MDFBuildDevPart_SetUpgradeInfo
         Could not rename msi (source = C:\LV_Projects\builds\GC_Installer\GC_Installer_v1.2\temp\dp\devpart.msi; destination = C:\LV_Projects\builds\GC_Installer\GC_Installer_v1.2\temp\dp\install.msi)
    Windows function MoveFileEx returned an error. Error code: 32
    *** End Error Report
    *** Error: Windows SDK function returned an error. (Error code -12)
    *** Error Details:
    Error in MDF API function: _MDFBuildDevPart_Close
    Error in MDF::BuildDeveloperPart::Close.
    ERROR: Caught MSI Exception:
    <Unable to format error record.>
    MSI error code: 6
    *** End Error Report
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Any suggestions, or is there any further information I can provide? I am using Labview 2010.
    Thanks,
    -Andrew

    Thanks for the response. However, I looked through the article, and it does not seem to be applicable to this case because I am not attempting to include any of the listed drivers. For my program, I am only referencing standard Labview VIs and one DLL driver for the instrument I am working with. 
    I actually tried simplifying the problem by creating an exe build of a while loop with a button. When I tried to create an installer for this program, I got a very similar error.
    Ultimately, I found that I was able to build an installer if I performed some combination of building an exe of my program, running the exe, stopping it, keeping the program in memory, etc. I am not entirely sure what is happening, and it is very convoluted. It is not a reliable way for me to get an installer to build for my program.
    -Andrew

  • HTTP Error 500 Compiling JSP's [SOLVED]

    Basic Problem:  I am unable to compile jsp's and display them via Tomcat.  I am using the Netbeans IDE for web development and webapps that use html files/servlets run just fine.  It's when I try to run a jsp that I get an Error 500:
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available
           org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:391)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    root cause
    java.lang.IllegalStateException: No Java compiler available
           org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:228)
           org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:638)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.
    My config is as follows:
    kernel 3.2.4-1-ARCH
    Tomcat: 7.0.25
    jdk: 7-3
    $ java -showversion
    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
    Netbeans: 7.1
    I am running the Sun JRE/JDK.
    I emailed the Tomcat mailing list and was told the compiler should be in a file called ecj-3.7.1.jar.  I did a locate on that file and I found the following in /usr/share/java:
    lrwxrwxrwx   1 root root      21 Nov  7 20:41 ecj.jar -> eclipse-ecj-3.7.1.jar
    -rw-r--r--   1 root root 1183268 Nov  7 20:41 eclipse-ecj-3.7.1.jar
    lrwxrwxrwx   1 root root      21 Nov  7 20:41 eclipse-ecj.jar -> eclipse-ecj-3.7.1.jar
    According to the fellow who I think is the Tomcat maintainer, the eclipse-ecj-3.7.1.jar isn't distributed in standard Tomcat and so to ask whoever packaged mine, which I installed with pacman.
    Thanks.
    UPDATE:  I uninstalled tomcat7 via pacman and installed the stock Tomcat7 from apache.org.  Jsp's now compile.
    Last edited by JLucien (2012-02-14 20:58:59)

    i did not find an answer..

  • 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!

  • [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)

  • 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.

  • 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

  • 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.

Maybe you are looking for

  • Can I renew my iCloud Storage Plan from Prepaid Credit on account???

    Basically, I upgraded to the 50GB plan about a year ago and that was done by using my credit in account through purchased Apple Itunes Cards.  I received an email yesterday telling me that there is a payment coming up and there was a problem with pay

  • Download fail for Adobe product

    Hi , Recently I am facing a problem when I am going to download Adobe reader / flash player update from SCUP. I am attaching the error screenshot . Environment : 3 servers for CM2012,1SCUP, No SSL. Server: ABC,EDF,GHI ABC -CM 2012 Pri || EDF - WSUS(p

  • My speaker has stopped working and it appears this is happening everywhere, what is Apple doing about this?

    I have an iPhone5. The speaker has stopped working. I have reset my settings, rebooted several times. I am running 6.1.2. The support center told me to jailbreak my phone and delete com.apple.iapd.plist. The internet has a deamon that they are saying

  • 60fps .mts support in Adobe Media Encoder?

    I'm new to AME, but would like to take the 1080p 60fps .mts files imported through LightRoom from my Sony NEX 5N, and output them to an mp4 that I can import into FCPX later.  Right now, I only see presets for 24, 25, 30 fps (etc), but none for 59.xx

  • Configure SSL for Soap to poa

    Currently do not have SSL for soap enabled on my poas. Looking to turn it on and I cannot find any documentation or TIDs in reference to Webaccess. I know where to turn it on in the POA agent, but what do I need to do on the Webaccess server? Looked