Building Glib on CygWin



Hi,

i tried to build glib on cygwin using mingw32, but the configure-Script fails:

   checking for a BSD-compatible install... /usr/bin/install -c
   checking whether build environment is sane... yes
   checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
   checking for gawk... gawk
   checking whether make sets $(MAKE)... no
   checking whether to enable maintainer-specific portions of
   Makefiles... no
   checking build system type... i686-pc-cygwin
   checking host system type... i686-pc-cygwin
   checking for the BeOS... no
   checking for Win32... no
   checking for Mac OS X Carbon support... checking for style of
   include used by make... none
   checking for gcc... gcc
   checking for C compiler default output file name...
   configure: error: C compiler cannot create executables

config.log is appended.
Anyone got ideas?

With regards,

michi7x7
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by glib configure 2.23.1, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = Michi
uname -m = i686
uname -r = 1.7.1(0.218/5/3)
uname -s = CYGWIN_NT-6.1-WOW64
uname -v = 2009-12-07 11:48

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

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

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /cygdrive/c/Windows/system32
PATH: /cygdrive/c/Windows
PATH: /cygdrive/c/Windows/System32/Wbem
PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /cygdrive/c/Program Files (x86)/Common Files/GTK/2.0/bin
PATH: /usr/bin
PATH: /cygdrive/c/Program Files (x86)/ProENGINEER Schools Edition/bin
PATH: /cygdrive/c/strawberry/c/bin
PATH: /cygdrive/c/strawberry/perl/bin


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

configure:2310: checking for a BSD-compatible install
configure:2378: result: /usr/bin/install -c
configure:2389: checking whether build environment is sane
configure:2449: result: yes
configure:2590: checking for a thread-safe mkdir -p
configure:2629: result: /usr/bin/mkdir -p
configure:2642: checking for gawk
configure:2658: found /usr/bin/gawk
configure:2669: result: gawk
configure:2680: checking whether make sets $(MAKE)
configure:2706: result: no
configure:2849: checking whether to enable maintainer-specific portions of Makefiles
configure:2858: result: no
configure:2878: checking build system type
configure:2896: result: i686-pc-cygwin
configure:2918: checking host system type
configure:2933: result: i686-pc-cygwin
configure:2956: checking for the BeOS
configure:2966: result: no
configure:2970: checking for Win32
configure:3004: result: no
configure:3010: checking for Mac OS X Carbon support
configure:3024: checking for style of include used by make
configure:3052: result: none
configure:3122: checking for gcc
configure:3138: found /usr/bin/gcc
configure:3149: result: gcc
configure:3381: checking for C compiler version
configure:3389: gcc --version >&5
gcc.exe (GCC) 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 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:3393: $? = 0
configure:3400: gcc -v >&5
Reading specs from C:/Program Files (x86)/GnuWin32/bin/../lib/gcc/mingw32/3.4.5/specs
Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.5 (mingw-vista special r3)
configure:3404: $? = 0
configure:3411: gcc -V >&5
gcc.exe: `-V' option must have argument
configure:3415: $? = 1
configure:3438: checking for C compiler default output file name
configure:3460: gcc    conftest.c  >&5

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
configure:3464: $? = 3
configure:3502: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.23.1"
| #define PACKAGE_STRING "glib 2.23.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib";
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 23
| #define GLIB_MICRO_VERSION 1
| #define GLIB_INTERFACE_AGE 1
| #define GLIB_BINARY_AGE 2301
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3508: error: in `/cygdrive/d/Programmieren/GTK/gtkmm/_sources/glib-2.23.1':
configure:3511: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-cygwin
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PCRE_CFLAGS_set=
ac_cv_env_PCRE_CFLAGS_value=
ac_cv_env_PCRE_LIBS_set=
ac_cv_env_PCRE_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-cygwin
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=no

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

