Bug 312787 (MONO48049) - Build fails with mono-build-w32.sh
Summary: Build fails with mono-build-w32.sh
Status: RESOLVED FIXED
Alias: MONO48049
Product: Mono Tasks
Classification: Mono
Component: Runtime (show other bugs)
Version: 0%
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Paolo Molaro
QA Contact: Miguel de Icaza
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2003-08-30 01:41 UTC by David Merrill
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:15:05 UTC


---- Reported by 2ligkjk02@sneakemail.com 2003-08-29 18:41:26 MST ----

Description of Problem 1:

On line 66 of mono-build-w32.sh there is a line
    export AUTO_DEVEL=${AUTO_STABLE}
which is causing an error later on because the cygwin stable autoconfig 
is 2.13 but the libgc/configure file has AC_PREREQ(2.53).
When I comment out line 66 it gets through everything but displays the 
following:

Running autoheader...
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
Running automake --gnu  ...


Description of Problem 2:

mono-build-w32.sh does not update or build mcs.
If this script is used with an empty folder then mono wont install due to 
missing libraries.

Steps to reproduce the problem:
1. Install all of cygwin
2. Get http://www.go-mono.org/mono-build-w32.sh
3. execute mono-build-w32.sh

Actual Results:

...
Running autoconf ...
FATAL ERROR: Autoconf version 2.53 or higher is required for this script
**Error**: autoconf failed.
Done running libgc/autogen.sh ...
...

How often does this happen? 
Every time



---- Additional Comments From fgenolini@hotmail.com 2003-11-06 12:37:46 MST ----

see https://bugzilla.novell.com/show_bug.cgi?id=MONO48049 for a solution:
force autoconf to use the devel version by linking the stable 
directory to devel (XXX HACK)



---- Additional Comments From fgenolini@hotmail.com 2003-11-06 12:41:06 MST ----

sorry, I meant https://bugzilla.novell.com/show_bug.cgi?id=MONO50654 (seems to build OK so far, although there 
are a few warnings along the way)



---- Additional Comments From fgenolini@hotmail.com 2003-11-06 13:46:42 MST ----

However, this still breaks later on because of https://bugzilla.novell.com/show_bug.cgi?id=MONO50657



---- Additional Comments From gonzalo@ximian.com 2005-04-23 09:38:49 MST ----

This is no longer applicable.


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>latest cygwin on XP</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".