[Mono-bugs] [Bug 41352][Wis] New - mono-build-w32.sh Fails
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 14 Apr 2003 23:17:20 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by mark.moore@notlimited.com.
http://bugzilla.ximian.com/show_bug.cgi?id=41352
--- shadow/41352 Mon Apr 14 23:17:20 2003
+++ shadow/41352.tmp.5940 Mon Apr 14 23:17:20 2003
@@ -0,0 +1,756 @@
+Bug#: 41352
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details: cygwin
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mark.moore@notlimited.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mono-build-w32.sh Fails
+
+Description of Problem:
+
+mono-build-w32.sh fails to complete.
+
+
+Steps to reproduce the problem:
+
+1. Create mono build dir (I used c:\proj\mono)
+2. Download mono-build-w32.sh (I put it in c:\proj\mono\mon\doc\mono-build-
+w32.sh)
+3. Start cygwin and cd to mono build folder
+4. Run ./mono/doc/mono-build-w32.sh
+5. Observer failure
+
+
+Actual Results:
+
+Failed to build mono.exe (or any .exe's for that matter).
+
+First error message: "/usr/bin/automake: line 219: 3296 Broken
+pipe ${AUTO_STABLE}/bin/automake --version"
+Last error message: "configure: error: Found libgc but not its header
+files! You may need to install them by hand."
+
+
+Expected Results:
+
+Build ./install/bin/mono.exe
+
+
+How often does this happen?
+
+Always.
+
+
+Additional Information:
+
+This is a full (and fresh) cygwin install, so the build script should work.
+
+
+Here's a log file I captured after adding -v to the first line of mono-
+build-w32.sh:
+===========================
+#!/bin/bash -v
+
+# Script to automate the building of mono and its dependencies on
+# cygwin. Relies on wget being installed (could make it fall back to
+# using lynx, links, w3, curl etc), assumes that gcc, make, tar,
+# automake, etc are already installed too (may be worth testing for
+# all that right at the top and bailing out if missing/too old/too new
+# etc).
+
+
+# See where we are. This will become the top level directory for the
+# installation, unless we are given an alternative location
+here=$1
+test -z "$here" && here=`pwd`
+pwd
+
+echo "Building Mono and dependencies in $here, installing to $here/install"
+Building Mono and dependencies in /cygdrive/c/proj/mono, installing
+to /cygdrive/c/proj/mono/install
+
+PATH=$here/install/bin:$here/install/lib:$PATH
+
+# Make sure cygwin's libiconv is installed, or libtool blows its tiny mind
+if [ ! -f /usr/lib/libiconv.la ]; then
+ echo "You need to install the cygwin \"libiconv\" package!"
+ exit -1
+fi
+
+# Check mono out first, so we can run aclocal from inside the mono dir (it
+# needs to see which version of the real aclocal to run)
+test -z "$CVSROOT" && CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono
+export CVSROOT
+
+echo "Updating mono"
+Updating mono
+
+# cvs checkout does the same as cvs update, except that it copes with
+# new modules being added
+
+# Older versions of cvs insist on a cvs login for :pserver: methods
+# Make sure cvs is using ssh for :ext: methods
+
+if [ ${CVSROOT:0:5} = ":ext:" ]; then
+ CVS_RSH=ssh
+ export CVS_RSH
+elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
+ if ! grep $CVSROOT ~/.cvspass > /dev/null 2>&1 ; then
+ echo "Logging into CVS server. Anonymous CVS password is probably
+empty"
+ cvs login || exit -1
+ fi
+fi
+
+cvs checkout mono || exit -1
+? mono/confdefs.h
+? mono/data/Makefile.in
+? mono/mono/arch/alpha/Makefile.in
+? mono/mono/arch/s390/Makefile.in
+cvs server: Updating mono
+cvs server: Updating mono/data
+cvs server: Updating mono/doc
+M mono/doc/mono-build-w32.sh
+cvs server: Updating mono/doc/release-notes
+cvs server: Updating mono/doc/web
+cvs server: Updating mono/doc/web/deploy
+cvs server: Updating mono/doc/web/deploy/cm
+cvs server: Updating mono/doc/web/deploy/images
+cvs server: Updating mono/doc/web/images
+cvs server: Updating mono/doc/web/src
+cvs server: Updating mono/doc/web/team
+cvs server: Updating mono/docs
+cvs server: Updating mono/libffi
+cvs server: Updating mono/libffi/alpha
+cvs server: Updating mono/libffi/arm
+cvs server: Updating mono/libffi/ia64
+cvs server: Updating mono/libffi/include
+cvs server: Updating mono/libffi/m68k
+cvs server: Updating mono/libffi/mips
+cvs server: Updating mono/libffi/powerpc
+cvs server: Updating mono/libffi/s390
+cvs server: Updating mono/libffi/sparc
+cvs server: Updating mono/libffi/testsuite
+cvs server: Updating mono/libffi/testsuite/config
+cvs server: Updating mono/libffi/testsuite/lib
+cvs server: Updating mono/libffi/testsuite/libffi.call
+cvs server: Updating mono/libffi/x86
+cvs server: Updating mono/man
+cvs server: Updating mono/mono
+cvs server: Updating mono/mono/arch
+cvs server: Updating mono/mono/arch/alpha
+cvs server: Updating mono/mono/arch/arm
+cvs server: Updating mono/mono/arch/ppc
+cvs server: Updating mono/mono/arch/s390
+cvs server: Updating mono/mono/arch/sparc
+cvs server: Updating mono/mono/arch/x86
+cvs server: Updating mono/mono/benchmark
+cvs server: Updating mono/mono/cil
+cvs server: Updating mono/mono/cli
+cvs server: Updating mono/mono/dis
+cvs server: Updating mono/mono/handles
+cvs server: Updating mono/mono/interpreter
+cvs server: Updating mono/mono/io-layer
+cvs server: Updating mono/mono/jit
+cvs server: Updating mono/mono/metadata
+cvs server: Updating mono/mono/mini
+cvs server: Updating mono/mono/monoburg
+cvs server: Updating mono/mono/monograph
+cvs server: Updating mono/mono/os
+cvs server: Updating mono/mono/os/unix
+cvs server: Updating mono/mono/os/win32
+cvs server: Updating mono/mono/tests
+cvs server: Updating mono/mono/utils
+cvs server: Updating mono/mono/wrapper
+cvs server: Updating mono/notes
+cvs server: Updating mono/runtime
+cvs server: Updating mono/samples
+cvs server: Updating mono/samples/embed
+cvs server: Updating mono/scripts
+cvs server: Updating mono/status
+cvs server: Updating mono/ximian
+
+echo "Checking automake version"
+Checking automake version
+automake_required="1.6.2"
+automake_version=`automake --version | head -1 | awk '{print $4}' | tr -
+d '[a-zA-Z]' | sed 's/-.*$//g'`
+automake --version | head -1 | awk '{print $4}' | tr -d '[a-zA-Z]' |
+sed 's/-.*$//g'
+/usr/bin/automake: line 219: 3296 Broken pipe
+${AUTO_STABLE}/bin/automake --version
+echo "Found automake version $automake_version"
+Found automake version 1.7.3
+if expr $automake_version \< $automake_required > /dev/null; then
+ echo "Your automake is too old! You need version
+$automake_required or newer."
+ exit -1
+else
+ echo "Automake version new enough."
+fi
+Automake version new enough.
+
+# Select the stable version anyway...
+if [ ! -z "${AUTO_STABLE}" -o -e /usr/autotool/stable ]; then
+ export AUTO_STABLE=${AUTO_STABLE:-/usr/autotool/stable}
+ export AUTO_DEVEL=${AUTO_STABLE}
+fi
+
+# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
+# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
+# glib we're about to install in $here/install.
+
+
+# --print-ac-dir was added in 1.2h according to the ChangeLog. This
+# should mean that any automake new enough for us has it.
+
+# This sets ACLOCAL_FLAGS to point to the freshly installed pkgconfig
+# if it doesnt already exist on the system (otherwise auto* breaks if
+# it finds two copies of the m4 macros). The GIMP for Windows
+# pkgconfig sets its prefix based on the location of its binary, so we
+# dont need PKG_CONFIG_PATH (the internal pkgconfig config file
+# $prefix is handled similarly). For the cygwin pkgconfig we do need to
+# set it, and we need to edit the mingw pc files too.
+
+function aclocal_scan () {
+ # Quietly ignore the rogue '-I' and other aclocal flags that
+ # aren't actually directories...
+ #
+ # cd into mono/ so that the aclocal wrapper can work out which version
+ # of aclocal to run, and add /usr/share/aclocal too cos aclocal looks
+there
+ # too.
+ for i in `(cd mono && aclocal --print-ac-dir)` /usr/share/aclocal
+$ACLOCAL_FLAGS
+ do
+ if [ -f $i/$1 ]; then
+ return 0
+ fi
+ done
+
+ return 1
+}
+
+function install_package() {
+ zipfile=$1
+ markerfile=$2
+ name=$3
+
+ echo "Installing $name..."
+ if [ ! -f $here/$zipfile ]; then
+ wget http://www.go-mono.com/archive/$zipfile
+ fi
+
+ # Assume that the package is installed correctly if the marker
+ # file is there
+ if [ ! -f $here/install/$markerfile ]; then
+ (cd $here/install || exit -1; unzip -o $here/$zipfile || exit -1)
+|| exit -1
+ fi
+}
+
+# pkgconfig is only used during the build, so we can use the cygwin version
+# if it exists
+if aclocal_scan pkg.m4 ; then
+ install_pkgconfig=no
+else
+ install_pkgconfig=yes
+fi
+(cd mono && aclocal --print-ac-dir)
+
+# But we still need to use the mingw libs for glib & co
+ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
+
+export PATH
+export ACLOCAL_FLAGS
+
+# Grab pkg-config, glib etc
+if [ ! -d $here/install ]; then
+ mkdir $here/install || exit -1
+fi
+
+# Fetch and install pkg-config, glib, iconv, intl
+
+if [ $install_pkgconfig = "yes" ]; then
+ install_package pkgconfig-0.11-20020310.zip bin/pkg-config.exe
+pkgconfig
+else
+ echo "Not installing pkgconfig, you already seem to have it installed"
+fi
+Not installing pkgconfig, you already seem to have it installed
+install_package glib-2.0.4-20020703.zip lib/libglib-2.0-0.dll glib
+Installing glib...
+--17:07:59-- http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
+ => `glib-2.0.4-20020703.zip'
+Resolving www.go-mono.com... done.
+Connecting to www.go-mono.com[65.214.56.75]:80... connected.
+HTTP request sent, awaiting response... 200 OK
+Length: 454,978 [application/zip]
+
+ 0K .......... .......... .......... .......... .......... 11% 74.85
+KB/s
+ 50K .......... .......... .......... .......... .......... 22% 145.77
+KB/s
+ 100K .......... .......... .......... .......... .......... 33% 147.49
+KB/s
+ 150K .......... .......... .......... .......... .......... 45% 142.86
+KB/s
+ 200K .......... .......... .......... .......... .......... 56% 139.28
+KB/s
+ 250K .......... .......... .......... .......... .......... 67% 156.25
+KB/s
+ 300K .......... .......... .......... .......... .......... 78% 147.06
+KB/s
+ 350K .......... .......... .......... .......... .......... 90% 143.27
+KB/s
+ 400K .......... .......... .......... .......... .... 100% 153.87
+KB/s
+
+17:08:03 (132.39 KB/s) - `glib-2.0.4-20020703.zip' saved [454978/454978]
+
+Archive: /cygdrive/c/proj/mono/glib-2.0.4-20020703.zip
+ inflating: COPYING.LIB-2
+ inflating: bin/gspawn-win32-helper.exe
+ inflating: lib/libglib-2.0-0.dll
+ inflating: lib/libgmodule-2.0-0.dll
+ inflating: lib/libgobject-2.0-0.dll
+ inflating: lib/libgthread-2.0-0.dll
+ inflating: lib/locale/ar/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/az/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/bg/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/ca/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/cs/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/de/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/el/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/es/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/eu/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/fr/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/gl/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/ja/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/ko/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/ms/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/nl/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/nn/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/no/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/pl/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/pt/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/ro/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/ru/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/sk/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/sl/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/sv/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/ta/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/tr/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/uk/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/vi/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/zh_CN/LC_MESSAGES/glib20.mo
+ inflating: lib/locale/zh_TW/LC_MESSAGES/glib20.mo
+install_package glib-dev-2.0.4-20020703.zip lib/glib-2.0.lib glib-dev
+Installing glib-dev...
+--17:08:03-- http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
+ => `glib-dev-2.0.4-20020703.zip'
+Resolving www.go-mono.com... done.
+Connecting to www.go-mono.com[65.214.56.75]:80... connected.
+HTTP request sent, awaiting response... 200 OK
+Length: 241,703 [application/zip]
+
+ 0K .......... .......... .......... .......... .......... 21% 71.63
+KB/s
+ 50K .......... .......... .......... .......... .......... 42% 144.93
+KB/s
+ 100K .......... .......... .......... .......... .......... 63% 79.74
+KB/s
+ 150K .......... .......... .......... .......... .......... 84% 107.53
+KB/s
+ 200K .......... .......... .......... ...... 100% 132.98
+KB/s
+
+17:08:07 (98.10 KB/s) - `glib-dev-2.0.4-20020703.zip' saved [241703/241703]
+
+Archive: /cygdrive/c/proj/mono/glib-dev-2.0.4-20020703.zip
+ inflating: bin/glib-genmarshal.exe
+ inflating: bin/glib-gettextize
+ inflating: bin/glib-mkenums
+ inflating: bin/gobject-query.exe
+ creating: include/glib-2.0/
+ creating: include/glib-2.0/gobject/
+ inflating: include/glib-2.0/gobject/gboxed.h
+ inflating: include/glib-2.0/gobject/gclosure.h
+ inflating: include/glib-2.0/gobject/genums.h
+ inflating: include/glib-2.0/gobject/gobject.h
+ inflating: include/glib-2.0/gobject/gparam.h
+ inflating: include/glib-2.0/gobject/gparamspecs.h
+ inflating: include/glib-2.0/gobject/gsignal.h
+ inflating: include/glib-2.0/gobject/gsourceclosure.h
+ inflating: include/glib-2.0/gobject/gtype.h
+ inflating: include/glib-2.0/gobject/gtypemodule.h
+ inflating: include/glib-2.0/gobject/gtypeplugin.h
+ inflating: include/glib-2.0/gobject/gvalue.h
+ inflating: include/glib-2.0/gobject/gvaluearray.h
+ inflating: include/glib-2.0/gobject/gvaluecollector.h
+ inflating: include/glib-2.0/gobject/gvaluetypes.h
+ inflating: include/glib-2.0/gobject/gobjectnotifyqueue.c
+ inflating: include/glib-2.0/gobject/gmarshal.h
+ creating: include/glib-2.0/glib/
+ inflating: include/glib-2.0/glib/gmem.h
+ inflating: include/glib-2.0/glib/gmessages.h
+ inflating: include/glib-2.0/glib/gnode.h
+ inflating: include/glib-2.0/glib/gpattern.h
+ inflating: include/glib-2.0/glib/gprimes.h
+ inflating: include/glib-2.0/glib/gqsort.h
+ inflating: include/glib-2.0/glib/gquark.h
+ inflating: include/glib-2.0/glib/gqueue.h
+ inflating: include/glib-2.0/glib/grand.h
+ inflating: include/glib-2.0/glib/grel.h
+ inflating: include/glib-2.0/glib/gscanner.h
+ inflating: include/glib-2.0/glib/gshell.h
+ inflating: include/glib-2.0/glib/gslist.h
+ inflating: include/glib-2.0/glib/gspawn.h
+ inflating: include/glib-2.0/glib/gstrfuncs.h
+ inflating: include/glib-2.0/glib/gstring.h
+ inflating: include/glib-2.0/glib/gthread.h
+ inflating: include/glib-2.0/glib/gthreadpool.h
+ inflating: include/glib-2.0/glib/gtimer.h
+ inflating: include/glib-2.0/glib/gtree.h
+ inflating: include/glib-2.0/glib/gtypes.h
+ inflating: include/glib-2.0/glib/gunicode.h
+ inflating: include/glib-2.0/glib/gutils.h
+ inflating: include/glib-2.0/glib/gwin32.h
+ inflating: include/glib-2.0/glib/galloca.h
+ inflating: include/glib-2.0/glib/garray.h
+ inflating: include/glib-2.0/glib/gasyncqueue.h
+ inflating: include/glib-2.0/glib/gbacktrace.h
+ inflating: include/glib-2.0/glib/gcache.h
+ inflating: include/glib-2.0/glib/gcompletion.h
+ inflating: include/glib-2.0/glib/gconvert.h
+ inflating: include/glib-2.0/glib/gdataset.h
+ inflating: include/glib-2.0/glib/gdate.h
+ inflating: include/glib-2.0/glib/gdir.h
+ inflating: include/glib-2.0/glib/gerror.h
+ inflating: include/glib-2.0/glib/gfileutils.h
+ inflating: include/glib-2.0/glib/ghash.h
+ inflating: include/glib-2.0/glib/ghook.h
+ inflating: include/glib-2.0/glib/giochannel.h
+ inflating: include/glib-2.0/glib/glist.h
+ inflating: include/glib-2.0/glib/gmacros.h
+ inflating: include/glib-2.0/glib/gmain.h
+ inflating: include/glib-2.0/glib/gmarkup.h
+ inflating: include/glib-2.0/glib-object.h
+ inflating: include/glib-2.0/glib.h
+ inflating: include/glib-2.0/gmodule.h
+ inflating: lib/libglib-2.0.dll.a
+ inflating: lib/glib-2.0.lib
+ inflating: lib/libgmodule-2.0.dll.a
+ inflating: lib/gmodule-2.0.lib
+ inflating: lib/libgobject-2.0.dll.a
+ inflating: lib/gobject-2.0.lib
+ inflating: lib/libgthread-2.0.dll.a
+ inflating: lib/gthread-2.0.lib
+ creating: lib/glib-2.0/
+ creating: lib/glib-2.0/include/
+ inflating: lib/glib-2.0/include/glibconfig.h
+ inflating: lib/pkgconfig/glib-2.0.pc
+ inflating: lib/pkgconfig/gmodule-2.0.pc
+ inflating: lib/pkgconfig/gobject-2.0.pc
+ inflating: lib/pkgconfig/gthread-2.0.pc
+ inflating: share/aclocal/glib-2.0.m4
+ inflating: share/aclocal/glib-gettext.m4
+ creating: share/glib-2.0/
+ creating: share/glib-2.0/gettext/
+ creating: share/glib-2.0/gettext/po/
+ inflating: share/glib-2.0/gettext/po/po2tbl.sed.in
+ inflating: share/glib-2.0/gettext/po/Makefile.in.in
+ inflating: man/man1/glib-mkenums.1
+ inflating: man/man1/glib-genmarshal.1
+install_package libiconv-1.7.zip lib/iconv.dll iconv
+Installing iconv...
+--17:08:08-- http://www.go-mono.com/archive/libiconv-1.7.zip
+ => `libiconv-1.7.zip'
+Resolving www.go-mono.com... done.
+Connecting to www.go-mono.com[65.214.56.75]:80... connected.
+HTTP request sent, awaiting response... 200 OK
+Length: 631,251 [application/zip]
+
+ 0K .......... .......... .......... .......... .......... 8% 71.12
+KB/s
+ 50K .......... .......... .......... .......... .......... 16% 152.44
+KB/s
+ 100K .......... .......... .......... .......... .......... 24% 147.93
+KB/s
+ 150K .......... .......... .......... .......... .......... 32% 143.27
+KB/s
+ 200K .......... .......... .......... .......... .......... 40% 139.28
+KB/s
+ 250K .......... .......... .......... .......... .......... 48% 156.74
+KB/s
+ 300K .......... .......... .......... .......... .......... 56% 146.63
+KB/s
+ 350K .......... .......... .......... .......... .......... 64% 142.86
+KB/s
+ 400K .......... .......... .......... .......... .......... 72% 141.64
+KB/s
+ 450K .......... .......... .......... .......... .......... 81% 151.98
+KB/s
+ 500K .......... .......... .......... .......... .......... 89% 143.68
+KB/s
+ 550K .......... .......... .......... .......... .......... 97% 147.49
+KB/s
+ 600K .......... ...... 100% 175.06
+KB/s
+
+17:08:12 (135.48 KB/s) - `libiconv-1.7.zip' saved [631251/631251]
+
+Archive: /cygdrive/c/proj/mono/libiconv-1.7.zip
+ inflating: bin/iconv.exe
+ inflating: lib/iconv.dll
+install_package libintl-0.10.40-20020101.zip lib/libintl-1.dll intl
+Installing intl...
+--17:08:13-- http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
+ => `libintl-0.10.40-20020101.zip'
+Resolving www.go-mono.com... done.
+Connecting to www.go-mono.com[65.214.56.75]:80... connected.
+HTTP request sent, awaiting response... 200 OK
+Length: 144,513 [application/zip]
+
+ 0K .......... .......... .......... .......... .......... 35% 71.84
+KB/s
+ 50K .......... .......... .......... .......... .......... 70% 147.49
+KB/s
+ 100K .......... .......... .......... .......... . 100% 149.55
+KB/s
+
+17:08:15 (107.73 KB/s) - `libintl-0.10.40-20020101.zip' saved
+[144513/144513]
+
+Archive: /cygdrive/c/proj/mono/libintl-0.10.40-20020101.zip
+ inflating: COPYING.LIB-2
+ inflating: include/libintl.h
+ inflating: lib/libintl-1.dll
+ inflating: lib/libintl.dll.a
+ inflating: lib/intl.lib
+ inflating: lib/pkgconfig/libintl.pc
+ inflating: man/man3/bind_textdomain_codeset.3
+ inflating: man/man3/bindtextdomain.3
+ extracting: man/man3/dcgettext.3
+ extracting: man/man3/dcngettext.3
+ extracting: man/man3/dgettext.3
+ extracting: man/man3/dngettext.3
+ inflating: man/man3/gettext.3
+ inflating: man/man3/ngettext.3
+ creating: doc/gettext/
+ inflating: doc/gettext/gettext.3.html
+ inflating: doc/gettext/ngettext.3.html
+ inflating: doc/gettext/textdomain.3.html
+ inflating: doc/gettext/bindtextdomain.3.html
+ inflating: doc/gettext/bind_textdomain_codeset.3.html
+ inflating: doc/gettext/gettext_1.html
+ inflating: doc/gettext/gettext_10.html
+ inflating: doc/gettext/gettext_11.html
+ inflating: doc/gettext/gettext_12.html
+ inflating: doc/gettext/gettext_13.html
+ inflating: doc/gettext/gettext_14.html
+ inflating: doc/gettext/gettext_2.html
+ inflating: doc/gettext/gettext_3.html
+ inflating: doc/gettext/gettext_4.html
+ inflating: doc/gettext/gettext_5.html
+ inflating: doc/gettext/gettext_6.html
+ inflating: doc/gettext/gettext_7.html
+ inflating: doc/gettext/gettext_8.html
+ inflating: doc/gettext/gettext_9.html
+ inflating: doc/gettext/gettext_foot.html
+ inflating: doc/gettext/gettext_toc.html
+install_package libgc-dev.zip lib/gc.dll gc-dev
+Installing gc-dev...
+--17:08:16-- http://www.go-mono.com/archive/libgc-dev.zip
+ => `libgc-dev.zip'
+Resolving www.go-mono.com... done.
+Connecting to www.go-mono.com[65.214.56.75]:80... connected.
+HTTP request sent, awaiting response... 200 OK
+Length: 131,299 [application/zip]
+
+ 0K .......... .......... .......... .......... .......... 38% 72.36
+KB/s
+ 50K .......... .......... .......... .......... .......... 77% 147.49
+KB/s
+ 100K .......... .......... ........ 100% 149.32
+KB/s
+
+17:08:17 (105.19 KB/s) - `libgc-dev.zip' saved [131299/131299]
+
+Archive: /cygdrive/c/proj/mono/libgc-dev.zip
+ creating: include/gc/
+ inflating: include/gc/cord.h
+ creating: include/gc/CVS/
+ inflating: include/gc/CVS/Entries
+ extracting: include/gc/CVS/Entries.Log
+ extracting: include/gc/CVS/Repository
+ extracting: include/gc/CVS/Root
+ inflating: include/gc/ec.h
+ inflating: include/gc/gc.h
+ inflating: include/gc/gc_alloc.h
+ inflating: include/gc/gc_amiga_redirects.h
+ inflating: include/gc/gc_backptr.h
+ inflating: include/gc/gc_cpp.h
+ inflating: include/gc/gc_gcj.h
+ inflating: include/gc/gc_inl.h
+ extracting: include/gc/gc_inline.h
+ inflating: include/gc/gc_local_alloc.h
+ inflating: include/gc/gc_mark.h
+ inflating: include/gc/gc_pthread_redirects.h
+ inflating: include/gc/gc_typed.h
+ inflating: include/gc/javaxfc.h
+ inflating: include/gc/leak_detector.h
+ inflating: include/gc/new_gc_alloc.h
+ creating: include/gc/private/
+ inflating: include/gc/private/cord_pos.h
+ creating: include/gc/private/CVS/
+ inflating: include/gc/private/CVS/Entries
+ extracting: include/gc/private/CVS/Repository
+ extracting: include/gc/private/CVS/Root
+ inflating: include/gc/private/dbg_mlc.h
+ inflating: include/gc/private/gcconfig.h
+ inflating: include/gc/private/gc_hdrs.h
+ inflating: include/gc/private/gc_locks.h
+ inflating: include/gc/private/gc_pmark.h
+ inflating: include/gc/private/gc_priv.h
+ inflating: include/gc/private/solaris_threads.h
+ inflating: include/gc/private/specific.h
+ inflating: include/gc/weakpointer.h
+ inflating: lib/gc.dll
+
+if [ $install_pkgconfig = "no" ]; then
+ echo "Fixing up the pkgconfig paths"
+ for i in $here/install/lib/pkgconfig/*.pc
+ do
+ mv $i $i.orig
+ sed -e "s@^prefix=/target\$@prefix=$here/install@" < $i.orig > $i
+ done
+ export PKG_CONFIG_PATH=$here/install/lib/pkgconfig
+fi
+Fixing up the pkgconfig paths
+
+# Needed to find the libgc bits
+CPPFLAGS="$CPPFLAGS -I$here/install/include"
+LDFLAGS="$LDFLAGS -L$here/install/lib"
+export CPPFLAGS
+export LDFLAGS
+
+# Make sure we build native w32, not cygwin
+#CC="gcc -mno-cygwin"
+#export CC
+
+# --prefix is used to set the class library dir in mono, and it needs
+# to be in windows-native form. It also needs to have '\' turned into
+# '/' to avoid quoting issues during the build.
+prefix=`cygpath -w $here/install | sed -e 's@\\\\@/@g'`
+cygpath -w $here/install | sed -e 's@\\@/@g'
+
+# Build and install mono
+echo "Building and installing mono"
+Building and installing mono
+
+(cd $here/mono; ./autogen.sh --prefix=$prefix || exit -1; make || exit -1;
+make install || exit -1) || exit -1
+Running libtoolize...
+Running aclocal -I /cygdrive/c/proj/mono/install/share/aclocal ...
+Running autoheader...
+Running automake --gnu ...
+Running autoconf ...
+Running ./configure --enable-maintainer-mode --enable-compile-warnings --
+prefix=c:/proj/mono/install ...
+loading cache ./config.cache
+checking host system type... i686-pc-cygwin
+checking target system type... i686-pc-cygwin
+checking build system type... i686-pc-cygwin
+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... yes
+checking host platform characteristics... ok
+checking for gcc... gcc -mno-cygwin
+checking for gcc... (cached) gcc -mno-cygwin
+checking whether the C compiler (gcc -mno-cygwin -
+L/cygdrive/c/proj/mono/install/lib) works... yes
+checking whether the C compiler (gcc -mno-cygwin -
+L/cygdrive/c/proj/mono/install/lib) is a cross-compiler... no
+checking whether we are using GNU C... yes
+checking whether gcc -mno-cygwin accepts -g... yes
+checking for gcc -mno-cygwin option to accept ANSI C... none needed
+checking for a BSD compatible install... /usr/bin/install -c
+checking for bison... yes
+checking how to run the C preprocessor... gcc -mno-cygwin -E
+checking for ANSI C header files... yes
+checking for Cygwin environment... no
+checking for mingw32 environment... yes
+checking for ld used by GCC... /usr/i686-pc-mingw32/bin/ld.exe
+checking if the linker (/usr/i686-pc-mingw32/bin/ld.exe) is GNU ld... yes
+checking for /usr/i686-pc-mingw32/bin/ld.exe option to reload object
+files... -r
+checking for BSD-compatible nm... /usr/bin/nm -B
+checking for a sed that does not truncate output... /usr/bin/sed
+checking whether ln -s works... yes
+checking how to recognise dependent libraries... file_magic file format
+pei*-i386(.*architecture: i386)?
+checking for object suffix... o
+checking for executable suffix... .exe
+checking command to parse /usr/bin/nm -B output... ok
+checking for dlfcn.h... no
+checking for ranlib... ranlib
+checking for strip... strip
+checking for dlltool... dlltool
+checking for as... as
+checking for objdump... objdump
+checking if libtool should supply DllMain function... no
+checking how to link DLLs... -mdll
+checking for objdir... .libs
+checking for gcc option to produce PIC... -DDLL_EXPORT
+checking if gcc PIC flag -DDLL_EXPORT works... yes
+checking if gcc static flag -static works... yes
+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 whether the linker (/usr/i686-pc-mingw32/bin/ld.exe) supports
+shared libraries... yes
+checking how to hardcode library paths into programs... immediate
+checking whether stripping libraries is possible... yes
+checking dynamic linker characteristics... Win32 ld.exe
+checking if libtool supports shared libraries... yes
+checking whether to build shared libraries... yes
+checking whether to build static libraries... yes
+creating libtool
+checking for sys/filio.h... no
+checking for sys/sockio.h... no
+checking for netdb.h... no
+checking for utime.h... no
+checking for semaphore.h... no
+checking for sys/un.h... no
+checking for elf.h... no
+checking for wchar.h... yes
+checking size of void *... 4
+checking for pkg-config... /usr/bin/pkg-config
+checking for glib-2.0 >= 1.3.11... yes
+checking BASE_DEPENDENCIES_CFLAGS... -
+I/cygdrive/c/proj/mono/install/include/glib-2.0 -
+I/cygdrive/c/proj/mono/install/lib/glib-2.0/include
+checking BASE_DEPENDENCIES_LIBS... -L/cygdrive/c/proj/mono/install/lib -
+lglib-2.0 -lintl -liconv
+checking for gc.h... no
+checking for gc/gc.h... no
+checking for GC_malloc in -lgc... yes
+configure: error: Found libgc but not its header files! You may need to
+install them by hand.