[Mono-list] Problems building mono 0.6 under Cygwin

Nick Drochak ndrochak@gol.com
Thu, 6 Sep 2001 08:04:18 +0900


Mads,

Remove the libffi directory from your local copy and try again.  Something
in the build scripts try to build that even though it's not needed.

Miguel and Dietmar, et. al:  Can we get rid of this from the repository?
It's messing more people than just me.

Nick D.

> -----Original Message-----
> From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
> Behalf Of Mads Pultz
> Sent: Thursday, September 06, 2001 5:53 AM
> To: mono-list@ximian.com
> Subject: [Mono-list] Problems building mono 0.6 under Cygwin
>
>
> Hi!
>
> I'm trying to build Mono under Cygwin/Windows 2000 but the
> configure script
> fails (see the output below). libffi is apparently the problem. Any
> suggestion to what to do?
>
> Regards, Mads
>
> creating cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for a BSD compatible install... /usr/bin/install -c
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking host system type... i686-pc-cygwin
> checking build system type... i686-pc-cygwin
> checking for ranlib... ranlib
> checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
> checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> updating cache ./config.cache
> checking for object suffix... o
> checking for executable suffix... .exe
> checking for gcc option to produce PIC... none
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions ... yes
> checking if gcc static flag -static works... -static
> checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
> checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe)
> supports shared
> lib
> raries... yes
> checking command to parse /usr/bin/nm -B output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object
> files... -r
> checking dynamic linker characteristics... Win32 ld.exe
> checking if libtool supports shared libraries... yes
> checking if package supports dlls... no
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> loading cache ./config.cache
> checking for glib-config... /usr/local/bin/glib-config
> checking for GLIB - version >= 1.2.0... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating mono/Makefile
> creating mono/metadata/Makefile
> creating mono/dis/Makefile
> creating mono/cil/Makefile
> creating mono/interpreter/Makefile
> creating mono/tests/Makefile
> sed: can't read ./mono/tests/Makefile.in: No such file or directory
> creating mono/wrapper/Makefile
> creating runtime/Makefile
> creating doc/Makefile
> creating config.h
> configuring in libffi
> running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
> loading cache .././config.cache
> checking host system type... i686-pc-cygwin
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking for executable suffix... configure: error: installation or
> configuratio
> n problem: compiler cannot create executables.
> configure: error: ./configure failed for libffi
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>