ABS_GLIB_RUNTIME_LIBDIR=''
ACLOCAL='${SHELL} /cygdrive/d/Programmieren/GTK/gtkmm/_sources/glib-2.23.1/missing --run aclocal-1.11'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /cygdrive/d/Programmieren/GTK/gtkmm/_sources/glib-2.23.1/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='1'
AR=''
AS=''
AUTOCONF='${SHELL} /cygdrive/d/Programmieren/GTK/gtkmm/_sources/glib-2.23.1/missing --run autoconf'
AUTOHEADER='${SHELL} /cygdrive/d/Programmieren/GTK/gtkmm/_sources/glib-2.23.1/missing --run autoheader'
AUTOMAKE='${SHELL} /cygdrive/d/Programmieren/GTK/gtkmm/_sources/glib-2.23.1/missing --run automake-1.11'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CONFIG_STATUS_DEPENDENCIES=''
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='cygpath -w'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DISABLE_MEM_POOLS=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
ENABLE_MAN_FALSE=''
ENABLE_MAN_TRUE=''
ENABLE_REGEX_FALSE=''
ENABLE_REGEX_TRUE=''
ENABLE_TIMELOOP_FALSE=''
ENABLE_TIMELOOP_TRUE=''
EXEEXT=''
FAM_LIBS=''
FGREP=''
GETTEXT_PACKAGE=''
GIO=''
GIO_MODULE_DIR=''
GLIBC21=''
GLIB_BINARY_AGE='2301'
GLIB_DEBUG_FLAGS=''
GLIB_EXTRA_CFLAGS=''
GLIB_GENMARSHAL=''
GLIB_INTERFACE_AGE='1'
GLIB_MAJOR_VERSION='2'
GLIB_MICRO_VERSION='1'
GLIB_MINOR_VERSION='23'
GLIB_RUNTIME_LIBDIR=''
GLIB_VERSION='2.23.1'
GLIB_WIN32_STATIC_COMPILATION_DEFINE=''
GMOFILES=''
GMSGFMT=''
GREP=''
GSPAWN=''
GTHREAD_COMPILE_IMPL_DEFINES=''
GTKDOC_CHECK=''
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=''
G_LIBS_EXTRA=''
G_MODULE_BROKEN_RTLD_GLOBAL=''
G_MODULE_HAVE_DLERROR=''
G_MODULE_IMPL=''
G_MODULE_LDFLAGS=''
G_MODULE_LIBS=''
G_MODULE_LIBS_EXTRA=''
G_MODULE_NEED_USCORE=''
G_MODULE_PLUGIN_LIBS=''
G_MODULE_SUPPORTED=''
G_THREAD_CFLAGS=''
G_THREAD_LIBS=''
G_THREAD_LIBS_EXTRA=''
G_THREAD_LIBS_FOR_GTHREAD=''
HAVE_CXX_FALSE=''
HAVE_CXX_TRUE=''
HAVE_FAM_FALSE=''
HAVE_FAM_TRUE=''
HAVE_FEN_FALSE=''
HAVE_FEN_TRUE=''
HAVE_GLIB_RUNTIME_LIBDIR_FALSE=''
HAVE_GLIB_RUNTIME_LIBDIR_TRUE=''
HAVE_GNUC_VISIBILITY_FALSE=''
HAVE_GNUC_VISIBILITY_TRUE=''
HAVE_GOOD_PRINTF_FALSE=''
HAVE_GOOD_PRINTF_TRUE=''
HAVE_INOTIFY_FALSE=''
HAVE_INOTIFY_TRUE=''
HAVE_SUNSTUDIO_VISIBILITY_FALSE=''
HAVE_SUNSTUDIO_VISIBILITY_TRUE=''
HTML_DIR=''
ICONV_LIBS=''
INDENT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LD=''
LDFLAGS=''
LIBASYNCNS_LIBADD=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_EXPORT_OPTIONS=''
LIB_EXE_MACHINE_FLAG='X86'
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_AGE='2300'
LT_CURRENT='2300'
LT_CURRENT_MINUS_AGE='0'
LT_RELEASE='2.23'
LT_REVISION='1'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /cygdrive/d/Programmieren/GTK/gtkmm/_sources/glib-2.23.1/missing --run makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MS_LIB_AVAILABLE_FALSE=''
MS_LIB_AVAILABLE_TRUE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OS_CARBON_FALSE=''
OS_CARBON_TRUE=''
OS_LINUX_FALSE=''
OS_LINUX_TRUE=''
OS_UNIX_FALSE=''
OS_UNIX_TRUE=''
OS_WIN32_AND_DLL_COMPILATION_FALSE=''
OS_WIN32_AND_DLL_COMPILATION_TRUE=''
OS_WIN32_FALSE=''
OS_WIN32_TRUE=''
OS_WIN32_X64_FALSE=''
OS_WIN32_X64_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='glib'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib'
PACKAGE_NAME='glib'
PACKAGE_STRING='glib 2.23.1'
PACKAGE_TARNAME='glib'
PACKAGE_VERSION='2.23.1'
PATH_SEPARATOR=':'
PCRE_CFLAGS=''
PCRE_LIBS=''
PCRE_REQUIRES=''
PCRE_WARN_CFLAGS=''
PERL=''
PERL_PATH=''
PKG_CONFIG=''
PLATFORMDEP=''
PLATFORM_WIN32_FALSE=''
PLATFORM_WIN32_TRUE=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PYTHON=''
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
RANLIB=''
REBUILD=''
SED=''
SELINUX_LIBS=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
USE_SYSTEM_PCRE_FALSE=''
USE_SYSTEM_PCRE_TRUE=''
VERSION='2.23.1'
WINDRES=''
XATTR_LIBS=''
XGETTEXT=''
XMLCATALOG=''
XML_CATALOG_FILE=''
XSLTPROC=''
ZLIB_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='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias=''
build_cpu='i686'
build_os='cygwin'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-cygwin'
host_alias=''
host_cpu='i686'
host_os='cygwin'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /cygdrive/d/Programmieren/GTK/gtkmm/_sources/glib-2.23.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/mkdir -p'
ms_librarian=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME "glib"
#define PACKAGE_TARNAME "glib"
#define PACKAGE_VERSION "2.23.1"
#define PACKAGE_STRING "glib 2.23.1"
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib";
#define GLIB_MAJOR_VERSION 2
#define GLIB_MINOR_VERSION 23
#define GLIB_MICRO_VERSION 1
#define GLIB_INTERFACE_AGE 1
#define GLIB_BINARY_AGE 2301

configure: exit 77


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]